Hi there, I am new to C++, and was wondering if someone could write an example program for me to work with.
What I would like to do is take input from stdin and then display the translate output to stdout.
Example:
Input:
(color 0 0 0.1) // These numbers can be any floating point numbers.
// And there will always be parentheses.
Output:
0 0 0.1 setrgbcolor
I think learning how to do this will be enough to get me on my way.
Any help will be greatly appreciated.