No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Hi, Came here to find an answer to a question no one wants to touch. I'm currently doing some work with debugging principles in Windows C and have found a very odd problem when spawning a process. When using CreateProcess with any of the debug flags set on my other … | |
Re: Try this [code]int compare(const void *p1, const void *p2) { const struct ADDRESS *a1 = ( const struct ADDRESS * ) p1 ; const struct ADDRESS *a2 = ( const struct ADDRESS * ) p2 ; if ( a1 -> zip < a2 -> zip) return -1 ; else if … | |
Re: Not sure if you care to add October? [CODE=C] enum months {January = 1, February, March, April, May, June, July, August, September, November, December}; [/CODE] Anyways, looks like you copied and pasted from your prototypes int fillArray(FILE *inf, char arr[]) [b];[/b] <=== Delete the ; { int i; for(i = … | |
Re: As far as I know, that code is ambiguos and you should avoid such expressions try using ( a++ ) - ( a++ ) but the statement goes from left to right a++ = 11 MINUS a ( which is now 11) ++ which makes it 12. So the statement … |
The End.