代码搜索:VC代码

找到约 10,000 项符合「VC代码」的源代码

代码结果 10,000
www.eeworm.com/read/153991/6294059

cpp vc0901.cpp

//Example 9.1:派生类对象替换基类对象 #include class Pet //基类 { public: void Speak() { cout
www.eeworm.com/read/153991/6294060

cpp vc0904.cpp

// Example 9-4: 复数类 #include class Complex { double m_fReal, m_fImag; public: Complex(double r = 0, double i = 0): m_fReal(r), m_fImag(i){} double Real(){return m_fReal;} doub
www.eeworm.com/read/153991/6294061

cpp vc0907.cpp

// Example 9.7: 编写一个用于文件拷贝的程序 #include #include void main() { char SourceName[81]; char DestinName[81]; cout > SourceName; cout
www.eeworm.com/read/153991/6294062

cpp vc0903.cpp

// Example 9.3: 抽象宠物类 #include #include class Pet //基类 { char m_strName[20]; int m_nAge; char m_strColor[12]; public: char m_strType[10]; Pet(char
www.eeworm.com/read/153991/6294063

cpp vc0906.cpp

//Example 9.6: 编写雇员信息管理程序 #include #include #include class Employee { public: char m_strName[10]; char m_Sex[6]; int m_nAge; char m_strDept[20]; float
www.eeworm.com/read/153991/6294064

cpp vc0304.cpp

// Example 3-4:求字符串的长度 #include int mystrlen(char string[]) { int len = 0; while(string[len]!='\0') len = len+1; return len; } void main() { char sentence[] = "This is a
www.eeworm.com/read/153991/6294065

cpp vc0306.cpp

// Example 3-6:交换排序 #include // 函数 bubble_up(): 冒泡法排序 void bubble_up(int list[], int count) { for(int i=0; ii; j=j-1) if(list[j-1]>list[j
www.eeworm.com/read/153991/6294066

cpp vc0301.cpp

// Example 3.1:将大写字母转换为小写字母 #include int mylower(int ch) { if(ch>='A' && ch
www.eeworm.com/read/153991/6294067

cpp vc0303.cpp

// Example 3.3:求数组中的最大元素 #include int max_element(int array[],int count) { int big=array[0]; for(int i=0;ibig)big=array[i]; return big; } void mai
www.eeworm.com/read/153991/6294068

cpp vc0302.cpp

// Example 3.2:用牛顿迭代公式求平方根 #include //基本输入输出库 #include //数学运算库 #define EPS 1.0e-10 // 函数 newton_sqrt(): 用牛顿迭代法求平方根 double newton_sqrt(double x) { double x0, x1;