Search Results

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: mahlerfive ; Forum: C and child forums
Forum: C Dec 1st, 2008
Replies: 3
Views: 599
Posted By mahlerfive
You are right that the array name is the address of the first element of that array. This works exactly the same for arrays of char as well.

In C, there is no "string" type, so we are forced to...
Forum: C Nov 28th, 2008
Replies: 2
Views: 427
Posted By mahlerfive
You have allocated space for all of the studentInfo pointers here (except the last one, you should not be subtracting 1):
struct studentInfo *students[numOfStudents-1];

But, you have not...
Forum: C Nov 20th, 2008
Replies: 6
Views: 691
Posted By mahlerfive
The above poster is not exactly correct.

When you call scanf(), if the function fails (which will happen when you try to read an integer but it is given a character), it will not actually consume...
Forum: C Aug 14th, 2008
Replies: 7
Views: 988
Posted By mahlerfive
You could try and write a very simplified chatroom program. You would need to write two programs:
1. The server, which accepts connections from all the clients. Collects messages from clients, and...
Showing results 1 to 4 of 4

 


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

©2003 - 2009 DaniWeb® LLC