August 20th, 2013, 10:42 AM
Re: how can i convert write() procedure to cout?
Originally Posted by laserlight
write("hello world" , NewLine, varname1)
'write(' -> 'std::cout <<';
',' - > '<<';
'Newline' -> 'std::endl'
then i can delete the last ')' and add the ';'
(even for Read(varname1) is more or less the same.. except the Read() that must be '_getch()'. the 'cin' don't do the job, i think)
it's easy to translate
Last edited by Cambalinho; August 20th, 2013 at 10:48 AM.
Click Here to Expand Forum to Full Width