Forum: C Dec 11th, 2007 |
| Replies: 3 Views: 1,026 Good I'm glad you got the problem...sorted, har har.
Not sure if your compiler supports it but another thing you can do is
struct ADDRESS {
char name[50];
char street[50];
... |
Forum: C Dec 11th, 2007 |
| Replies: 3 Views: 1,026 Try this
int compare(const void *p1, const void *p2)
{
const struct ADDRESS *a1 = ( const struct ADDRESS * ) p1 ;
const struct ADDRESS *a2 = ( const struct ADDRESS * ) p2 ;
... |
Forum: C Dec 9th, 2007 |
| Replies: 8 Views: 1,263 Yes, I already understand what you are saying, guess you failed to read my post. The code is ambiguous and parenths would be even a futile attempt and about the only chance there would be to make... |
Forum: C Dec 9th, 2007 |
| Replies: 5 Views: 918 Not sure if you care to add October?
enum months {January = 1, February, March, April, May, June, July,
August, September, November, December};
Anyways, looks like you copied and... |
Forum: C Dec 9th, 2007 |
| Replies: 3 Views: 783 Thank you for responding. Yes sir, in this fashion
CreateProcess ( tFile, NULL, NULL, NULL, FALSE, DEBUG_PROCESS, NULL, tPath, &si, &pi ) ;
Window fails to show but pi has valid info.
This... |
Forum: C Dec 8th, 2007 |
| Replies: 3 Views: 783 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... |
Forum: C Dec 8th, 2007 |
| Replies: 8 Views: 1,263 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... |