Unresovled external error...
Ugh, i know you guys probably get people with this problem all the time. I know. I've been searching through the forums to see if anyone's had the same problem as i have. Everyone has had it before, but all the solutions that i saw suggested don't work with me.
Now, i'm not a big programming geek. I originally thought i was, and i was going to major in Computer Science, but i'm now changing that to another major. Anyway, i don't know a whole lot. I know enough to get around, but that's it. Anyway, i'm trying to do a programming project for this class. We haven't gone over any sort of graphical programming yet, but our project involves Conway's Game Of Life. All the graphical stuff is already included, so all's we gotta do supply the code that runs the game.
It supposedly runs on OpenGL. Now, i'm pretty sure i've got everything figured out so far. I whittled down all the errors until i had none left. Then i hit F5 and got an external error. Here's the exact code:
I've tried everything. I've tried including other files, creating it as a Win application....i'm not sure what's wrong. One thing i think it might be is a function declaration. In the main function, there's a line that reads "glutMainLoop();", and in class i was told it leads to a function called "void display". I have no idea how this works, and when i was given a skeleton program, it ran fine (though it did nothing). What's up?
life.obj : error LNK2001: unresolved external symbol "void __cdecl display(void)" (?display@@YAXXZ)
Sorry for the length of this post :o