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 to validate  n

How to capture the log using USB Lyzer

1.       Here you can see to which port your device is connected in the “Device Tree” tab on the left side. You have to check the boxes for which device you need to capture the logs. For example: I have connected the device in port2 and so the device is listed under port2. In order to capture logs of that device, you have to select all the check boxes of the device listed under the specific port.