ok.
im using dev c++ i just selected dll option during the project creation and just copy and pasted the code given above.
and i have obtained a dll file. will it work?
D:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib\libmingw32.a(lib64_libmingw32_a-crt0_c.o) In function `main':
18 h:\crossdev\src\mingw-w64-v3-svn\mingw-w64-crt\crt\crt0_c.c undefined reference to `WinMain'
E:\work\collect2.exe [Error] ld returned 1 exit status
25 E:\work\Makefile.win recipe for target 'Project3.exe' failed
these are the following errors i get when i compile.
please help me.
So many programmers wannabe. If you don't know anything about programming, stop embarrassing yourself and asking stupid questions here ._. . At least learn the basic by yourself first before asking them questions, they are not going to teach every single person ABC.