Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
progrm_1
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> #include <string> using namespace std; class Name { public: string myString; void nameProcess() { cout << "Enter your name." << endl; getline (cin, myString); cout << "Your name is: " << myString << "." << endl; }; int main() { Name N1; N1.nameProcess(); return(0); }
run
|
edit
|
history
|
help
0
MSVC-IsBaseOf
Dequeue Using STL List
seh exception in constructor memory leak
accessing private of different type of template
Computing factorial of an integer with recursion and iteration [EDIT]
asock
Chord Note Finder
throwing Copyable versus throwing MoveOnly
Dices by GOOSE
hangman