libraries

This is a discussion on libraries within the C++ Programming forums, part of the General Programming Boards category; I am looking for what libraries to include when using the mid and len function in c++ builder Thank You...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    12

    libraries

    I am looking for what libraries to include when using the mid and len function in c++ builder
    Thank You

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    Are you referring to the Basic functions mid() and len()?

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    12
    i think so its to find the length of a word and to split up in a word into single letters

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    the <cstring> library (or string.h) has several functions for dealing with character arrays. strlen() gets the length. There is nothing like mid$().

    There's also the stl library (standard template library) which has the string type:

    string str;

    I don't know much about this library. Maybe somone else can reply.

  5. #5
    Registered User
    Join Date
    Nov 2001
    Posts
    12
    Thank You very much

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GCC: Compiling with both static and shared libraries
    By eatwithaspork in forum C Programming
    Replies: 4
    Last Post: 06-23-2008, 01:48 PM
  2. Replies: 7
    Last Post: 05-13-2008, 03:47 AM
  3. MinGW thread-safe runtime libraries
    By Mario F. in forum C++ Programming
    Replies: 3
    Last Post: 08-21-2006, 08:15 AM
  4. Libraries and headers
    By darksaidin in forum C++ Programming
    Replies: 10
    Last Post: 07-23-2003, 06:24 AM
  5. QT and external libraries
    By Quacker in forum Linux Programming
    Replies: 1
    Last Post: 04-08-2003, 07:02 AM

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