logos and variables

This is a discussion on logos and variables within the C++ Programming forums, part of the General Programming Boards category; Does any one know how to change the logos of your programs in the explorer window? How do you destroy ...

  1. #1
    Frustrated Programmer :( phantom's Avatar
    Join Date
    Sep 2001
    Posts
    163

    logos and variables

    Does any one know how to change the logos of your programs in the explorer window?

    How do you destroy an array from memory so can free up more room.

    James
    My site to register for all my other websites!
    'Clifton Bazaar'

  2. #2
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    if you use the "heap" method...
    Code:
    // i am pretty sure that this line is wrong, so you would have to find how to do this line somewhere else...
    new double number;
    
    // this is the line where you free up the memory...
    delete number;
    
    // As you can see, the new operator creates the memory for the variable and the delete operator frees it up

Popular pages Recent additions subscribe to a feed

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