Teen Programmers Unite  
 

 

Return to forum top

C++ build 4.45 images? I know its stupid, but...

Posted by flashpointblack [send private reply] at August 24, 2001, 02:06:30 PM

How do I attach and use an image in a C++ (build 4.45) file? I've looked in books and internet, and neither have any information that's helpful. additionally, when I try to attach the header file <graphics.h> I get this message:
Fatal ..\INCLUDE\GRAPHICS.H 23: Error directive: BGI graphics not supported under Windows
so, I was wondering how I would fix this, if I need to use graphics.h. thanks!

ps: this isn't a homework assignment, its for a program I"m writing... I'm trying to teach myself, and this is all I really need to complete my program.

Posted by CHollman82 [send private reply] at October 01, 2001, 10:16:34 PM

Posted by Psion [send private reply] at August 24, 2001, 03:44:13 PM

I think your compiler is sending you a friendly message that you are using outdated technology, for which you'll be lucky if it works in a modern environment, and you'd be better served learning one of the graphics API's in vogue today. There are a plethora of free C++ compilers available for Windows that you can use if you can't get Borland to do what you want.

Posted by flashpointblack [send private reply] at August 24, 2001, 04:00:01 PM

Psion: What do you use?

Posted by Psion [send private reply] at August 25, 2001, 10:53:46 AM

I use Visual C++ when I need to do Windows-specific things. If I didn't already own it, I'd probably use MingW32, one of the gcc ports to Windows.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.