Thread: Need some good information on Array, strings, and pointers

  1. #1
    Registered User Sshakey6791's Avatar
    Join Date
    Nov 2008
    Location
    -
    Posts
    57

    Post Need some good information on Array, strings, and pointers

    I Know how to do Array, strings, and pointers but i need so more advance stuff on these topics, if any one can help that would be great. And if anyone knows any good advance C++ books that would be a big help as well...... thanks.......

  2. #2
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    Well, what your asking is a bit general. Do you know anything about classes and objects for example? If you don't then you should look them up. Class/object is the main feature of Object Oriented Programming

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    62
    Quote Originally Posted by C_ntua View Post
    Well, what your asking is a bit general. Do you know anything about classes and objects for example? If you don't then you should look them up. Class/object is the main feature of Object Oriented Programming
    Agreed. I have no Idea what you know about strings, pointers or arrays (Do you know that they are all subsets of each other? Arrays = pointers, Strings = array of chars).

    Do you want more advanced info about them? because really, they are quite basic. If you know what they do and how to use them, then you are better off learning about more of the features of C++ rather then dwelling on what a string and a pointer are/can do.

  4. #4
    Registered User
    Join Date
    Mar 2007
    Posts
    416
    As said before, your idea of advanced is most likely not the same as another person's idea of advanced. I found linked lists (doubly, circular, trees) to be a good work out for pointers. But then again I don't know what advanced is in this thread so you may be really good at those.

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Cogman View Post
    Agreed. I have no Idea what you know about strings, pointers or arrays (Do you know that they are all subsets of each other? Arrays = pointers, Strings = array of chars).
    No. Arrays are not pointers. It is true that you do get a pointer to the first element of an array if you pass the array, but other than that...
    Strings are not an array of chars (that's C-style string, not a C++ string, which is the default implied in C++.)
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Syntax for constant array of array pointers
    By BMintern in forum C Programming
    Replies: 4
    Last Post: 05-14-2008, 08:21 AM
  2. Replies: 2
    Last Post: 04-27-2008, 03:39 AM
  3. Arrays, pointers and strings
    By Apropos in forum C++ Programming
    Replies: 12
    Last Post: 03-21-2005, 11:25 PM
  4. Concatenating strings (dynamic array using pointers)
    By Tankndozer in forum C Programming
    Replies: 8
    Last Post: 07-01-2004, 07:27 AM
  5. 2D Array of Pointers
    By Slavakion in forum C++ Programming
    Replies: 12
    Last Post: 03-31-2004, 05:05 PM