Advertisement

1 - 10 of 386 containing alltags:("struct") (0.001 seconds)
I have a program that inputs a name, looks in a table and returns a string from another table if it is found. Now for one of the names I want it to return a structure. one problem I'm having is u...
Zones: C++Date Answered: 08/12/1999 Grade: D Views: 0
G++ has a file called streambuf.h. In this file it declares structure called streambuf. The format used for its declaration looks very much like a class. Does anyone know why a struct was used in...
Zones: C++, Microsoft Visual C++Date Answered: 04/20/2001 Grade: A Views: 0
If this is my structure: define SIZE = 8 struct cars {      char name[25];      int id;      char cartype[1];      int numstock;      float cost;      float price;      float profit; ...
Zones: C++Date Answered: 05/15/2001 Grade: A Views: 0
    struct student_info {           char name[20];           int weight;      };      struct student_info temp;      struct student_info *ptr;      ptr = &temp;      ptr->weight = 20;   ...
Zones: C++Date Answered: 11/16/2001 Grade: A Views: 0
I have a program where I am trying to store customer information into a struct array. What this will allow me to do is print a nice table.  However it isn't very universal if say the person would l...
Zones: C++, Microsoft Visual C++Date Answered: 09/30/2002 Grade: A Views: 0
I am making a project which requires me to report the contents of a directory/series of directories. First of all i need to copy the filenames plus their modified date to a text file in the format:...
Zones: C++Date Answered: 11/11/2002 Grade: A Views: 0
I'm currently trying to write my first hash table, definied as an array of lists: typedef struct liststruct {     char string[MAXWORD];     struct liststruct *next; } list; So a would defi...
Zones: CDate Answered: 12/30/2002 Grade: B Views: 0
I have a struct like that: struct msstruct {   .......   int tid; //thread id }; struct msstruct ms[no_threads]; I want to pass a struct to pthread_create, such as pthread_create( &tid...
Zones: Unix Systems ProgrammingDate Answered: 03/19/2003 Grade: A Views: 14
void main {      struct ibm      {           char startbit;           float salary;           char name[10];           char stopbit;      };      ibm ibm1 = {'t',885.34,"abcdefghi",'f'};...
Zones: C++Date Answered: 03/31/2003 Grade: B Views: 0