Which sort of environment varibles? In Windows? Right-click my computer -> Properties -> Advanced -> Environment Variables -> New... You can creatwe user variables or system variables...
You need to set The CLASSPATH variable which is an argument set on the command-line that tells the Java Virtual Machine where to look for user-defined classes and packages in Java programs. Syntax is...
Assuming you are asking how to do this by hand and not from a program, see below. If you want to write a program you'll need to look on MSDN for the various ways of setting and retrieving environment...
You can use the preprocessor directive #define, or you can describe a variable in the body of main(). With the preprocessor directive you can make the variable accessible even out of your current...