devxlogo

Tip Bank

Size of C++ executable

Question: Does one need a runtime DLL for an .exe file written with MFC in Visual C++? Can one make a standalone .exe program with C++ that is small and

NT RAS error codes

Question: Where can I go to decipher Microsoft error codes? I am having trouble making one NT workstation dial in to my RRAS server; I get a TCP/IP error code

Array of pointers.

Question: I need to pass an array of pointers to a class to a function. The function is: void myFunc(myClass *example[]); The problem is that I need to define the

Returning strings from functions

Question: I would like to write a function that receivesan integer and converts this into a string representing the integers value in binary. At the moment I am struggling to

Changing the current directory

Question: How does one change the current working directory of a Java program or a java.lang.Process? The equivalent of the Unix chdir system call seems to be absent. Answer: There

RAND Function

Question: I’m doing a select statement within a stored procedure, which returns several columns. I would like to assign a random number to each column, but when I use the