Thread: I am looking for a programm!

  1. #1
    Unregistered
    Guest

    Question I am looking for a programm!

    Does anybody knows where I could find a programm in C,which could construct a buffer, with input and output floating numbers and then to be able to destroy the buffer?
    if anybody has information about such a programm, I would be gratefull

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    A buffer with input and output? I think you mean you have a buffer which contains elements of type float or double. You want to create it dynamically and destroy it. Am I correct?

    Declare a ptr to the buffer:

    double *buffer;

    Create the buffer:

    buffer = malloc (buffersize);

    Destroy the buffer:

    free (buffer);

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. HexDump Programm....
    By Kdar in forum C Programming
    Replies: 4
    Last Post: 10-03-2006, 05:13 AM
  2. programm will not start
    By keeper in forum C++ Programming
    Replies: 11
    Last Post: 07-03-2006, 06:02 AM
  3. printing with a c programm
    By -11Reaper11- in forum C++ Programming
    Replies: 3
    Last Post: 04-30-2006, 10:31 AM
  4. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 07:18 AM
  5. windowsAPI programm
    By datainjector in forum Windows Programming
    Replies: 8
    Last Post: 03-11-2003, 11:08 PM