Thread: c-style string vs. c++-style strings

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    27

    c-style string vs. c++-style strings

    Hy there,

    I'm reading about strings right now and the book I'm using only covers c-style string. It does mention c++-style strings, but it doesn't go into it. Allthough c-style strings seem to be ok, I would like to know more about c++-style strings.

    My question: Does anybody know good resources/tutorials on c++-style strings, so I can get into that aswell?

    Thanks,

    Mbrio

  2. #2
    Unregistered
    Guest
    The problem with the term string is that everyone defines it differently. The term c_style string is frequently used to indicate a naked null terminated string. I presume the term c++ style string is used by your author as the string class located in the standard template library, but I can't say for sure. There are many sources for information about STL and the classes contained therein.

  3. #3
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  4. #4
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    i found this site on google.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  2. Custom String class gives problem with another prog.
    By I BLcK I in forum C++ Programming
    Replies: 1
    Last Post: 12-18-2006, 03:40 AM
  3. RicBot
    By John_ in forum C++ Programming
    Replies: 8
    Last Post: 06-13-2006, 06:52 PM
  4. Replies: 12
    Last Post: 06-08-2005, 11:23 AM
  5. Again Character Count, Word Count and String Search
    By client in forum C Programming
    Replies: 2
    Last Post: 05-09-2002, 11:40 AM