哈,對BCB實在是不太熟悉。

 

我只是想做個單純的字串相加沒想到這麼麻煩。

{    char str[255];
    strcat(str,a);
    strcat(str,b);
    return str; 

}

 

後來不是這樣用

 

fp<< currentDateTime() << 變數1<<": " <<變數2 <<std::endl;//寫入字串

 

結束.........................

arrow
arrow
    文章標籤
    c++ delphi
    全站熱搜

    kuraki5336 發表在 痞客邦 留言(0) 人氣()