基本上每个应用程序领域的程序员都有使用 C++

C++ 的使用
基本上每个应用程序领域的程序员都有使用 C++。

C++ 通常用于编写设备驱动程序和其他要求实时性的直接操作硬件的软件。

C++ 广泛用于教学和研究。

任何一个使用苹果电脑或 Windows PC 机的用户都在间接地使用 C++,因为这些系统的主要用户接口是使用 C++ 编写的。

 1 #include <iostream>
 2 
 3 /* run this program using the console pauser or add your own getch, system("pause") or input loop */
 4 using namespace std;
 5 int main(int argc, char** argv) {
 6     int i,j;
 7     i='a';
 8     j='b';
 9     cout <<i<<' '<<j<<'
';
10     
11     int x,y;
12     x='A';
13     y='B';
14     cout <<x<<' '<<y<<'
';
15     return 0;
16 }
原文地址:https://www.cnblogs.com/borter/p/9400728.html