Thread: looking for a function

  1. #16
    C++ beginner
    Join Date
    Jun 2004
    Posts
    66
    Quote Originally Posted by Salem
    Oh well,
    letter = static_cast<char>(std::toupper(letter));
    I must say, that seems overly simple - but it works.

    Thanks folks.
    Oh my goodness.

  2. #17
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Quote Originally Posted by mabufo
    I must say, that seems overly simple - but it works.

    Thanks folks.
    I get that a lot - like I've been thinking to much about a problem (the answer is actually really simple).
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  2. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 03:06 PM
  3. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  4. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  5. const at the end of a sub routine?
    By Kleid-0 in forum C++ Programming
    Replies: 14
    Last Post: 10-23-2005, 06:44 PM