How Software Gets Done  


(No Login on Secured Page)

Custom Software Buyers
Request new bids
Search Coders
My Account
 
My Buyer 'To Do' List
 
My bid requests
  My escrow account
 
My General Info
 
Help for Buyers
Articles for Buyers
Latest News
 

Custom Software Coders

Newest open work
Browse all work
Search all work
My Account
 
My Coder 'To Do' List
 
My bids
 
My General Info
  My credit account
 
Help for Coders
Articles for Coders
Latest News
 

Affiliates

My account
 
My pipeline
 
My credit account
 
Help for Affiliates
Latest News
 
Newest Open Bid Requests.
we need an PC security application developed
By Web Worms on Jan 9
Max Bid: Open to fair suggestions


Email Reminder Security Program
By masmedia on Jan 9
Max Bid: Open to fair suggestions


Entertainment Web Page Design
By LPE on Jan 8
Max Bid: Open to fair suggestions


Sending Email from VB 6
By dan_cpph on Jan 8
Max Bid: $45


Simple Shopping Cart/matrix
By DealFactor.com on Jan 8
Max Bid: $100


Redhat 8 Help
By WebMasterFunk on Jan 8
Max Bid: Open to fair suggestions


Click here to put this ticker on your own site

Open Work Categories.
Database 
(144 open)
   Access 
(52 open)
   MySQL 
(69 open)
   Oracle 
(4 open)
   SQL Server 
(45 open)
   Other DB 
(15 open)
Documentation / Tech Writing 
(18 open)
Game Development 
(18 open)
Graphics / Art / Music 
(36 open)
   Graphics 
(49 open)
     3d Animation 
(13 open)
   Art (Misc.) 
(15 open)
   Music 
(7 open)
   3d Modeling 
(8 open)
Language Specific 
(76 open)
   ASP 
(53 open)
   C# 
(39 open)
   C++ / C 
(92 open)
   Cold Fusion 
(9 open)
   Delphi 
(30 open)
   Java 
(35 open)
   Perl 
(32 open)
   PHP 
(72 open)
   XML/XSL 
(28 open)
   Visual Basic 
(145 open)
   Visual Basic .Net 
(63 open)
   Other 
(46 open)
Misc 
(44 open)
   CAD 
(3 open)
MultiMedia 
(27 open)
Network 
(22 open)
   Network Design 
(14 open)
   Network Implementation 
(16 open)
Platforms 
(58 open)
   Windows 
(146 open)
     MS Exchange 
(5 open)
     Other 
(10 open)
   Internet Browser 
(44 open)
   Linux 
(41 open)
   UNIX 
(18 open)
   Hand Held/PDA Programming 
(12 open)
Requirements 
(9 open)
Security 
(22 open)
Testing / Quality Assurance 
(8 open)
Web 
(116 open)
   Page Design 
(61 open)
   Flash 
(37 open)
   Web Services 
(47 open)
   Web (Other) 
(45 open)
Training 
(5 open)
   Computer Based 
(6 open)
 
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Item display
Bid Request Id: 13807
Bookmark in my 'To Do' list
Posted by: BalanusBob (1 ratings)
(Software buyer rating 10)
Posted: Apr 17, 2002
2:24:19 PM EDT
Bidding Closes: Apr 18, 2002
5:39:55 PM EDT
Viewed (by coders): 138 times
Phase:
100% of work was accepted by buyer. Coder account has been credited.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: Language Specific, C++ / C
Enter chat room for this bid request
(0 active users at Jan 9, 2003 3:39:27 AM EDT)

Description:
I have a program where I need to display a list of up to 20 items in two columns instead of one. I can get the items(from a char array Items[20][32]) to display alphabetically down the page after sorting, and using a counter it stops at 20 items. How do i break the display in two, so that I have two equal columns( with one extra item in the first column when there are an odd number of items) and have the two columns be equidistant from each other and from the margins of the page?
I used a for loop with Items[Count]to stop the list at 20 items.

Deliverables:
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. //Then another prompt will tell them to type an element into the list. //They will be told to type "0" when they want to end the list. // A bubble sort will alphabetize the list. Then the ClearScreen and SolidLine //functions will format the output. Finally, the list will be printed. #include <iostream.h> #include <string.h> #include <iomanip.h> #include <stdlib.h> #include <windows.h> void GetString (char [], char []); // Function prototype void clrscr (); // Function prototype void SolidLine (char); //Function prototype void SortBubble (char[][32], int);//Function prototype void main (void) { //The main function calls the other necessary functions without //receiving any, or returning any arguments. It sends two array arguments //to the GetString function, sorts them, and calls the other two functions of the program //as well. From this main function, all formatting and printing are done. char Items[20] [32];//Two dimensional array, with 20 rows, 32 columns. char Title[32];//integer array for input GetString(Title, "Enter the title of your list: "); //Enter values into each row of the array. //Stop when 0 is typed in. for (int Count=0; Count < 20; Count++) { GetString(Items[Count], "Type an element into the list, or 0 to end: "); if (strcmp(Items[Count],"0") ==0) break; } SortBubble( Items, Count ); clrscr(); SolidLine('*'); cout<< "\t\t\t\t"<<Title << endl; SolidLine('*'); /* ///////////// don't know what to do with this commented section. It is probably not relevant here. for(int x =0; x<Count; x++) { for(int y=0;y <=strlen(Items[x]);y++) { cout<<Items[x][y]; if(x%2) cout<<; else cout<<endl; } } */ ////this is the area in question. for (int Index=0; Index< (Count); Index++) { cout<<"\t\t\t\t"<<(Items[Index], Items[0][32]); cout<<"\t\t\t\t"<<(Items[Index], Items[19][32])<<endl; } //if (strlen (Items[Index])) // cout<<"\t\t\t\t"; // else cout<<endl; SolidLine('*'); } //Function definition for Getstring. //This function accepts a two-dimensional integer array as an //argument. The array has 32 columns. The other argument is the number of //rows in the array. void GetString(char Array1 [], char Array2 [] ) { cout<< Array2<<endl; cin.getline(Array1, 32); } //This function sorts the letters of the string as they are entered into the //array. void SortBubble(char Array [][32], int Items) { int Swap; char Temp[32]; do { Swap=0; for (int Index=0; Index < (Items-1); Index++) { if (strcmp(Array[Index], Array[Index +1]) >0) { strcpy(Temp, Array[Index]); strcpy(Array[Index],Array[Index +1]); strcpy(Array[Index +1],Temp); Swap=1; } } }while (Swap !=0); } //This function clears the screen so the heading to the report can be outputted. void clrscr() { HANDLE hStdOut = GetStdHandle(STD_OUTPUT_HANDLE); COORD coord = {0, 0}; DWORD count; CONSOLE_SCREEN_BUFFER_INFO csbi; GetConsoleScreenBufferInfo(hStdOut, &csbi); FillConsoleOutputCharacter(hStdOut, ' ', csbi.dwSize.X * csbi.dwSize.Y, coord, &count); SetConsoleCursorPosition(hStdOut, coord); } //Function SolidLine outputs asterisks to make line. void SolidLine(char Star) { //A for loop for printing same character 80 times. for (int StarCount=0; StarCount < 80; StarCount++) { cout<<Star; } }

Platform:
Windows would be fine.

Special Conditions / Other:
I need this by Thursday, 4/18/02, but, will settle for Friday.


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation, you can report it to: abuse@rentacoder.com.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
Sanatan
(30 ratings)
in amritsar, punjab
India
 
$10 (USD) Apr 17, 2002
4:01:58 PM EDT
 9.6
(Excellent)
   
Don't go for low price coders as this is a project with the time limit.So i assure you if you select my bid you would get the work in time.You can check my ratings.
 
 
 
 
  See 1 private reply(ies)
to/from Sanatan.
 




Quick Search
 

 Advanced Search
Newest Open Work
Latest News

 
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 

Rent A Coder Top Coders.


Anuj Gakhar
Rated a 9.97 on 75 jobs 
Simon Price
Rated a 10 on 6 jobs 
Michael Sharp
Rated a 9.97 on 145 jobs 
RNA
Rated a 9.91 on 25 jobs 
Andrei Remenchuk
Rated a 10 on 9 jobs 
teleCODERS
Rated a 9.93 on 58 jobs 
Codman
Rated a 9.96 on 95 jobs 
markesh
Rated a 10 on 16 jobs 
Securenext
Rated a 9.96 on 46 jobs 
Marcelo Asorey
Rated a 10 on 14 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers
 
Other
Rent A Coder is PayPal verified through it's parent company, Exhedra Solutions, Inc.

Created in partnership with:

 


Affiliate Sites



Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.