Skip to main content

C++ Tutorials

How to write a sample Programme in C++ Application













Create a console application using VisualStudio

endl//new line
getch()console.readkey
clrscr() clear screen

#Include <ioStream.h>

void main(){

int a=10;
int b=20;
int c=a+b;
cout<<"Addition Value is "<<c;

or
int a,b,c; //Identifier || variable
a=20;
b=30';
c=a+b;
cout<<"Addition Value is "<<c;
getch();//console readkey



//get the key input from keyboard

#include <ioStream.h>

void Main(){

int a,b,c;
cout<<""Enter a valid number";
cin>>a>>b;
c=a+b;
cout<<"Results"<<c;
getch();









Comments

Popular posts from this blog

Re-sharper Trial Expires Re-usability- Tricks

Re-sharper Trial Expires Re-usability-  Tricks  Re sharper It is a popular developer productivity extension for Microsoft Visual Studio. It automates most of what can be automated in your coding routines. It finds compiler errors, run-time errors, redundancies, and code smells right as you type, suggesting intelligent corrections for them. Note: This document describes precise after the trial expiry of the re-sharper how we can configure on Next 30 Days validity Pros:Development must easier while loading all the Re-sharper Components; Configuration: Uninstall the application from the Control Panel Remove the system Registry entry default Parameter from the below location-HKEY_CURRENT_USER/Softwares/JetBrains(delete the jetbrains folder) Remove the PrgrammeDataFolder behind the sub folder JetBrains Remove the User AppData folder. For all the use cases Done user can restart the Machine After that user able to  Re-install the application ...

How to execute Python Script in PyCharm-Configuration