if we accessed the header file (iostream.h) could we change the funtion that displays stuff (cout) and cahnge it to (print) so some of us from the basic's could program easer in c++
just a thought and i would like to know if it's possible
^.^
Printable View
if we accessed the header file (iostream.h) could we change the funtion that displays stuff (cout) and cahnge it to (print) so some of us from the basic's could program easer in c++
just a thought and i would like to know if it's possible
^.^
um, you're strange.
Why not just write a wrapper instead. Or a macro.
#define PRINT cout
Although I find this weird and repulsive. Have fun though
It might be cool for you, but not for people that don't understand your changes. ;) And it's way not professional since if you want BASIC, use BASIC, not some bastardized C++. :p
You shouldn't ever make changes to standard header files. Create your own headers that include the standard ones and customize to your heart's content from there. There is always the impulse to change the unfamiliar as a newbie, but you should temper that with the reasoning that, given sufficient time, the strangeness will wear off and evrything will begin to make sense. Then again, judging from your previous posts - maybe not.