Thread: C++ help
View Single Post
 
Reply
Posted 2006-11-04, 02:51 PM in reply to WetWired's post starting "VB does not have pointers; it has..."
ok i have encounter with another problem plz help. I have to write a structure progame that have two char of arrays one for first name and one for last name a character variable to store the middle initial and an integer variable to store the age. here what i got so far
#include <iostream.h>

struct Name

{
char FirstName[20];
char MiddleName;
char LastName[20];
int Age;
};

ok the problem is i have to pass structure name to a function named FillStructure and fill it there. Anyone know how. i keep looking my school book and deosn't help.
Old
Profile PM WWW Search
osmoses-jones is neither ape nor machine; has so far settled for the in-betweenosmoses-jones is neither ape nor machine; has so far settled for the in-between
 
osmoses-jones