ChenFu Kuo | 創建者
  • |
  • En
  • 專案
  • 關於
  • 實績
  • 協作
  • 部落格
  • 歸檔
  • 搜尋
Posts

[工作點滴] VisualC string轉成const char

November 5, 2007 · 1 分鐘 · 13 字 · ChenFu Kuo | 語言:
  • En

// 轉化成c風格
string str1(“hello world”);
const char *c_str1=str1.c_str();
//轉化成數組
const char *a_str1=0;
a_str1=str1.data();

  • 工作點滴
« 上一頁
[工作點滴] 在知與無知間的抉擇
下一頁 »
[工作點滴] 在ubuntu/debian添加開發工具package

Comments & Feedback

搜尋

Recent Posts

  • Lectio:讓閱讀少一點摩擦的 AI 語音伴讀工具
  • 雙週複盤 2026-W19|MatrixTradingSystem、Email Command Center、Auris 與玩具機器人
  • 雙週複盤 2026-W17|機器人、Trading Agent、還有 Maker 工作室上路了
  • 為什麼我要打造邊緣智能技術棧
  • AI-HIL:當 AI 長出了眼睛和手,讓嵌入式開發閉環自動化

Recent Comments

尚無留言可供顯示。

Archives

  • 2026 年 05 月 (2)
  • 2026 年 04 月 (2)
  • 2026 年 03 月 (2)
  • 2013 年 12 月 (1)
  • 2013 年 07 月 (2)
  • 2013 年 06 月 (2)
  • 2013 年 05 月 (1)
  • 2013 年 04 月 (11)
  • 2013 年 03 月 (7)
  • 2013 年 02 月 (25)
  • 2013 年 01 月 (5)
  • 2008 年 07 月 (1)
  • 2008 年 03 月 (1)
  • 2007 年 12 月 (3)
  • 2007 年 11 月 (3)
  • 2007 年 10 月 (11)
  • 2007 年 09 月 (16)
© 2026 ChenFu Kuo | 創建者 · Powered by Hugo & PaperMod