an application in c to show use of operators
-------------------------------------------------------------------------------
about:-
It is a simple project made in C to show use of different operators.We do not use datafile concept in this.
Screenshot:-
for its video, clickehere
about:-
It is a simple project made in C to show use of different operators.We do not use datafile concept in this.
Screenshot:-
an application in c to show input and output
----------------------------------------------------------------------------------------
about this project:
It contains simply input and output of some data of students. It does not use data file concept. We input and we get output. It is coded in codeblocks IDE.
screenshot:-
Some screenshots are:
video:
Its short video is
or
click here for youtube video
about this project:
It contains simply input and output of some data of students. It does not use data file concept. We input and we get output. It is coded in codeblocks IDE.
screenshot:-
Some screenshots are:
video:
Its short video is
or
click here for youtube video
simple English dictionary project in C
About this project:
This is a mini project developed in C. As we know in English dictionary, we can find word,its meaning,synonym,antonym etc. I have included these(not all) features in this mini project.
It is coded in codeblocks IDE.
screenshot:-
For its short video,
This is a mini project developed in C. As we know in English dictionary, we can find word,its meaning,synonym,antonym etc. I have included these(not all) features in this mini project.
It is coded in codeblocks IDE.
screenshot:-
For its short video,
or
we can also watch on youtube.com using link.
WAP to print hello world without namespace.
//program to print hello world without namespace
#include <iostream>//header file
#include<stdlib.h>//header file for system("cls")
//no namespace here!
int main()
{
system("cls");
std::cout << "Hello world!" << std::endl;//we have used std to handle cout and endl.If we donot use, It will not work.
return 0;
}
#include <iostream>//header file
#include<stdlib.h>//header file for system("cls")
//no namespace here!
int main()
{
system("cls");
std::cout << "Hello world!" << std::endl;//we have used std to handle cout and endl.If we donot use, It will not work.
return 0;
}
WAP to add two numbers without using namespace.
//program to add two numbers without namespace
#include <iostream>//header file
#include<stdlib.h>//header file for system("cls")
//no namespace here!
int main()
{
int number1,number2;
std::cout<<"enter two numbers"<<std::endl;//prints message to input numbers.we must use std.
std::cin>>number1>>number2; //gets inputs using chaining concept.we must use std.
system("cls"); //clears the screen
std::cout<<"number1="<<number1<<std::endl<<"number2="<<number2<<std::endl;//we must use std.
std::cout<<"their sum="<<number1+number2<<std::endl;//we must use std.
return 0;
}
//note: If we do not use namespace or if we donot use "using namespace std;" before int main() then we must useconds_t
// std before all standard characters/words. Otherwise, It will not work.
#include <iostream>//header file
#include<stdlib.h>//header file for system("cls")
//no namespace here!
int main()
{
int number1,number2;
std::cout<<"enter two numbers"<<std::endl;//prints message to input numbers.we must use std.
std::cin>>number1>>number2; //gets inputs using chaining concept.we must use std.
system("cls"); //clears the screen
std::cout<<"number1="<<number1<<std::endl<<"number2="<<number2<<std::endl;//we must use std.
std::cout<<"their sum="<<number1+number2<<std::endl;//we must use std.
return 0;
}
//note: If we do not use namespace or if we donot use "using namespace std;" before int main() then we must useconds_t
// std before all standard characters/words. Otherwise, It will not work.
WAP to clear the screen using system(cls)
//program to clear the screen using system("cls")
#include <iostream>//header file
#include<stdlib.h>//header file to work with system("cls")
using namespace std;//to handle all standard characters/functions,reserved words used in program. we do not use in turboc++ compiler
int main() //main function
{
system("cls");//clears the screen
cout << "Hello world!" << endl;//prints the literal
cout<<"second line "<<endl;//prints the literal
return 0; //returns 0
}
#include <iostream>//header file
#include<stdlib.h>//header file to work with system("cls")
using namespace std;//to handle all standard characters/functions,reserved words used in program. we do not use in turboc++ compiler
int main() //main function
{
system("cls");//clears the screen
cout << "Hello world!" << endl;//prints the literal
cout<<"second line "<<endl;//prints the literal
return 0; //returns 0
}