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

Question Description

I’m trying to learn for my Programming class and I’m stuck. Can you help?


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. 


Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

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/

codershelp (16)
UT Austin

Anonymous
The tutor was pretty knowledgeable, efficient and polite. Great service!

Anonymous
Heard about Studypool for a while and finally tried it. Glad I did caus this was really helpful.

Anonymous
Just what I needed… fantastic!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

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