Answers for "c++ basic code"

C++
0

Simple cpp code

#include<iostream>
using namespace std;

int main()
{
cout << " hello world <<endl;
  
  return 0;
}
Posted by: Guest on January-03-2021
7

how to code in c++

help me i dont now what the freak am doing any more
Posted by: Guest on November-28-2020
0

easy c++ code

// Your First C++ Program

#include <iostream>

int main() {
    std::cout << "Hello World!";
    return 0;
}
Posted by: Guest on November-30-2020
2

c++ basic code

#include <iostream>
#include<conio.h> /* For getch() only */
using namespace std;
int main () {
   int num = 10;
            if (num % 2 == 0)
            {
                cout<<"It is an even number";
            }
getch();  /* getch is the function of conio.h */
}
Posted by: Guest on September-03-2021
3

basic cpp programs

// Your First C++ Program

#include <iostream>

int main() {
    std::cout << "Hello World!";
    return 0;
}
Posted by: Guest on May-15-2020
3

syntax c++

#include<iostream>
using namespace std;
int main()
{
	system("pause"); //To pause the screen
  	return 0; //Not neccessary
}
Posted by: Guest on April-16-2020

Browse Popular Code Answers by Language