March 17th, 2013, 08:28 PM
Using an object module in UNIX/Visual Studio
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?
March 18th, 2013, 01:32 PM
Re: Using an object module in UNIX/Visual Studio
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.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!