954,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

plz help!

hi,i am new to this site where i can chat with people on this site?
is there some one who know a good programmer?
i want to know how to make a program to bubble sort 2d array by using for loops and without using setw in c++. plz reply me!! thank you!

tahir90
Newbie Poster
3 posts since May 2009
Reputation Points: 10
Solved Threads: 0
 

That is quite simple , give it a try , you can finish it in an hour.

ithelp
Nearly a Posting Maven
Banned
2,230 posts since May 2006
Reputation Points: 769
Solved Threads: 128
 

2dimensional buuble sort there may be some syntax errors so check it!
#include
using namespace std;
void main()
{
int a[3][3]={{5,8,2},{9,4,0},{8,1,7}},temp;
for(int i=0;i<4;i++)
{
for(int i1=0;i1<4;i1++)
{
for(int j=0;j<4;j++)
{
for(int j1=0;j1<4;j1++)
{
if(a[i][i1]>a[j][j1])
{
temp=a[i][i1];
a[i][i1]=a[j][j1];
a[j][j1]=temp;
}
}
}
}
cout<

tahir90
Newbie Poster
3 posts since May 2009
Reputation Points: 10
Solved Threads: 0
 

my sorting problem is solved now but i still want to know a programmers address to access who can help me in learning c++. if any programmer have achance to see this post then plz plz contact me at [email]tahir90_ashraf@yahoo.com[/email]. i'll be waiting!!

tahir90
Newbie Poster
3 posts since May 2009
Reputation Points: 10
Solved Threads: 0
 
my sorting problem is solved now but i still want to know a programmers address to access who can help me in learning c++. if any programmer have achance to see this post then plz plz contact me at [email]tahir90_ashraf@yahoo.com[/email]. i'll be waiting!!


Are you going to pay for it ?

ithelp
Nearly a Posting Maven
Banned
2,230 posts since May 2006
Reputation Points: 769
Solved Threads: 128
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You