181 Posted Topics

Member Avatar for pinsickle

You might wanna post your solution for others that stumbles upon this thread next week, maybe next month maybe in a few years! :) At least i hate googling and then being cheered up by finding a post exactly regarding my problem, and the solution is: "I found the solution".

Member Avatar for pinsickle
0
118
Member Avatar for God Coder123

Hi, I find CodeBlocks a bit too unstable and generally lacking a lot. Have you tried NetBeans? It is an IDE that supports several programming languages - All I do is basically programming, and I've tried many IDE's - I really like NetBeans as the best IDE. It both available …

Member Avatar for God Coder123
0
387
Member Avatar for thriek
Member Avatar for Excizted

Hello :) I've got this resource (as in files on the pc) management system, that had been tested but now seems to be malfunctioning. I've been debugging for way too long now, and I can't figure out the issue. I'm going to post some of my code first, and then …

Member Avatar for Excizted
0
719
Member Avatar for sana zafar

Well, you can use the string functions to find each number.. example with comma-separated numbers, spaces not allowed: [CODE] std::vector<int> v; std::string numbers; // this is the string with your numbers std::string::size_type pos = 0;// current position while(pos != std::string::npos) // as long as current position is valid { std::string::size_type …

Member Avatar for Excizted
0
151
Member Avatar for c++programmer

Uhm lol. You need the PS3 SDK (aka PS3 [B]S[/B]oftware [B]D[/B]evelopment [B]K[/B]it). I'm afraid it costs money. If Sony aren't tards you probably can download a demo version or maybe a personal version. Then you of course need to gain programming experience. And finally you'll spend 1 year designing the …

Member Avatar for notoriousdyd
0
98
Member Avatar for Fenlevi

Hello. First of all: Use code tags. Great now that's settled I'm not completely able to understand your problem. Anyway, to list all the elements in a vector, look at this: [CODE]typedef std::vector<int> integerVector; // a standard typedef of our vector type integerVector mNumbers; // here we actually make an …

Member Avatar for MyrtleTurtle
0
144
Member Avatar for Excizted

Hello, I've been using Dvorak on my Linux machine for a long time, and I've finally convinced my sister to do the switch as well. Using Microsoft Keyboard Layout Creator (MSKLC) I easily managed to install Dvorak layout, but shortcuts like Ctrl+C doesn't move, it's the same spot, so after …

Member Avatar for caperjack
0
228
Member Avatar for monjed

Nice outline of what you want your program to do; copied from your school assignment? Don't you think it is a good idea to tell us what you've tried, what you suppose could be wrong and other information like that? Not to talk about those subjects of common sense actually …

Member Avatar for monjed
0
116
Member Avatar for Excizted

Hi. I'm just trying out Ruby on Rails, and I'm trying to create some application that takes a hostname from the user and then checks if it is connectible through Net::SSH and if it is, it should check if a file is present. Quite simple, and I also almost reached …

Member Avatar for Excizted
0
186
Member Avatar for bandit711

Hello and welcome to Daniweb. Usually all the friendly people here would give a prompte response. You haven't had any yet. I'm not gonna go into your code right now, but instead take a look at your posting problem. First of all, you want to get rid of your last …

Member Avatar for bandit711
0
293
Member Avatar for baseballfury

Wanted to help you there, but your code is not very nice to read. Edit your post and put the code in code tags, you have to remember that! :)

Member Avatar for baseballfury
0
536
Member Avatar for slicer

Maybe if you included a bit more code? It seems complicated what you're trying to do, at least I didn't really understand what your goal is from your post. Take a look at this example and let me know if it's any help. [code]int* array1 = new int[100]; // pointer …

Member Avatar for Excizted
0
117
Member Avatar for Excizted

Hi. I have multi-language functionality on my page, and the settings are saved in a cookie, so that the user may change something different than his browser language. But this is whats happening: [U]/home.php?setlanguague=en[/U] The page shows it's text in English, and prints my user info aswell as the content …

Member Avatar for Excizted
0
107
Member Avatar for SEOSandy

Ehh, I'm pretty sure you can't translate a wildcard in this case, so that *.peoplelist.com transfers whatever the wildcard represents to peoplelist.com/users/* So you have to make some automated zone editor for making A records in your DNS server, and then do the Apache configuration.

Member Avatar for Excizted
0
66
Member Avatar for Excizted

Hi people. I'd like to use MySQL in my application - would be an easy way for me to store users. But then I'd have MySQL credentials in my app, visible for everyone with a HEX editor, I'd suppose? And even though that MySQL user will have low privileges, then …

Member Avatar for Excizted
0
163
Member Avatar for Excizted

Hello. I'm in possesion of this laptop with an old Pentium Dual-Core T2080, of socket type PPGA478 (says Intel web). I wanted to upgrade it, and found a lot of processors called PGA478. So now comes the billion dollar question: Is there any difference? Can I use the PGA processor …

Member Avatar for caperjack
0
2K
Member Avatar for kiLLeR-eyEd_14

Hey, please download my 100 dollars and upload it when you have made it a billion dollars. You see whats wrong? This is a forum. We help each other. We don't work for each other.

Member Avatar for rahul8590
-6
778
Member Avatar for WoW Me Web Girl
Member Avatar for liamfriel
0
71
Member Avatar for aianne

The problem is obvious :) Let me show you some examples here: [CODE]if(false) std::cout << "We can't get here"; // This is the first action after the if, so this is what will be executed if the condition is met std::cout << "We will get here, because I'm not a …

Member Avatar for WaltP
0
972
Member Avatar for Excizted

Hello. :D I've been working on a project for couple months now, on Linux. When I invited a new team member, of course he came with his Windows. I want to hear [B]your opinion[/B] on how to make the development easy cross platform. Usually I would just tell him to …

Member Avatar for Excizted
0
123
Member Avatar for re41verse

An array is a number of objects. Example on array: [CODE]const int array_size = 10; // const because Nick Evan says so :) float floatArray[array_size]; // this is how we make an array floatArray[0] = 4.2; // this is how we access the first element in the array for(int i …

Member Avatar for Excizted
0
78
Member Avatar for Shinedevil

Don't use the sleep function. Make your own function. [CODE]void awesomeWaitFunction(const unsigned int& delayMs) { unsigned int start = (float(clock())/CLOCK_PER_SEC)*1000; while((float(clock())/CLOCK_PER_SEC)*1000 < start+delayMs); }[/CODE]

Member Avatar for Excizted
0
70
Member Avatar for empror9

Hmm you didn't include the headers in the code above. And you're using system a lot, I probably won't be able to test it then, because it seems like Windows commands, and I'm on Linux.

Member Avatar for Excizted
0
143
Member Avatar for piecykoos

Well, I'm not sure [U]what[/U] you need help with. You'll need the rand() function to simulate the dice output. Find it on google, and notice you'll need the srand() aswell. Then you could hardcode all the field, and make an algorithm that decides where the player lands, when he dices …

Member Avatar for Excizted
0
121
Member Avatar for CreativeCoding

I don't understand your last post. I can tell you that when you make some variable, it magically appears in the computers memory. Magic. A pointer contains a memory address. They are used to access whatever is a that memory position. References and pointers are basically the same. Except pointers …

Member Avatar for Excizted
0
134
Member Avatar for aianne

You seem friendly. God I want to help you. You have an error, I must help. The only problem is.... I don't know what your problem is. - Compiler error? Post it here. - Runtime expectation mismatch? What happens, and what doesn't? Almost a good and useable post that could …

Member Avatar for tetron
0
244
Member Avatar for foodman123321

Hey. Uhm, you have to tell us if theres anything that needs a 'repair'? Is it not working, or? I have no clue what it is, if I were to come with improvements, I'd like to know a bit more what you're trying to achieve? A card game, or something? …

Member Avatar for strmstn
0
118
Member Avatar for Excizted

Hey. I'm having an annoying problem, that I can't seem to figure out. In my page when I echo long messages, I do an in-code linebreak at around 100th character, to keep at all in my view. But when I do that I also get the line breaks and indents …

Member Avatar for almostbob
0
157
Member Avatar for jangab
Re: help

[QUOTE=jangab;1157516]how to delete a string index inside an array that the user inputs???,, could someone pls help??[/QUOTE] Useless title - but indeed, your post is so short, you might just written it in the title. Also, I don't even understand what you want to do. You have a user inputted …

Member Avatar for Excizted
0
99
Member Avatar for SimonLarsen

If it happens, ask him to check the message that he gets when it BSOD's.. I've always been able to roughly fix BSOD problems from their message. Under no circumstances a Windows box should BSOD because of a segmentation fault.

Member Avatar for SimonLarsen
0
237
Member Avatar for Excizted

Hey ! I've been using NetBeans for quite a long time, and totally addicted to it. Therefore there was no mercy when my mate wanted to join my project. - He had to get it too. He's one of those Windows guys tho x) I installed him MinGW and MSYS, …

0
65
Member Avatar for D4n1sD

I agree. The reason for this is, that a computer can not just generate a random number. It does not have emotions to pick a number, it must solve it mathematically. There is no equation not actually giving the same each time. So you have to seed the rand function …

Member Avatar for clutchkiller
0
123
Member Avatar for Denver Cupido
Member Avatar for Excizted
0
82
Member Avatar for Denver Cupido

Do you want help? More seems like a challenge or something? At least to achieve this you really only need very basic knowledge of C++. A friend of mine was able to do almost the same with no programming knowledge of any kind, just using his intuition and the one …

Member Avatar for Excizted
0
160
Member Avatar for Excizted

Hi. I have some, probably, very basic questions. :D I'm making an engine, which will be script driven. But I'm concerned with the performance of plain text, even if it was loaded to the memory. I want the scripts to be executable very fast, since there would be a lot …

Member Avatar for Dave Sinkula
0
125
Member Avatar for Excizted

Hi :) I am certain of when to use static_cast, but often I can get satisfactory results by writing the target type in a parenthesis. For example: [CODE]void* data = somePointer; SomeClass* new_ptr = static_cast<SomeClass*>(data);[/CODE] seems to work when replaced with [CODE]void* data = somePointer; SomeClass* new_ptr = (SomeClass*) data;[/CODE] …

Member Avatar for Excizted
0
142
Member Avatar for Excizted

Hello. I remember once I googled a topic, and I kept stumbling upon a linux command, that would allow me to get some info on a binary application, including it's architecture. Basicly, I could see if the program was build for x86_64 or for x86. Now I actually need this …

Member Avatar for Excizted
0
102
Member Avatar for nats01282

[QUOTE=nats01282;1097905]Now i have a mySQL database What can i do with it? i already tried a basic register and login script and i get a error saying how do i solve this? and what can i get for my mysql i have seen loads of e-commerce but thats all i …

Member Avatar for compusolver
0
140
Member Avatar for takeshi

Uhm.. So you spammed this post with code.. What is it supposed to do? What does it fail to do? What does not "display in your program" (i supposed you mean browser, or sumthin')? Does anything get inserted to your MySQL Database? What do you mean by "together with other …

Member Avatar for jesy83
0
256
Member Avatar for preetg

I won't even consider reading your code and helping you out, until YOU consider how you formulate your topic. I'm not blaming your English, although understanding what your problem is wasn't exactly easy. But you're actually demanding an answer. You should tell us what you tried, and if you suspect …

Member Avatar for JRM
0
119
Member Avatar for Excizted

Hello. I'm going to create a stack of pointers to objects, and I need to implement an identifier with the best performance. Those objects are custom classes. I'm wondering what would be best for performance. Either of these two ways, or maybe a third better way?. 1) Making an std::map …

Member Avatar for Excizted
0
134
Member Avatar for virspy

"Please give the solution" is most probably what causes this thread to have 0 replies. I didn't really read your topic, but in your form you write [CODE]action="?result1?id=<? $_GET['city']?>"[/CODE] Wouldn't you want to write [CODE]action=?result1&id=...[/CODE]? Goodluck.

Member Avatar for Excizted
0
78
Member Avatar for Excizted

Hello. I'm needing to store the IP adress as a variable in my application. I was then wondering, what the most efficient way of doing this would be? I would simply make 4 integers, and then in a setter function, read four arguments, and pass them into those four integers, …

Member Avatar for Excizted
0
207
Member Avatar for Excizted

Hi people. :) I'm making a function callback system for a console, so I would dynamically be able to send a function pointer to my console class, and then it would be callable from the console. Well, it works - but only with functions that are not member of a …

Member Avatar for Ancient Dragon
0
259
Member Avatar for ashishchoure

I don't fully get what you want to know? You want to get peer name, and right below you post the function to get peer name? :)

Member Avatar for Excizted
0
1K
Member Avatar for Androggles

Hi there :) I happen to know that the sleep function has a capitalized S. So you should call Sleep() instead of sleep(). The previous poster already told you what the compilation error means, remember that :) Also Sleep is defined in the windows libraries, which you did include, so …

Member Avatar for Excizted
1
483
Member Avatar for BazookaJo
Member Avatar for Tomern11

[QUOTE=Tomern11;1091245]Hello there, i'm a new to this forum and i was always curious about game developing so here are some questions about game developing: - Is it a good job? - What qualities are required to develop a game? - How much time does it take to develop a game? …

Member Avatar for Excizted
0
98
Member Avatar for لولوة

I can only advise you to use setters and getters. It gives an overall more stability, atleast you will feel like it when you are programming within your own frameworks. It's hard to explain, but I'm sure you'll one day find out :D And then it would be good if …

Member Avatar for Dave Sinkula
0
213

The End.