Didn't jump anyways. Already seen too many of these things.
Type: Posts; User: jamesmac14
Didn't jump anyways. Already seen too many of these things.
Yea just find the ASCII number for the symbol and use that. For hit Alt+156 on your number pad and it displays the £. Same concept.
You can also use a getch(); command at the end of your program which waits for the user to hit any key on the keyboard. This stops your program from running and disappearing before you can see it. ...
It is still good practice to initialize it to 0 anyway.
prog-bman has a point here. When you use strings, or character arrays, it is usually good to put a cin.ignore(); after the input statement. This helps "clean up" because your program will still be...