Search Results

Showing results 1 to 7 of 7
Search took 0.01 seconds.
Search: Posts Made By: AndrewWood
Forum: C Dec 11th, 2007
Replies: 3
Views: 1,026
Posted By AndrewWood
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
Posted By AndrewWood
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
Posted By AndrewWood
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
Posted By AndrewWood
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
Posted By AndrewWood
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
Posted By AndrewWood
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
Posted By AndrewWood
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...
Showing results 1 to 7 of 7

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC