代码搜索:VC代码

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

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

cpp vc0103.cpp

//example 1-3 #include void main() { double a,b,c; couta>>b; c=a+b; cout
www.eeworm.com/read/153991/6293793

cpp vc0105.cpp

// Example 1-5:用梯形法计算定记分 #include #include // 定义被积函数 double f(double x) { return sin(x); } // 主函数: 用梯形法计算定积分 void main() { double a, b; // 双精度类型变量: 积分的下限和上限 doubl
www.eeworm.com/read/153991/6293794

cpp vc0102.cpp

//example1-2 #include double grav(double m1,double m2,double distance) { double g,G=6.67259e-11; g=G*m1*m2/(distance*distance); return g; } void main() { double g,Msun=1.987
www.eeworm.com/read/153991/6293795

cpp vc0101.cpp

//example 1-1 #include void main() { int p,q,r; coutq; if(p
www.eeworm.com/read/153991/6293948

cpp vc0701.cpp

// Example 7-1:定义Person类 #include #include class Person { private: char m_strName[20]; int m_nAge; int m_nSex; public: void Register(char *name, int age, ch
www.eeworm.com/read/153991/6293949

cpp vc0706.cpp

//Example 7.6:定义职工档案类 #include #include // 定义工资类 class Salary { public: float m_fWage; // 基本工资 float m_fSubsidy; // 岗位津贴 float m_fRent; // 房租 float m_fCo
www.eeworm.com/read/153991/6293950

cpp vc0705.cpp

//Example 7.4: 使用动态存储实现例7-4程序的功能 #include #include class Person { private: char m_strName[20]; int m_nAge; int m_nSex; public: Person() //构造函数 {
www.eeworm.com/read/153991/6293951

cpp vc0704.cpp

//Example 7.4: 为类Person增加构造函数和析构函数 #include #include class Person { private: char m_strName[20]; int m_nAge; int m_nSex; public: Person() //构造函数 {
www.eeworm.com/read/153991/6294057

cpp vc0902.cpp

//Example 9.2:虚函数实现多态性 #include class Pet //基类 { public: virtual void Speak() { cout
www.eeworm.com/read/153991/6294058

cpp vc0905.cpp

// Example 9-5: 按钮类 #include #include class Button { protected: int m_nX; //横坐标位置 int m_nY; //纵坐标位置 int m_nWidth; //按钮宽度 int m_nHeight; //按钮高度 cha