Forum: C++ 1 Day Ago |
| Replies: 4 Views: 81 He didn't write the code, nor does he understand it, so he's asking for someone to baby him through each line. |
Forum: C++ 1 Day Ago |
| Replies: 4 Views: 81 No, nobody is going to explain that badly formatted C code to you which should have been wrapped in code-tags. You clearly didn't write it, so what I suggest you do is learn how to program, buy a... |
Forum: Geeks' Lounge 1 Day Ago |
| Replies: 3 Views: 101 Pretty funny site :) Every time you reach the end of the page, it's hard to not click next, who know's what absurd thing could be on the next page? :P |
Forum: Geeks' Lounge 1 Day Ago |
| Replies: 1,358 Views: 142,510 Awesome :icon_cool:
This is by far the most relaxed thread on Daniweb. |
Forum: Geeks' Lounge 2 Days Ago |
| Replies: 1,358 Views: 142,510 I envy you, so what, you just get free pizza? :icon_razz: |
Forum: DaniWeb Community Feedback 2 Days Ago |
| Replies: 89 Views: 4,227 Yep, I think it's a pretty essential thing to have. For example, alot of the time when I browse the C/C++ forums, I find a thread I feel I can answer, but then I see someone such as Ancient Dragon is... |
Forum: Geeks' Lounge 2 Days Ago |
| Replies: 1,358 Views: 142,510 |
Forum: C++ 2 Days Ago |
| Replies: 32 Views: 452 Well, C++ can compile almost any C code, except for a few minors differences. Post the code and I'll see. |
Forum: DaniWeb Community Feedback 3 Days Ago |
| Replies: 89 Views: 4,227 You're right :icon_neutral: It's gone.
Dani, what's going on? :P |
Forum: Geeks' Lounge 3 Days Ago |
| Replies: 15 Views: 496 How can you tell? From her original post it seems he's already getting "it" :icon_wink:
I agree with the rest of them, and her parents :P |
Forum: C++ 3 Days Ago |
| Replies: 3 Views: 115 Your condition for that loop is:(s[i] != '\0') || (s[i] != ' ')Now think, is there any way that expression will ever be false in order to break out the loop? If s is a null-terminator, the loop wont... |
Forum: C++ 3 Days Ago |
| Replies: 5 Views: 116 Pretty much, if you want to use the Win32 API, the code will look very similar to C, but that's why they made MFC. |
Forum: DaniWeb Community Feedback 4 Days Ago |
| Replies: 89 Views: 4,227 I agree, but for now you will just have to use AdBlock or something if it annoys you that badly :icon_lol: |
Forum: Geeks' Lounge 4 Days Ago |
| Replies: 35 Views: 670 I feel left out :icon_sad: No money to spare. |
Forum: C 4 Days Ago |
| Replies: 8 Views: 172 Don't beg, you are supposed to ask specific questions here, otherwise use google. |
Forum: C++ 4 Days Ago |
| Replies: 2 Views: 154 I had never even heard of a negative base until you said that, I looked it up and it seems interesting. But, this function already uses a sign to represent negative numbers, maybe I could make a... |
Forum: C++ 4 Days Ago |
| Replies: 2 Views: 154 Here's a function that manually converts an integer to any base between 2 and 36, the parameter list is:
void toBase(
int value, // Integer value to convert
char *target, // Pointer to a... |
Forum: C++ 4 Days Ago |
| Replies: 10 Views: 170 I'll stick with just the code please ;) |
Forum: C 4 Days Ago |
| Replies: 3 Views: 167 The only way I can think of, is to use some inline assembly and get the value of the PC register, look up the use of asm with C. |
Forum: C++ 4 Days Ago |
| Replies: 10 Views: 170 It's worth a shot, just copy the project, delete unneeded compiler generated files, zip it and attach here :) |
Forum: C++ 4 Days Ago |
| Replies: 10 Views: 170 Obviously the use of arrays here has made this very confusing, maybe it's possibly to do without, I don't know. But all I can suggest is to try using global variables and message notifications too,... |
Forum: Geeks' Lounge 4 Days Ago |
| Replies: 35 Views: 670 It depends which 'sluggisly slow' virus programs you use, I use AVG on Vista and it's totally invisible to me, never had any problems. Norton however feels like it halves the speed of my computer. |
Forum: C++ 5 Days Ago |
| Replies: 10 Views: 170 So let me get this right, you basically have an array of hWnd's which all link to the same event handler, but you want to do different things with each of them in the messengerBox dialog when it's... |
Forum: C++ 5 Days Ago |
| Replies: 10 Views: 170 Can't say I do, hWnd will hold the handle to the window being used, so can't you just write:ShowWindow(hWnd, SW_HIDE);If not, you will have to clarify :P
Posting / Attaching the whole code would... |
Forum: Geeks' Lounge 5 Days Ago |
| Replies: 1 Views: 198 Really cool actually, nice find :) |
Forum: C++ 5 Days Ago |
| Replies: 3 Views: 127 What's this? You just supplied an entire program when all he wanted was help on one case. |
Forum: Geeks' Lounge 5 Days Ago |
| Replies: 7 Views: 262 Also R, well that sucked :P there needs to me more options and outputs. |
Forum: DaniWeb Community Feedback 5 Days Ago |
| Replies: 89 Views: 4,227 Much better :) The bug I pointed out quite some time ago in this (http://www.daniweb.com/forums/thread177031.html) thread was never fixed either. |
Forum: DaniWeb Community Feedback 5 Days Ago |
| Replies: 89 Views: 4,227 I can't say I like the dotted underlining and popup either :icon_neutral:
It's all very distracting. |
Forum: Geeks' Lounge 6 Days Ago |
| Replies: 31 Views: 1,293 To be fair, the game is 16 years old and probably freely available on the net, I know the demo is. [link]... |
Forum: Geeks' Lounge 7 Days Ago |
| Replies: 15 Views: 496 I don't know, maybe you parents actually care about you :) |
Forum: Geeks' Lounge 7 Days Ago |
| Replies: 35 Views: 670 Hello from Vista :) I will probably be getting it soon, not quite sure I look the new task bar so much though, looks big and blocky in my opinion, definitely worth a try though. |
Forum: C++ 7 Days Ago |
| Replies: 1 Views: 100 Perhaps the PlaySound (http://msdn.microsoft.com/en-us/library/aa909766.aspx) function?
PlaySound("H:\\sissys.mp3", NULL, SND_FILENAME); |
Forum: Geeks' Lounge 9 Days Ago |
| Replies: 5 Views: 299 I remember him by this (http://www.daniweb.com/forums/thread8386.html) thread, when he had a long debate with Narue.
Obviously that's 4 years before I joined, but it's like the most popular C++... |
Forum: C++ 10 Days Ago |
| Replies: 2 Views: 141 |
Forum: Geeks' Lounge 10 Days Ago |
| Replies: 2 Views: 156 Look in your control panel, it really doesn't take much searching. |
Forum: C++ 11 Days Ago |
| Replies: 3 Views: 118 Depends on so many things, it could take a month if you did it intensively, or a year or two if you do it as a hobby every once in a while. |
Forum: C++ 11 Days Ago |
| Replies: 11 Views: 277 I know.. that's what I said. By the way, don't use void main, use int main, and use code-tags when posting. |
Forum: C++ 11 Days Ago |
| Replies: 2 Views: 167 My best advice for you right now is to learn how to program before you try anything big. Read books, tutorials, whatever.
If you plan on doing this in Windows, you should try this tutorial [link]... |
Forum: C++ 11 Days Ago |
| Replies: 11 Views: 277 I don't know what's causing it to go out of bounds like that, but I really doubt it's something to do with your code. |