I am looking for a programm!

This is a discussion on I am looking for a programm! within the C Programming forums, part of the General Programming Boards category; Does anybody knows where I could find a programm in C,which could construct a buffer, with input and output floating ...

  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,386
    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, 06:13 AM
  2. programm will not start
    By keeper in forum C++ Programming
    Replies: 11
    Last Post: 07-03-2006, 07:02 AM
  3. printing with a c programm
    By -11Reaper11- in forum C++ Programming
    Replies: 3
    Last Post: 04-30-2006, 11: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

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