search
尋找貓咪~QQ 地點 桃園市桃園區 Taoyuan , Taoyuan

[VC(Visual C++)]- VC與組合語言混合開發 – jashliao部落格

[VC(Visual C++)]- VC與組合語言混合開發

本篇分享VC與組合語言混合開發,有興趣的(C/P)同好,歡迎來(C/P)一下,哈哈 ^ ^

程式碼

#include 
usingnamespace std;
//C語言不額外增加變數將2個變數值互換!
void main()
{    
    float a=9.004, b=-28.5;
    //作弊法... for int or float
    _asm {
     push a
     push b
     pop a
     pop b}
    cout<< a <
} 

 

 



熱門推薦

本文由 jashliaoeuwordpress 提供 原文連結

寵物協尋 相信 終究能找到回家的路
寫了7763篇文章,獲得2次喜歡
留言回覆
回覆
精彩推薦