#include <iostream.h> #include<stdio.h> class TBase { public: void OutPut() { cout<<"TBase OutPut"<<endl; } }; void TestOut() { cout<<"Test OutPut"<<endl; }; void AsmTest() { char *astr="Hello world/n"; _asm { push astr call printf add esp,4 } } int main() { AsmTest(); return 0; }