Thread: strcmp problem, whats the problem, i cant figure it out!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User valaris's Avatar
    Join Date
    Jun 2008
    Location
    RING 0
    Posts
    507
    *answer=toupper(*answer);
    should be
    toupper(answer);

    bear in mind though your next file is not all uppercase so no it wont be the same as toupper(answer)

  2. #2
    Registered User
    Join Date
    Sep 2008
    Posts
    54
    Quote Originally Posted by valaris View Post
    *answer=toupper(*answer);
    should be
    toupper(answer);

    bear in mind though your next file is not all uppercase so no it wont be the same as toupper(answer)

    Still even like that, even if i enter the letter manually as a cap it still doesnt work.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help with switch statement
    By agentsmith in forum C Programming
    Replies: 11
    Last Post: 08-26-2008, 04:02 PM
  2. Words and lines count problem
    By emo in forum C Programming
    Replies: 1
    Last Post: 07-12-2005, 03:36 PM
  3. Can't figure out problem with code
    By Beast() in forum C Programming
    Replies: 4
    Last Post: 04-16-2005, 05:27 PM
  4. Multithreading problem
    By Bacardi34 in forum C Programming
    Replies: 5
    Last Post: 09-02-2004, 02:26 PM
  5. Can't figure out strcmp error
    By Fyodorox in forum C++ Programming
    Replies: 10
    Last Post: 05-08-2002, 10:18 AM