How to save coding so that i can send it in a cd?

Anonymous
timer Asked: Jul 7th, 2013
account_balance_wallet $5

Question Description


well. my question is. my assignment to write the same program in 5 different languages. so let say my first one is c# i have to submit the hard copy and the soft copy of the source code.

the instruction on the assignment mention that You are to submit the compiler and the source code for the program. so when i asked my lecturer he just said put it in the cd and when he clicks on it it should run. 

he says that even if he doesnt have the software for the language it should run once clicked on it. is this possible? is yes. how can i save it? how do i do that? im a total noob to this.
and so far ive got the the coding in c#, java and c++.

thank you. 


Tutor Answer

codershelp
School: UT Austin

Hi this can be done by converting your code to executable file.
For eg. In C#, if it is a windows application,in the project folder you can find a folder called BIN, which will contain the .exe file of your project files. Also for executing this from CD your lecturer should need to have the .Net Framework in windows OS.
It does not need .Net software to be installed.

Also for C++,if you have developed it using .Net framework then by the above procedure you can get the .exe for that too.

But for Java the process is different, In Java we don't have .exe files.But we have files called .jar. It is executable file for java programs.
For creating jar files you can follow the process from below link.
http://figmenttech.com/jc/

flag Report DMCA
Review

Anonymous
awesome work thanks

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors