   how to enable video in c++ console
  I am looking every were to find out how to add color to my console programe with out using dos commands and windows stuff.I cant find any referance for adding color to c++ compiler dev-cppDoes any one have ideas sugetions the answer? 
  well, you''re either going to have to use DOS commands or write an app that will run non-consoley (i.e. win32 or MFC or whatever else).  I can''t answer the DOS line of things, but for windows check out SDL or openGL or DirectX.-me ;  so c++ does not have a function or function can not be made to out put simple color like in qbasic? ;This might help, though I am sure this is probably not what you are looking for;quote:Original post by kingpinzs  so c++ does not have a function or function can not be made to out put simple color like in qbasic?   no. c++ only has some pretty basic stuff. ;  is there a way to put "asm" in my code to call basic color functions or screens to put in color so it wont requier microsoft os like to use it in linux and other os''sor is that just to hard to put in and requier 1000 of lines of code? ;  This is getting frustrating. I can not find anything I want.all this with out making me use a spesfic Operating system.How to load another exe inside my program?Change background and foreground colors of my window?How to display data in the hdd?how do I clear the screen?and more to come.How to I wright my own Library files if have to to get what I want? ;  if you use openGL you are not tied to a specific operating system per-say.  you'll have to write your windowing code so that it can run cross platform but that's not really that big of a deal (maybe around 50 lines of code or so that'll have to be different across your platforms).  I think that SDL is also cross-platform and might require less work to get to run cross-platform, but i don't really know.the basic reality is that, for the most part, any time you are writing cross platform code in C/C++ you'll be writing #ifdef blocks in at least a couple of places to deal with a few specialty OS calls.Or you could just port your app over to java and be done.  I believe that the openGL graphics library for java is cross platform out of the box.Just as a bit more info i'll clarify with code about the #ifdef stuff i was talking about in case you're not familliar with the concept: void laundhApplication() {#ifdef WIN32    //write windows specific code here to setup and open your    //application window#else    //write Linux specific code here to setup and open your    //application#endif}that's a really simplified and unrealistic example but in general it's not so hard to write a BasicApplication class that will handle all the cross-platform specifics of launching your application.  Once the app is launched, any openGL or SDL calls will just work without having to worry about any specific OSes.-me   [edited by - Palidine on February 16, 2004 9:21:05 PM];  Windows 9x consoles directly support ANSI control codes. So do *NIX consoles (AFAIK).Windows NT consoles require you to use its character-mode API (MSDN link) “Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.”    — Brian W. Kernighan (C programming language co-inventor) [edited by - Fruny on February 16, 2004 9:20:58 PM];  How to load another exe inside my program?Change background and foreground colors of my window?How to display data in the hdd?ex. like files on the hdd. like a dir command.how do I clear the screen?so I would just make a function ot just print lines or is there a way just to erase the data displayed on the screen.How to I wright my own Library files if have to to get what I want?Isn''t a library something like a compiled class or functions that you can call.Correct me if I am wrong 