Original Post
In DOS I know I can write: cout << "hello"; and have it print to my screen. However, am I correct to assume this won''t work for Linux? Or does it? What about MacOSX, or something else? How am I to know what functions work on any system and what work on a specific system?
How can I write a text output routine (with no assembly obviously, just pure C++) that will output a given string to the monitor? A simple as possible method to doing this would be appreciated. Theory too, not just code samples. I''d like to know how this works.
Can the same method, or any method, be applied to a pixel plotting routine? Sound output? Etc? Can I use simply C++ and nothing else to write a routine that will place a colored pixel on any monitor on any system?
I''m sorry for the fact I generally write thoughts as questions. Please point me in the right direction. Thank you all.