Hello, for a homework assignment I need to download a .h, .cpp and .o (which I guess is called an object module?). I'm used to using Visual Studio Express for my programming, but I guess you can't access object modules in Visual Studio so I'm trying to compile them in UNIX (I use putty to connect to my school's server). My question is, how do I add files from my computer to the working directory of the UNIX shell? or alternatively, how do you run object modules in Visual Studio Express?
Regardless of platform you can't run an object file, all you can do is link it to something else to make an executable file or a library.
Do you get an object file from your teacher that should be linked to your code? If so that object file has to be from the same compiler as you use. Unless your teacher provides a MS version of that file you have to change to use the correct compiler (and linker).
Since you already use putty to access the school computer you can use WinSCP to transfer the files.
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
- Brian W. Kernighan
Bookmarks