?? fifth.cpp
字號:
////////////////////////////////////////////////////////////
// Module : fifth.cpp
//
// Purpose : Demonstration of standard input/output using
// cin and cout
////////////////////////////////////////////////////////////
#include <iostream.h>
void main()
{
// Ask the user a question
cout << "Hello, what's your name?\n>";
// Create a place to store up to 25 characters for a name
char fname[25];
char lname[25];
// Get the user's name
cin >> fname >> lname;
// Use the name, writing it to the screen
cout << "Welcome to the world of C++, "
<< fname << " " << lname << "!";
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -