c++
c++
傻瓜搬砖人
每天进步一点点
展开
-
ndk-c++
c++ 基础内容梳理#include<iostream>using namespace std;int main(){ cout << "hello c++" << endl; return 0;}2.函数符号兼容如果需要在c++中调用实现的库中的方法extern "C" // 指示编译器这部分代码使用C的方式编译而不是C++例如: void func(int x,int y); c 编译器将...原创 2022-08-28 20:02:23 · 462 阅读 · 0 评论 -
单链表学生信息管理(c++)
#include <iostream>#include <string>#define MAX_SIZE 5 // 定义最大存储学生信息个数using namespace std;// 定义学生节点class StudentNode{ private: int id; string name; int age; public: StudentNode * p_stdentNode; //原创 2021-11-22 14:19:33 · 778 阅读 · 0 评论