Posts

Download and install DevC++

Image
 Which one is best ide for C/C++ language. DevC++ is best for you if you are a student or beginner. 1:DevC++ Downloading link: https://sourceforge.net/projects/orwelldevcpp/ Advantage: Easy downloading and installing process Easy to use Less memory needed Disadvantage: No 2: Visual studio: Advantage: Easy to code in VS Disadvantage: Download and install process is complicated More memory needed etc. 3: Code block: Advantage: Easy to use Simple interface Disadvantage: Need more data Complex installation process

Input and Output function in C++ language

Image
In this program i will show you Input and Output function in C++ programming language. "CIN" used to get input from user in C++ language.  "COUT" used to show Output after running a program. Program in C++ language using DevC++: Output: Output and Input function Program Source code: #include <iostream> using namespace std; int main(int argc, char** argv) { string a; //declare a variable cout<<"Enter your name: "; //Output function : Show output:Enter your name  cin>>a; //Input function: Get input from user  cout<<a; // Output function: Show output in a variable: }