Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <math.h>
- #include <sstream>
- #include <string>
- #include <windows.h>
- #include <conio.h>
- using namespace std;//||or;\s
- int main()
- {
- HANDLE h= GetStdHandle(STD_OUTPUT_HANDLE);
- SetConsoleTextAttribute(h,FOREGROUND_GREEN|FOREGROUND_INTENSITY);
- SetConsoleTextAttribute(h,BACKGROUND_BLUE|BACKGROUND_INTENSITY);
- system ("CLS");
- string s;
- getline(cin,s);
- stringstream geel (s);
- int x=0;
- geel>>x;
- cout<<"x="<<x;
- //*/
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement