/*
devC++的使用方法
1).打开DevC++,选择“File”--New--Source File
2).代码写完后,Ctrl+S--"hello.c"---Ctrl+F9--回车--Ctrl+F10
3).C代码格式如下:
#include <stdio.h>
#include <stdlib.h>
int main()
{
......
system("pause");
return 0;
}
4).显示汉字,如下:
点击“工具”--编辑器选项--取消“使用语法加亮”--确定
5).设置字体大小,如下:
点击“工具”--编辑器选项--显示/编辑器字体--大小选择“12”--确定
************************************
a).Ctrl+shift+I 缩进
Ctrl+. 注释//
F8 调试
Ctrl+W 查看变量
F12 全屏
环境变量:path:C:\Dev-Cpp\bin
b).C++代码格式如下:
#include <iostream>
#include <stdlib.h>
using namespace std;
int main()
{
cout<<"I am a student!\n";
system("pause");
return 0;
}