User profile: admkrk

User info
User name:admkrk
History
Joined:
Number of posts:447
Latest posts:

how to automatically declare a variable in a loop without having to manually do it
Arrays and vectors work with any data type.

how to automatically declare a variable in a loop without having to manually do it
That is what container are for. You could use an array, but a vector would be better.

Code works only half way
I do not see how this does anything? [code]int main() { cout << "\nEnter your first number: "; cin ...

Question about a while loop, file input and output
Why not just read it all into a vector, or some other container. You only need to read it one time t...

after school learning
"are there any cool concepts I can practice" What I think is "cool", is not likely to be similar to...