comparing strings...

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

  1. Newguy

    Newguy

    Joined:
    Oct 12, 2010
    Messages:
    1
    Likes Received:
    0
    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. Advertisements

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:
    786
    Chris Smith
    Nov 18, 2004
  2. HS1

    Comparing two strings

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

    comparing strings

    manzur, Mar 7, 2006, in forum: Java
    Replies:
    8
    Views:
    555
    Roedy Green
    Mar 7, 2006
  4. Curtis Gilchrist

    Comparing C-Style Strings

    Curtis Gilchrist, Feb 18, 2004, in forum: C++
    Replies:
    5
    Views:
    727
    Default User
    Feb 18, 2004
  5. agent349
    Replies:
    5
    Views:
    10,021
    asingh0412
    Mar 10, 2009
  6. BrianJones

    comparing strings

    BrianJones, Jul 20, 2004, in forum: C++
    Replies:
    6
    Views:
    684
    Default User
    Jul 21, 2004
  7. Rick

    Comparing strings from within strings

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

    Strings, Strings and Damned Strings

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