2131312e
-
Upload
dinan-fakhri -
Category
Documents
-
view
213 -
download
0
description
Transcript of 2131312e
-
How to Submit Your Homework
EL2008 Problem Solving with C
-
Things Youll Need
ITBs Network (use VPN if outside)
The following software:
WinSCP
Putty
You can download those softwares at filehippo.com
Ardianto Satriawan / 23213079 2
-
Submitting Homework Consists of 3 Parts
Upload your C files into Server at praktikum.ee.itb.ac.id [using WinSCP]
Recompile and submit in server [using Putty]
Check whether your submission is successful
Ardianto Satriawan / 23213079 3
-
PART 1
EL2008 Problem Solving with C
-
Part 1: Upload your C files into Server
Suppose you have done write your C code in your computer. Lets say the name is hwk1.c
Now, open WinSCP
Ardianto Satriawan / 23213079 5
-
Part 1: Upload your C files into Server
You should see a window like this:
Ardianto Satriawan / 23213079 6
-
Part 1: Upload your C files into Server
Fill the hostname with praktikum.ee.itb.ac.id, username & password with your NIM
Then click Login, answer Yes if prompted
Ardianto Satriawan / 23213079 7
-
Part 1: Upload your C files into Server
You should see a window like this:
The left hand side is your computer and the right hand side is the server
Ardianto Satriawan / 23213079 8
-
Part 1: Upload your C files into Server
Drag your C code from your computer to server:
Congrats! You have uploaded your files. We have done Part 1
Ardianto Satriawan / 23213079 9
-
PART 2
EL2008 Problem Solving with C
-
Part 2: Recompile and submit in server
You have done upload, now what?
Open Putty, you should see a window like this:
Ardianto Satriawan / 23213079 11
-
Part 2: Recompile and submit in server
Fill the Hostname with praktikum.ee.itb.ac.id then click Open
Ardianto Satriawan / 23213079 12
-
Part 2: Recompile and submit in server
A command-prompt like window will appear
Answer login as and password with your NIM
Ardianto Satriawan / 23213079 13
-
Part 2: Recompile and submit in server
Now you will see a window like this.
Now you are logged on the server! The server is fedora machine, if you know some commands, feel free to try.
Ardianto Satriawan / 23213079 14
-
Part 2: Recompile and submit in server
Check whether your file is there, by typing ls
Yes, its there! hwk1.c is there. Now lets try recompile it in server by typing
gcc hwk1.c o hwk1
Ardianto Satriawan / 23213079 15
-
Part 2: Recompile and submit in server
Check if its any error
There is no error, now try to execute it
Ardianto Satriawan / 23213079 16
-
Part 2: Recompile and submit in server
Everthing is fine, now lets submit it
Type perl submit.pl
Well you just need to answer those questions
Ardianto Satriawan / 23213079 17
-
Part 2: Recompile and submit in server
You should see something like this
For problem letter, if it is just one problem, just enter a
Ardianto Satriawan / 23213079 18
-
Part 2: Recompile and submit in server
You should see something like this
For problem letter, if it is just one problem, just enter a
Ardianto Satriawan / 23213079 19
-
Part 2: Recompile and submit in server
If all is successful, you should see something like:
You have done submit your homework!
Now you may wonder, is the assistant really got your submission? Lets get to part 3
Ardianto Satriawan / 23213079 20
-
PART 3
EL2008 Problem Solving with C
-
Part 3: Check whether your submission is successful
In your putty prompt, type mail
You should see your homework if the steps are followed correctly
You can check the details by typing the number of e-mail (e.g. 1)
Ardianto Satriawan / 23213079 22
-
Part 3: Check whether your submission is successful
Check to field it should read [email protected] (me), if so, your submission have been delivered to me
Ardianto Satriawan / 23213079 23
-
Part 3: Check whether your submission is successful
Done!
Type exit to exit mail
Type exit again to exit putty
Now relax, while I do some hard work grading your submission
Ardianto Satriawan / 23213079 24