![]() |
[C++] graphics.h?
I'm very new to C++ so please bare with me.
I just got a textbook from a friend about C++ and it was going fine until it asked me to write a code with the graphics.h header. The problem is this isn't included in Micrsoft Visual Studio and the CD that the book should have had with the file on it can't be found. I've been looking for about 2 days and have come to moderate success. I'm pretty sure I found the source for the header but I have no idea how to make it work in any way. If anyone could give me the file or just tell me how to make it work from the source that would be great. Even if someone suggests another compiler as long as its novice friendly it really doesn't matter. Thanks in advance |
My guess is that the graphics.h file is provided on the textbook publisher's website (as in: it's something that the author wrote), or else in an appendix in the book.
There's no real "one true graphics.h header" |
Thanks for that Pragma. I have no idea why I couldn't think of that myself...
But for some reason when I try to do what the readme file that came with the download, I get an error because I don't have graphics.h. An irony at its best because that is what I'm trying to get to begin with. Anyone have any instructions on how to get it to work with just the .cpp file though? |
Chances are, you're gonna need the .h file - it'd have function prototypes, global variables, macro definitions, etc.
What kind of errors are thrown if you remove the #include "graphics.h" line from the program? |
propaganda , how old is the book? Which compiler is it written for (if any)?
|
All times are GMT -8. The time now is 06:54 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project