Changes

Jump to: navigation, search

Assignment 2 (Release 0.1): Q & A

376 bytes added, 22:26, 7 October 2012
Q & A
== Q & A ==
 
'''Q:''' How do you use "void release(void**);" with a (char*) array?<br>
'''A:''' You can do it by casting your array as a (void**) and using the '&' operator to send the address of the array pointer<br>
'''Example:'''
<source lang="cpp">
char* cBuffer;
cBuffer = new char [9001];
release((void**)&cBuffer);</source>
'''Submitted by:''' Julian Burton & Jordan Theriault<br>
'''Q:''' Are we able to toggle the border's visibility or are we only able to toggle the frame's visibility? If yes, the constructor does not receive any information about the visibility of the border, do we assume that the border is visible?<br>

Navigation menu