c
-
C#程序结构
using System; namespace HelloWorldApplication { class HelloWorld { static void Main(string…
-
C++ std命名空间
// C++ std命名空间 #include <iostream> using std::cout; int main () { cout << &quo…
-
C++条件编译
#include <iostream> using namespace std; #define DEBUG #define MIN(a,b) (((a)<(b)…
-
C++ #和##运算符
#include <iostream> using namespace std; #define MKSTR( x ) #x int main () { cout &l…
-
C++定义新异常
#include <iostream> #include <exception> using namespace std; struct MyExcepti…
-
C++数据抽象
// C++数据抽象 #include <iostream> using namespace std; int main() { cout << "…
-
C++函数重载
#include <iostream> using namespace std; class printData { public: void print(int i)…
-
C++指向结构体的指针
#include <iostream> #include <cstring> using namespace std; void printBook( st…
-
C++结构体作为函数参数
#include <iostream> #include <cstring> using namespace std; void printBook( st…
-
C++访问结构体成员
#include <iostream> #include <cstring> using namespace std; struct Books { cha…