caps in c++

This is a discussion on caps in c++ within the C++ Programming forums, part of the General Programming Boards category; hey all, i'm wondering why somethings need to be capitalized and others can't. i just spent an hour debugging only ...

  1. #1
    Registered User blight2c's Avatar
    Join Date
    Mar 2002
    Posts
    266

    caps in c++

    hey all, i'm wondering why somethings need to be capitalized and others can't. i just spent an hour debugging only to find out its NULL and not null. i just read the opposite for eof. is there anything else? can they be catagorized in anyway?

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >i'm wondering why somethings need to be capitalized and others can't
    That was a decision made by Bjarne Stroustrup, C++ is case sensitive and you just have to learn what is capitalized and what isn't. Usually through trial and error.

    -Prelude
    My best code is written with the delete key.

  3. #3
    Registered User rmullen3's Avatar
    Join Date
    Nov 2001
    Posts
    330
    Most HL languages are case-sensitive, aside from ones like BASIC... Which is case-sensitive as well, for variable names

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. CAPS LOCK key detect
    By thebrighter in forum Windows Programming
    Replies: 3
    Last Post: 07-20-2007, 10:51 AM
  2. Polar Ice Caps Obviously...
    By jinx in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 05-11-2004, 04:54 PM
  3. getting caps, num, and scroll lock state
    By lambs4 in forum Windows Programming
    Replies: 1
    Last Post: 11-10-2002, 06:50 PM
  4. toggle caps lock on or off
    By tudehopet in forum C++ Programming
    Replies: 4
    Last Post: 06-04-2002, 02:34 PM
  5. Caps....
    By -KEN- in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 02-01-2002, 02:49 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21