Frequently Asked Questions (FAQs)




Q:-  I would like to do my development on the Unix systems at  USC. How do I go about compiling my code?

A:)  The following is to be typed at the command prompt:
        g++ -o  <name of executable> <source file 1> <source file 2> .......  Note that  the labels in the <> are to be
       substituted with your own file namesprocedure
 

Q:-  How to make the g++ compiler work with EzWindows?

A:)  The procedure to make g++ compiler work is as follows:
         open your .cshrc file (emacs .cshrc) at the very bottom add this line:
         setenv LD_LIBRARY_PATH /usr/usc/gnu/gcc/2.95.2/lib
         Save and exit from the shell and relogin again.
 

Q:-  I've tried to use the help facility on the PC's in SAL 126 and SAL 127 and I keep getting an error.

A:)  This sounds like maybe MSDN? documentation was not installed or not installed correctly. Fortunately there is       a  solution, you can click on this hyper-link MSDN Documentation and get access to the same documentation that you would have received on the SAL computers.

Q:- How do I electronically submit assignments?

 A: )  Now you can run the following command to submit all your source codes for the programming assignments:

                submit -user csci102 -tag hw1 AllYourFiles ...

 Please notice that hw1 following option -tag indicates that it is for submission to the first homework. So you need to change the tag name to hw2 when you submit your solutions for our second assignment. You can run submit in either of the USC machines, like aludra.
 
 

Q:- I do my homework on PC's like the ones in SAL 126 and 127. How can I get my source code and output to a Unix machine like Aludra so that I can electronically submit my assignments?

A:)    I warn you that this is a mistake. Using Microsoft's Visual C++ may allow you to create code that will NOT run in the USC Unix environment. If you cannot use emacs, then use an open source programming tool like Eclipse, from IBM. To upload any source from a PC to your Unix account, you must use a software Package like Core-FTP. Go to http://usc.edu/its/downloads.