Static Memory or Heap?
Question: When I creating a class, I declare several large arrays, and some integers within one ofof class function members.Within main, I call new, making the object declared on the
Question: When I creating a class, I declare several large arrays, and some integers within one ofof class function members.Within main, I call new, making the object declared on the
Question: Given: pre>typedef struct{ byte a; byte b; byte c; byte d; byte e;} LETTERS; sizeof(LETTERS) returns eight bytes because of padding by the compiler for alignment.How can I determine
‘ List all the File extensions that are registered in the system” return a bi-dimension string array, where’ arr(0, i) is the file extension’ arr(1, i) is the coresponding ProgID’
Visual Basic stores UDTs in unpacked format, that is it alignes all UDT elements to the double word (except that Integers and Boolean are aligned to the word, and byte
The TreeView control exposes the AfterLabelEdit event to let the programmer validate the text entered in a Node, but there is no way to trap keys as they are typed
VB official documentation seems to encourage you to use “$-less” string functions, e.g. Left, LTrim or UCase, instead of their time-honored Left$, LTrim$ and UCase$ counterparts. If you do so,
The behavior of the LostFocus event has changed in the transition from VB4 to VB5. Under VB4, if a control on a form has the input focus and the user
Here’s a simple test that you can use to determine whether the application is running on a system equipped with a Pentium CPU affected by the FDIV bug: ‘ return
When dealing with proper names, you may want to capitalize the first letter of each word, e.g. convert “john smith” into “John Smith”. Under VB3 you had to write a