Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: kemsa
  • Order by date
  1. kemsa

    returning af struct

    Dou you mean something like that. (And thank you for your quick answer): void make_bookingliste() { struct typer *liste = malloc(400 * sizeof(struct typer)); /* Disse konstanter definerer vore øvre og nedre grænse. Bruges til rand() */ const int LOW = 1; const int HIGH = sizeof...
  2. kemsa

    returning af struct

    Hello; I´m struggling with a program, which I want to return a struct. My program looks like this: void make_bookingliste() { /* Disse konstanter definerer vore øvre og nedre grænse. Bruges til rand() */ const int LOW = 1; const int HIGH = sizeof (personer) / sizeof (struct...
  3. kemsa

    to copy a structure to another structure

    Hello, I'm making a program with a structure. I would like to copy SOME of the elements in the structure to another structure, fx if it fulfill some criteria. The program could be something like: struct vehicles { const char *name; const int year; }; struct vehicles car[] =...

Part and Inventory Search

Back
Top