Help big big problem with C++ STILL! (at 5 posts)
You have to install the Allegro library. I don''t know the details of doing that with MSVC though.
Like smart idiot has suggested, you probably didn''t setup allegro to work with your compiler.
Just do a simple console-based hello world program first before jumping into graphics. Judging by the error you''re getting you probably have that allegro.h file included at the top of your source somewhere. Just remove it so it doesn''t look for that file; you have no use for it at this point anyway -- you need to learn the basics first.
The line probably looks something like this -- not sure of the exact name as I don''t use allegro
--{You fight like a dairy farmer!}
Just do a simple console-based hello world program first before jumping into graphics. Judging by the error you''re getting you probably have that allegro.h file included at the top of your source somewhere. Just remove it so it doesn''t look for that file; you have no use for it at this point anyway -- you need to learn the basics first.
The line probably looks something like this -- not sure of the exact name as I don''t use allegro
#include "allegro.h"
--{You fight like a dairy farmer!}
quote:Original post by Hekki
Yeah but its not only the tetris, even "Hello World" is messing up, thats why i started the tetris with the .txt instead of .cpp, i was following the directions to Learn C++ in 21 Days, not that its actualy possible, and some other tutorials and i cant program anything without that error popping up
You shouldn''t need allegro for a "hello world" program. Are you sure it''s the same error for the hello world?
YES! I got it to say "Hello World"!!!!!! IM A PRO PROGRAMMER! IM GONNA SELL MY "Hello World" PROGRAM AND MAKE MILLIONS!!! ...no im just kidding, but it did work, my very first C++ program is complete! Im so happy. Dude this "Teach Yourself C++ in 21 days" is awesome!
[edited by - hekki on November 8, 2003 10:50:52 PM]
[edited by - hekki on November 8, 2003 10:50:52 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement