I corrected it.
Maybe, A easier way for make this it is when the user enter with a incorrect value, the program automatically clear the incorrect value, and the user try again.
Type: Posts; User: Cassady
I corrected it.
Maybe, A easier way for make this it is when the user enter with a incorrect value, the program automatically clear the incorrect value, and the user try again.
Thanks Guys, for the replys!
I need to restart the program when the user enter a incorrect value.
So, I think to make a function for this, when the user enter a incorrect value the function call...
Hey Everybody,
I wrote this code:
#include <windows.h>
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
using std::fixed;
Thanks man!
Ok, I will post there, thanks.
Hey Everybody!
How can I set the position of cursor, if I use Windows OS ?
For example, if I use this code:
Code:
int a;
For example, if I use this code:
int a;
int b;
cout << setw(3) << "";
cin >> a;
Hey Everybody!
How can I set the position of cursor, if I use Windows OS ?
Thanks!
Thanks!
I understood now.
Hey everybody!
I couldnt use the switch in C++.
My study code is:
#include <iostream>
using std::cout;
using std::cin;
using std::endl;