Corning Community College
CSCS1320 C/C++ Programming
To get started on the course and semester. Bootstrap your access and configuration of various resources, following instructions, contributing to documentation, and asking questions in the discord.
You will want to go here to edit and fill in the various sections of the document:
Log into Lab46 by opening a terminal. To do this open the start button for Windows and type in CMD for command prompt. On Linux, travel to Applications, System, and open a terminal. Then, input the command “ssh user@lab46.g7n.org”, where “user” is your username. It'll ask you to verify connecting to the host, respond yes. It will ask for a password afterwards and it won't show anything as you type it for security purposes. Congratulations! You are now logged into Lab46. You may disconnect by typing the “exit” command.
The version control we use is mercurial, so the command is “hg” rather than “git”. The other commands, such as “clone”, “pull”, “push”, and etc. are the same. The commands in order to clone (credit to Jess) are below:
hg clone ssh:/ /USER@lab46.g7n.orgvar/repos/hg/user/USER into ~/src hg clone ssh:/ /USER@lab46.g7n.orgvar/repos/hg/user/USER/fall2023 into ~/src/fall2023
In order to get into src, input cd src.
Then, you're going to want to make the directories for CPROG. You can do this using the mkdir command. “mkdir cprog”. You can verify you've done this correctly by putting in ls, which will list the directories. :)
In case of explosion, you can also use the command “fixrepo” which will automatically make everything nice, so…
You can do this by doing echo “whatever you want” > textfilename.txt
The journal is to the left of the screen and underneath content on the left side of the screen towards the top of this web page.
To be successful in this project, the following criteria (or their equivalent) must be met:
Let's say you have completed work on the project, and are ready to submit, you would do the following:
lab46:~/src/SEMESTER/DESIG/PROJECT$ submit DESIG PROJECT file1 file2 file3 ... fileN
You should get some sort of confirmation indicating successful submission if all went according to plan. If not, check for typos and or locational mismatches.
I'll be evaluating the project based on the following criteria:
13:abc0:final tally of results (13/13) *:abc0:submitted information for project by duedate [3/3] *:abc0:got situated in and used class discord [3/3] *:abc0:contributed to project documentation [3/3] *:abc0:committed project related changes to semester repo [4/4]