Thread: Please Help me with debugging "Arrays & Functions" in code...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    9

    Question Please Help me with debugging "Arrays & Functions" in code...

    I'm having trouble with setting up the Functions for my program. I have created the program without the use of Functions and it works perfect. However, when I added the functions it will either give me 3-4 errors and/or several warnings when compiling. Can someone tell me what I'm doing wrong with my "Functions" code, and what I need to do to fix it? Thanks!

    Here is the code (Note: this code is supposed to use an input file that has a list of names & numberic grades in string format, I'm supposed to extract the data and sort the names and grades from highest grade to lowest as well as changing the numeric grades to alpha grades, i.e., A B C D F. Then I'm supposed to send the results to an output file.) :

    Code:
     Code was modified and updated below...
    Sorry if I didn't use comments in the code, I figured it was simple enough to understand... If you need them, I will provide an update with comments.
    Once again, Thank you for your help!
    Last edited by FYX193; 04-28-2003 at 08:10 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Proposal: Code colouring
    By Perspective in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 05-14-2007, 07:23 AM
  2. backward debugging in Visual Studio??
    By George2 in forum Tech Board
    Replies: 12
    Last Post: 11-05-2006, 02:17 AM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  4. Updated sound engine code
    By VirtualAce in forum Game Programming
    Replies: 8
    Last Post: 11-18-2004, 12:38 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM