Thread: Access violation when reading a string.

  1. #16
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    Quote Originally Posted by Desolation View Post
    You know, I'd really love to install boost:tr_vector<> thing but I'm not nerd enough. I can't understand a damn thing of command compilers and it seems wayyy too complicated and long to do.

    http://www.boost.org/more/getting_started.html

    Here's what I'm talking about.

    download boost.
    extract to folder.
    add folder to include path.
    #include <boost/ptr_container/ptr_vector.hpp>

    what's complicated about it? you don't even need to build boost for most libraries. even if you want to use a lib that requires building it's still not that hard.

    If you find that complicated, maybe C++ programming is not for you.
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

  2. #17
    Registered User
    Join Date
    May 2006
    Posts
    903
    What you explained is simple but what is on the page I linked isn't. I'll check that out though. I thought I had to build any library I wanted to use. I'll add the boost folder in my include paths and see if I can make it work that way.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ ini file reader problems
    By guitarist809 in forum C++ Programming
    Replies: 7
    Last Post: 09-04-2008, 06:02 AM
  2. IRC, reading the stream
    By Iyouboushi in forum C# Programming
    Replies: 6
    Last Post: 08-03-2006, 05:34 PM
  3. Program using classes - keeps crashing
    By webren in forum C++ Programming
    Replies: 4
    Last Post: 09-16-2005, 03:58 PM
  4. reading file weird access violation
    By p3p in forum C++ Programming
    Replies: 6
    Last Post: 09-03-2005, 08:06 AM
  5. ........ed off at functions
    By Klinerr1 in forum C++ Programming
    Replies: 8
    Last Post: 07-29-2002, 09:37 PM