上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 63 下一页
摘要: #includeusingnamespacestd;voidStrCpy(char**pDestination,char*pSource);structPeople{ People() { nAge=0; } intnAge; };voidmain(){ char*pString; StrCpy(&pString,"fsfsafsadfsadfsadfsadfsdfsadfsadf"); cout>tem; } voidStrCpy(char**pDestination,char*pSource){ //cout=0) { **pDestination=pSo 阅读全文
posted @ 2013-06-24 19:13 Predator 阅读(477) 评论(0) 推荐(0) 编辑
摘要: #includeusingnamespacestd;voidStrCpy(charpDestination[],char*pSource); voidmain(){ charpString[40]; StrCpy(pString,"ganquanfu2008"); cout>tem;} voidStrCpy(charpDestination[],char*pSource){ inti=0; intlen=0; while(pSource[i]!='\0') { i++; len++; } intj=len-1; while(j>=0) { pDe 阅读全文
posted @ 2013-06-24 09:39 Predator 阅读(240) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std;using namespace boost::gregorian;const int MAX_SIZE = 1024;struct Person{string strName;intnAge;char num[MAX_SIZE] ;};typedef struct tagRecord{Person m_person;}Record;class CTest{public:CTest(void){}~CTest(){}Person* GetData(){Person *p = & m_stReco 阅读全文
posted @ 2013-06-22 19:26 Predator 阅读(1351) 评论(0) 推荐(0) 编辑
摘要: typedef char SWDirectionDataType;/// 买#define SWDirection_D_BuyEnumType '0'/// 卖#define SWDirection_D_SellEnumType '1'void main(){SWDirectionDataType direction = '1';if (direction == SWDirection_D_BuyEnumType){cout > wait;} 阅读全文
posted @ 2013-06-22 19:25 Predator 阅读(345) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 63 下一页