okay so im trying to test out my code with the virtual keywords and i dont seem to know what is happening here with this error
ERRORCode:#include <iostream> using namespace std; int main() { { cout << "hello my name is dominic test"; } int myass; myass = 1 + 1 =; int dooshbag 2 + 2 =; virtual bool myass *dooshbag; system ("pause"); return 0; }
c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4. 1\..\..\..\libmingw32.a(main.o):main.c|| undefined reference to `WinMain@16'|
iv looked at forums on this and i have made my file a c++ file tbh i think its a linker issue with dlls from windows 7 but thats just a guess at it
or a code error that im not seeing which would be very typical :P
i know my code is not cleaner *cba*
i also tried doing the hashinclude <iostream.h>
maybe im using the virtual keyword wrong and the meaning of it is wrong? doubt it tho



2Likes
LinkBack URL
About LinkBacks




so i can learn from your wording on how to fix it i learn by doing and telling not from reading books infact i hate reading from most books because its mostly very general and bias towards coders and not really friendly at all and doesn't explain the meaning of everything in pure english so one person who isnt a computer geek can go in and understand so he can become a coder geek
im sorry if this ........es you off its not intenshonall 