plz help!

Thread Solved
Reply

Join Date: May 2009
Posts: 3
Reputation: tahir90 is an unknown quantity at this point 
Solved Threads: 0
tahir90 tahir90 is offline Offline
Newbie Poster

plz help!

 
0
  #1
May 3rd, 2009
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!
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,782
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 113
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: plz help!

 
0
  #2
May 4th, 2009
That is quite simple , give it a try , you can finish it in an hour.
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 3
Reputation: tahir90 is an unknown quantity at this point 
Solved Threads: 0
tahir90 tahir90 is offline Offline
Newbie Poster

Re: plz help!

 
0
  #3
May 4th, 2009
2dimensional buuble sort there may be some syntax errors so check it!
#include<iostream>
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<<endl;
}
}
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 3
Reputation: tahir90 is an unknown quantity at this point 
Solved Threads: 0
tahir90 tahir90 is offline Offline
Newbie Poster

Re: plz help!

 
0
  #4
May 4th, 2009
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 tahir90_ashraf@yahoo.com. i'll be waiting!!
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,782
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 113
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: plz help!

 
0
  #5
May 5th, 2009
Originally Posted by tahir90 View Post
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 tahir90_ashraf@yahoo.com. i'll be waiting!!
Are you going to pay for it ?
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC