hsw's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
5 (0.01 per day)
Joined:
12-December 12
Profile Views:
71
Last Active:
User is offline Dec 12 2012 10:14 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   hsw has not set their status

Posts I've Made

  1. In Topic: Problem with dynamic array of structures

    Posted 12 Dec 2012

    No. Only structures, arrays, linked lists and pointers.
  2. In Topic: Problem with dynamic array of structures

    Posted 12 Dec 2012

    I'm sorry, int len is supposed to equal 5, not 10000. And after 5 entries, the array is supposed to double.

    Also, about post #2, the assignment says that it should be done that way. A user enters as many records as he/she wants and the array should be dynamic and increasing as the entries increase. The program can't be made to ask the user how many records he/she wants to insert or if he/she wants to insert another record..
  3. In Topic: Problem with dynamic array of structures

    Posted 12 Dec 2012

    OK, I changed people++; and put it before if (cin.eof()){break;}, and now there is a segmentation fault when i insert the sixth person instead of creating a new array with double the size of the previous one.
  4. In Topic: Problem with dynamic array of structures

    Posted 12 Dec 2012

    Thanks for the help, but I don't understand what I have to do specifically. Can you please show me in the code?

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

hsw hasn't added any friends yet.

Comments

hsw has no profile comments yet. Why not say hello?