Search
 
SCRIPT & CODE EXAMPLE
 

CPP

C++ 4.3.2 (gcc-4.3.2) sample

#include <iostream>
using namespace std; // consider removing this line in serious projects
 
int main() {
	int intNum = 0;
 
	cin >> intNum;
	while (intNum != 42) {
		cout << intNum << "
";
		cin >> intNum;
	}
 
	return 0;
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: tic tac toe in cpp 
Cpp :: frc limelight tracking 
Cpp :: kruskal algorithm in c++ 
Cpp :: std::string(size_t , char ) constructor: 
Cpp :: onactorbeginoverlap c++ 
Cpp :: patterns in c++ 
Cpp :: prime template c++ 
Cpp :: qrandomgenerator bounded 
Cpp :: declare a structer in cpp 
Cpp :: inverse lerp c++ 
Cpp :: opengl triangle example 
Cpp :: iterator c++ 
Cpp :: main function 
Cpp :: c++ variables 
Cpp :: convert from hex to decimal c++ 
Cpp :: equal elements in two arrays in c++ 
Cpp :: pointer to constant 
Cpp :: sinonimo de tratar 
C :: C output color font 
C :: myFgets in c 
C :: read files in c 
C :: C hello workld 
C :: c data types 
C :: remove element from np array 
C :: c 2d array dimensions 
C :: what is strikethrough in markdown 
C :: c fork wait for child 
C :: Graphics in C Draw A Line 
C :: c for loop 
C :: what is string::npos 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =