string is it a keyword

This is a discussion on string is it a keyword within the C++ Programming forums, part of the General Programming Boards category; Im wondering if string is a key word in c++ and why when i include it in my code it ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    2

    Question string is it a keyword

    Im wondering if string is a key word in c++ and why when i include it in my code it keeps giving me errors

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    No. I just created a variable called string and no problem compiling, (other than a warning saying it was unused, VC++ 6.0). There is a STL type string declared in <string>. I guess the next question is how/where are you using this word?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. += operator
    By BKurosawa in forum C++ Programming
    Replies: 8
    Last Post: 08-05-2007, 03:58 AM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 04:45 PM
  3. RicBot
    By John_ in forum C++ Programming
    Replies: 8
    Last Post: 06-13-2006, 06:52 PM
  4. Classes inheretance problem...
    By NANO in forum C++ Programming
    Replies: 12
    Last Post: 12-09-2002, 02:23 PM
  5. creating class, and linking files
    By JCK in forum C++ Programming
    Replies: 12
    Last Post: 12-08-2002, 01:45 PM

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