请教:一条VB语言如何转化为C++语言?
myStr= "d:\aa- " & myName1 & myname2 & ".dat "
谢谢帮忙哦~~~~~~~~~`
[解决办法]
char strcat(char *dest,const char *src)
将字符串src添加到dest末尾
char myStr[260];
myStr= "d:\aa- " ;
strcat(myStr,myName1 );
strcat(myStr,myName2 );
strcat(myStr, ".dat ");
[解决办法]
string mystr=string( "d:\\aa- ") + "d " + "e " + ".dat ";