Wondering if someone can help me with this, it is confusing the hell out of me, I don't have enough background to troubleshoot this particular problem. I'm not quite new to programming in C, but I'm no master (yet). I'm using putty for this class. lab1 and lab2 are programs with separate objectives.
Any help would be appreciated. Thanks!
Emily
This is a part of an e-mail I sent to my professor..."~" is the main directory for my user account.
I have written the code for a class lab, but have run into many problems compiling. In short:
-this may have all started because i tried to look at my lab2 file using VI. in trying to exit with what i thought were the correct commands, i may have made changes to the code, but i couldn't see because there was a big mess of numbers and symbols.
-tried to run the file from lab2 again, got "segmentation fault". okay, i say to myself, i'll deal with that later. oh yeah and when i opened w/ pico again it showed more symbols, numbers, etc.
-create new directory while trying to familiarize myself with unix, called "thebox" (no longer in the system). started programming lab1 "temple" project from that directory. figured out that i can only compile from "~". mv file to "~" and try to compile again. no errors, but when i run "temple" i see it has become the lab2 program but what i compiled was the file that i edited for lab1"temple". rewrite the code again from scratch under "Temple" compiles with no error but it too has become the lab2 program. "temple.c"..same thing.