C++ dynamic memory allocation for unknown data length?
Results 1 to 2 of 2

Thread: C++ dynamic memory allocation for unknown data length?

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Posts
    10

    C++ dynamic memory allocation for unknown data length?

    hi all,
    can any one tell me how to dynamically memory allocate variable "well sequence for characters" for an unknown data length? i am programming minimal C++ smtp server, and this memory which i will allocate is for the DATA part "message body" which is of course variable length.
    thanks alot

  2. #2
    Ninja Code Monkey
    Join Date
    Nov 2001
    Location
    Washington State
    Posts
    1,027
    Your house has no foundation. You need to take some time and learn c++.
    "When I get a little money I buy books; and if any is left I buy food and clothes." - Erasmus
    "There is no programming language, no matter how structured, that will prevent programmers from writing bad programs." - L. Flon
    "Mischief my ass, you are an unethical moron." - chsh
    Blog of X

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •