代码搜索:VC开发环境
找到约 10,000 项符合「VC开发环境」的源代码
代码结果 10,000
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
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