What is common in all cpp programs? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is common in all cpp programs?

23rd Jul 2016, 5:27 PM
Diljith Nair
Diljith Nair - avatar
5 Answers
+ 1
The first lines: include <iostream> and using namespaces std; Also ,the main() { }function
23rd Jul 2016, 5:37 PM
Vlad Cranga
Vlad Cranga - avatar
0
yeah I agree with this.;) #include<iostream.h> using namespace std; int main() { return 0; } This all is common in all CPP programs.yeah that's it.
23rd Jul 2016, 7:26 PM
Kaivalya Dalvi
Kaivalya Dalvi - avatar
0
I have a bug with s password program im creating and trying to run correctly. Can anyone help?
23rd Jul 2016, 8:00 PM
player_001
player_001 - avatar
0
opp concept is common in all programing
24th Jul 2016, 4:20 PM
Manvendra Singh
Manvendra Singh - avatar
0
The main function is the minimum you have to define. That's why it's common to all C++ programs. Sometimes it might be hidden in a library but nevertheless it's there.
24th Jul 2016, 4:47 PM
Stefan
Stefan - avatar