Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
MSVC C2888 bug
std::is_same doesn't check for calling convention
wall
assignment
PreprocessorVsNamespace
#7.2
Adaptive return type
bitfields_msvc
Title
Removing __unaligned specifier partial solution
Please log in to post a comment.