IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
shoto516
-Collapse +Expand Profile◄╣
       Print This   
Personal Account . . .
shoto516
 (Inactive)
USA
Rank: Cadet 1st Year
Email Inactive E USA
Real Name:  shoto516 [Unspecified]
Joined: Mar 2005 (8 years ago)
Visits: 4
Member Points5
Primary Role:  Coder
Location:  USA
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Message Boards Activity

1 posts.
More...

Thread 1 of 1
Thread Starter or a Reply (but not last)  Group

shoto516
C - Sorting a data file - Need Help !!!
I have a small C program that reads in a file and prints out the contents fine. The problem is with sorting that data and getting it to print. What prints out is garbage information, but what numbers of garbage that are printed are sorted, if that helps. Please let me know what I'm missing. I'm using a simple bubble sort and the code is roughly 50 lines. I'm not sure where the data being sorted is coming from, but basically, I need to know how to read in from a file and sort that information to print/or write to another file. Please help !!
Posted to MB Topic: C Language « C++ Board
8 years ago

adamlum
How is the data in the first file formatted, are they character strings, numbers, what?What are you using to store the inputted data in, just an array?   A little more information I think is needed if we are going to be able to help you out...
6 years ago
Nothing New Since Your Last Visit
2630
Hits

C++
-
  Load Time=1 seconds.
 
Print This
-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


327 People Online Now!!  
Online Now: Sign In to see who's online now!  Not a member? Join now. It's free!
Show More...


©1995-2013 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech