| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
creating lists with elements
I have absolutely no idea how to create a list which i can add elements to.
help. |
|
#2
|
|||
|
|||
|
I suggest reading one of the many online tutorials on the subject.
-KM- |
|
#3
|
|||
|
|||
|
Maybe using Strings and cin <<:
i shall use part of my gueesing game for this String s1,s2,etc.. cout << "I am thinking of a number between 1 and 100" << endl; cout << "Enter your guess, please "; cin >> guess;<~~~~~replay this with "s1" I dont know if this will work never tried it! After that Use: cout << "1." << s1 << endl; |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > creating lists with elements |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|