C / C ++
1.1 CPP学习笔记
1.1.1基础入门
1.1.1.1你好,世界!
# include
using namespace std ;
void main () {
system ( " pause " );
cout << " Hello World " <
using namespace std ;
// 单行注释
void main () {
system ( " pause " );
cout << " Hello World
RKMVCC编码示例
关于我们:
RKMVCC's BSc Computer Science department presents this GitHub repository to provide you with basic coding examples.
We hope this repository helps you and makes your learning experience better.
特征:
为了更好地理解程序,我们使用注释来描述这些特定代码行的功能。
我们
笔记
从自己编译程序开始
导入库并在代码中使用它
- CPP Library that produces ASCII art on the command line
写我自己的图书馆
去做
用g ++编译您的库
使用dw-cli消耗您的库
编写一个主要函数cli,包括SocialProfileReader标头
g ++ -c -fpic SocialProfileReader.cpp g ++ -shared -o libdw.so SocialProfileReader.o g ++ -Wa