Showing posts with label C plus. Show all posts
Bubble Sorting
There's a lot of methods to sort an array.but here i discussed about Bubble Sorting.
Bubble Sorting
#include<iostream>#include<conio.h>
using namespace std;
int main()
{
int arr[10],temp;
cout<<"Enter The Elements in array";
for(int i=0; i<5;i++)
{
cout<<"Enter Element at index["<<i<<"]\t";
cin>>arr[i];
}
cout<<"\nArray before Sorting\n";
for(int i=0; i<5;i++)
{
cout<<arr[i]<<endl;
}
cout<<"\nArray After Sorting\n";
for(int i=0; i<5;i++)
for(int i=0; i<4;i++)
{
if(arr[i]>arr[i+1])
{
temp=arr[i];
arr[i]=arr[i+1];
arr[i+1]=temp;
}
}
for(int i=0; i<5;i++)
{
cout<<arr[i]<<endl;
}
getch();
}
I hope this is helpful for you.....
Top 10 Online Code Compilers
Internet revolutionizes our life with a lot of facilities like online banking,shopping, booking,blogging etc. we can watch online movies listen songs and many more things.
Programming is also a part of our life, without this everything is incomplete. We use different compilers to run our codes like Dev C++, Visual studio, Turbo C++ etc. But now it so easy we just require to connect through internet and enter our code and run it.
Online Coding :
1. Compile online:
Compile and Execute your favorite programming languages online, through this website. Compile online provide you an ease to run your Code.
2.Online C++ compilers
Many people don't know about online compilers but it's a very good idea and it's very easy for beginners. Online C++ compilers also provides many of the latest compilers with burgeoning C++11 language support.3.Codepad
codepad is an online compiler/interpreter, and a simple collaboration tool.4.Ideone
Ideone is an online compiler and debugging tool which allows you to compile source code and execute it online in more than 60 programming languages.5. Compilr:
Compir i sa new way to write and compile code. This gives a multiple compiler etc C, C#. C++, Java, phyton.
6. Code Twist
Code Twist is also provide a good C++,C etc compiler.
7. ONLINE Compiler
This is the C/C++ Online Compiler.
In online compilers (.net) you can find and use online many compilers ( G CC, MINGW, FORTRAN, JAVA, GPC, FREE BASIC) for the mainstream languages that exist, you can search THE LINUX MANUAL (DEV MAN) PAGES, the JAVA & WIN 32 API'S. Also, i have gathered some material to get you started with programming.8. Compile And Execute C Online
- Compile And Execute C Online
Step - 1 Select your favorite language which you want to execute.
9. DJGPP PUBLIC Access Cross Compiler
Public Access Cross Compiler is another free code compiler.
10. Free PHP Compiler
The free PHP compilers listed on this page can either compile your PHP scripts to native machine code that can run on a computer without a PHP interpreter installed, or compile them into CLI bytecode (which require the .NET or Mono framework to be installed) or Java bytecode (which require a Java virtual machine to be installed).
Top 10 Websites For Learning C++
As you all know about C++. C++ is world wide used programming language. C++ is the basic of all the languages. If you know about C++ then you can learn any language. It is the basic step towards programming.
Therefore, knowing the necessity of C++ i search a lot about C++ and find out top 10 websites for learning C++.
1. MIT COURSE WARE:
MIT is one of the famous engineering university all over the world. This university stands in Top universities all over the world. In this website he gave a clear idea about c++.

Go To MIT Course Ware
2.C programming :
This website is owning by Alex Allian, writer of the book "Jumping into C++". This website is good for beginners or those who have keen interest to leaning C++.
Go to C Programming
Therefore, knowing the necessity of C++ i search a lot about C++ and find out top 10 websites for learning C++.
1. MIT COURSE WARE:
MIT is one of the famous engineering university all over the world. This university stands in Top universities all over the world. In this website he gave a clear idea about c++.

Go To MIT Course Ware
2.C programming :
This website is owning by Alex Allian, writer of the book "Jumping into C++". This website is good for beginners or those who have keen interest to leaning C++.
3. C plus plus
This website is covered all the basic tutorial for beginners, who are interested in to learn C++. The most important thing is that , it divide all the course in a little parts. So it's very easy for learners.
4. An introduction to C++
This is also a good website for learning C++. It basically cover loop, function and file. Good website for keen interested persons.
Go to An introduction to c++
5. About.com
This is very useful site for learning C++. The most important thing is that in this website you can also learn about C, C#.
Go To about.com
6. Beginners C++
This website , i like most from all the websites due to his contents and challenges.
Go to Beginners.com
7. C++ Programming tutorial
Go To C++ Programming tutorial
8. Introduction to C++ Programming
This website is covered all the basic tutorial for beginners, who are interested in to learn C++. The most important thing is that , it divide all the course in a little parts. So it's very easy for learners.
Go To cplusplus.com
4. An introduction to C++
This is also a good website for learning C++. It basically cover loop, function and file. Good website for keen interested persons.
Go to An introduction to c++
5. About.com
This is very useful site for learning C++. The most important thing is that in this website you can also learn about C, C#.
Go To about.com
This website , i like most from all the websites due to his contents and challenges.
Go to Beginners.com
7. C++ Programming tutorial
Go To C++ Programming tutorial
8. Introduction to C++ Programming
9.Introduction to Windows Programming in C++
C++ also used in windows operating system. This is official website of window. in which they tells us the how important is C++.
Go to Windows Programming
10.Pearson
In this website, there's a nice collection of c++ books. You can easily download it and read it.
Go to Pearson

















