Search
 
SCRIPT & CODE EXAMPLE
 

CPP

getch c++ library

#include<iostream.h>
#include<conio.h>

void main()
{
int a=10, b=20;
int sum=0;
clrscr();  // use clrscr() after variable declaration
sum=a+b;
cout<<"Sum: "<<sum;
getch();
}
Comment

getch() c++

#include <conio.h>
int getch();
Comment

PREVIOUS NEXT
Code Example
Cpp :: c++ string remove first character 
Cpp :: string input with space c++ stl 
Cpp :: kruskal in c++ 
Cpp :: capitalize first letter c++ 
Cpp :: infinite loop c++ 
Cpp :: min element c++ 
Cpp :: find in set of pairs using first value cpp 
Cpp :: c++ declaring and initializing strings 
Cpp :: delete last char of string c++ 
Cpp :: round double to n decimal places c++ 
Cpp :: c++ iterate over vector 
Cpp :: c++ char to uppercase 
Cpp :: appending int to string in cpp 
Cpp :: c++ initialize array 1 to n 
Cpp :: use lower bound in pair vector 
Cpp :: c++ function as param 
Cpp :: c++ string contains 
Cpp :: Write C++ program to sort an array in ascending order 
Cpp :: c++ max of array 
Cpp :: c++ cout colored output xcode 
Cpp :: c++ programming language 
Cpp :: count number of set bits C++ 
Cpp :: iterate vector in reverse c++ 
Cpp :: how to use char in c++ 
Cpp :: how to delete a file in cpp 
Cpp :: cpp loop through object 
Cpp :: iterate over vector in c++ 
Cpp :: how to find last character of string in c++ 
Cpp :: union of two arrays leetcode 
Cpp :: json::iterator c++ 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =