strings?

This is a discussion on strings? within the C++ Programming forums, part of the General Programming Boards category; whats the point of strings?what do they do?...

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    28

    strings?

    whats the point of strings?what do they do?

  2. #2
    Registered User
    Join Date
    Oct 2004
    Posts
    19
    First question on this board I could help answer, have a read of this article:

    http://www.cprogramming.com/tutorial/lesson9.html

  3. #3
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    the best answer is a simple one: they make things easier.

    instead of having to watch out for running off the end of the array and remembering to put the '/0' at the end of everything, it will be done for you. it also allows for sorting/searching algorithms and helps further standardize things.

    alot of the things that take dozens of lines of code to do with arrays can be done in a single line with a string.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Strings Program
    By limergal in forum C++ Programming
    Replies: 4
    Last Post: 12-02-2006, 03:24 PM
  2. Programming using strings
    By jlu0418 in forum C++ Programming
    Replies: 5
    Last Post: 11-26-2006, 08:07 PM
  3. Reading strings input by the user...
    By Cmuppet in forum C Programming
    Replies: 13
    Last Post: 07-21-2004, 07:37 AM
  4. damn strings
    By jmzl666 in forum C Programming
    Replies: 10
    Last Post: 06-24-2002, 03:09 AM
  5. menus and strings
    By garycastillo in forum C Programming
    Replies: 3
    Last Post: 04-29-2002, 12:23 PM

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