+ 2

Why we use cout?

Why we use cout?as show main points of programing ,my question is that why we can not use others word such as go ,try ,etc. On the place of cout?

4th Mar 2018, 1:59 PM
gautam raj
gautam raj - avatar
11 Antworten
+ 4
try? go? These words are not even close to cout usage. cout stands for "character/console output".
4th Mar 2018, 4:56 PM
Jakub Stasiak
Jakub Stasiak - avatar
+ 3
You may use things like this : #define print cout int main() { print<<"Hello World!"<<endl; }
4th Mar 2018, 5:05 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 2
i think this quesion is'n for us, it's for c++ founders😅🙄
4th Mar 2018, 2:10 PM
Bogdan Bryzh
Bogdan Bryzh - avatar
+ 2
Everything cannot be according to us and there is a definite reason behind everything!
4th Mar 2018, 2:28 PM
Naveen Maurya
Naveen Maurya - avatar
+ 1
Mr. Gautam, cout stands for console output. We cannot use any word instead of cout in C++ to print something on monitor. There are some particular words having exact meanings which was discovered by Bjarne Stroustrup and we blindly have to follow it.
5th Mar 2018, 10:29 AM
Parul Lonkar
+ 1
^Parul fprintf, printf, C++ derieved them from C, so they are still part of the language. And their function is to print something on screen.
5th Mar 2018, 10:56 AM
Jakub Stasiak
Jakub Stasiak - avatar
+ 1
I think . It's very important for us
7th Mar 2018, 5:20 PM
Min Htet
0
it is for result it is language ..
7th Mar 2018, 12:14 PM
Karmesh Chapagain
0
ekrana çykarmak ucin ulanylyar( turkmen language)
9th Mar 2018, 4:56 AM
Perman Merdanow
Perman Merdanow - avatar
0
you use cout to print any line on the monitor screen before run.
22nd May 2018, 6:32 AM
Saurbh Jangra
Saurbh Jangra - avatar
0
men bilyan ony
24th May 2018, 4:51 AM
Perman Merdanow
Perman Merdanow - avatar