ASMa BASliyorum Ama Boyle Hata Nerde Ben bilmiyorum Neyi Unutmusum... Yardim
kodda kutub hande Hangi birisi
#include<iostream>
#include<conio.h>
#include<windows.h>
using namespace std;
int GetValueFromAsm();
int _tmain(int argc,char*argv[])
{
__asm
{
mov eax,35
}
cout<<"ASM DILI"<<GetValueFromAsm()<<std::endl;
_getch();
return 0;
}
Her Turlu yapiyorum Ayni Hata...
1>------ Build started: Project: AA, Configuration: Debug Win32 ------
1>Compiling...
1>C.cpp
1>Linking...
1>C.obj : error LNK2019: unresolved external symbol "int __cdecl GetValueFromAsm(****)" (?GetValueFromAsm@@YAHXZ) referenced in function _main
1>C:\Directx\AA\Debug\AA.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://c:\Directx\AA\AA\Debug\BuildLog.htm"
1>AA - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
kodda kutub hande Hangi birisi
#include<iostream>
#include<conio.h>
#include<windows.h>
using namespace std;
int GetValueFromAsm();
int _tmain(int argc,char*argv[])
{
__asm
{
mov eax,35
}
cout<<"ASM DILI"<<GetValueFromAsm()<<std::endl;
_getch();
return 0;
}
Her Turlu yapiyorum Ayni Hata...
1>------ Build started: Project: AA, Configuration: Debug Win32 ------
1>Compiling...
1>C.cpp
1>Linking...
1>C.obj : error LNK2019: unresolved external symbol "int __cdecl GetValueFromAsm(****)" (?GetValueFromAsm@@YAHXZ) referenced in function _main
1>C:\Directx\AA\Debug\AA.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://c:\Directx\AA\AA\Debug\BuildLog.htm"
1>AA - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========