Topic List | Page List: 1 |
---|---|
Topic | Anyone here familiar with C++? |
longsticks 04/12/17 12:26:46 PM #22: | kirbymuncher posted... longsticks posted...The 'read values' part is really confusing me, it would make more sense if it was 'write values'. That makes a ton more sense. Since there's no outside file involved, I'm thinking i'd pass the circle1 structure into a function which asks the user for each of the member variables and writes them into the structure? Something like: void getValues(Circle& circle1); { cout << "Enter radius/n"; cin >> circle1.radius; etc... } --- ... Copied to Clipboard! |
Topic List | Page List: 1 |