comparing strings...

Discussion in 'C Programming' started by Newguy, Oct 12, 2010.

  1. Newguy

    Newguy

    Joined:
    Oct 12, 2010
    Messages:
    1
    I am writing a program for a beginner's C++ class. Part of the assignment requires me to input a grade key of 20 letters from a file and compare it to the answers of students. I have no problem getting the information in the right places, but I can't figure out how to compare these 20 letters to those 20 letters and output a grade based on how many were correct.

    Any ideas?
    Newguy, Oct 12, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. kaeli
    Replies:
    8
    Views:
    581
    Chris Smith
    Nov 18, 2004
  2. HS1

    Comparing two strings

    HS1, Nov 28, 2004, in forum: Java
    Replies:
    3
    Views:
    447
    Rob van der Leek
    Nov 29, 2004
  3. manzur

    comparing strings

    manzur, Mar 7, 2006, in forum: Java
    Replies:
    8
    Views:
    377
    Roedy Green
    Mar 7, 2006
  4. Rick

    Comparing strings from within strings

    Rick, Oct 21, 2003, in forum: C Programming
    Replies:
    3
    Views:
    369
    Irrwahn Grausewitz
    Oct 21, 2003
  5. Ben

    Strings, Strings and Damned Strings

    Ben, Jun 22, 2006, in forum: C Programming
    Replies:
    14
    Views:
    740
    Malcolm
    Jun 24, 2006
Loading...

Share This Page