Welcome to my J-Term Home Page
Click here for C Programming Course Syllabus
=========================================================
Click here for Instructions for running Eclipse IDE on Mac
Instructions for Downloading and Setting up the Eclipse IDE for Windows
1. Search for Eclipse for C/C++ and then down load the 32-bit
http://www.eclipse.org/downloads/moreinfo/c.php
2. Download it to your desktop.
It might take 10 to 15 minutes to download (60 meg).
You can tell that it is done downloading by the icon - it turns into a folder icon.
3. If it is a zip file, extract the contents, then double click on the Eclipse Application.
It might ask you to download java sdk and jre.
4. Create a "short cut" and move it on to your desktop.
5. Go to your desktop and invoke Eclipse by double clicking on the eclipse short cut.
How to set up Eclipse to begin programming
(Before you can do the following procedure, you need to install Java, jre (java runtime environment),
and GNU compiler.
0. Download and install java, the java runtime environment from http://www.java.com/en.
Also, you need to install GNU compiler gcc 4.7.3+ (from www.equation.com). When you are installing
GNU gcc compiler, it needs to be install in a specific way. Enter MinGW in the window as a
path of where to install it.
1. Double click on the Eclipse short cut, click run in the popup window.
2. Let it default to "workspace", click OK.
3. Go to preferences under the “Window” menu in the tool bar
4. Expand “General”, Select “Workspace” (last on the list), Go to “Textfile Encoding” Select “other”
and pick UTF-8 from the list. Also, on the pick other and pick unix from the pulldown list.
5. Now go to C/C++ and Expand it, then select “CDT Project Wizard” on the popup window.
6. In the Window expand, “Executable”
a. Select Empty project
b. Select MinGW GCC on the right side
c. Then click on the “Make toolchain(s)” at the bottom of the window à OK
7. Go back to “General”, now pick “Editor”, then “Folding”, Check the first 2 check boxes and uncheck
the rest (five of them or so) à OK.
8. Now go to the very top left of the Eclipse window a very little window with a little arrow for pull down,
pull down and pick “Project” (about 3rd one down). Select and expand “General”, select project, then
click next, Enter “C_Programming_Course” for Project Name, (it is better not to include spaces in a name).
9. Now create a new folder, so select “C_Programming_Course” right click, click on “New Folder” in the popup window, click on the “Advanced” button and check the box “Link to folder in the file system”
10. Create one more project. Go to the very top left again as in step#5. This time pick “C Project”.
(note1: MinGW GCC should be selected, if not go back to step #3 and do it again.
11. Working project is where we are going to be doing all of our compiling in our class.
12. We will be copying files from our exercise folder that comes with our book. It contains all the program
exercises that we will study in our textbook.
13. Copy the folder that contains all of these files on to the desktop.
14. We will continue this procedure in class on the first day of J-term.
15. Please send me an email, if you have questions with this procedure.
Click here for C Programming Course Syllabus
=========================================================
Click here for Instructions for running Eclipse IDE on Mac
Instructions for Downloading and Setting up the Eclipse IDE for Windows
1. Search for Eclipse for C/C++ and then down load the 32-bit
http://www.eclipse.org/downloads/moreinfo/c.php
2. Download it to your desktop.
It might take 10 to 15 minutes to download (60 meg).
You can tell that it is done downloading by the icon - it turns into a folder icon.
3. If it is a zip file, extract the contents, then double click on the Eclipse Application.
It might ask you to download java sdk and jre.
4. Create a "short cut" and move it on to your desktop.
5. Go to your desktop and invoke Eclipse by double clicking on the eclipse short cut.
How to set up Eclipse to begin programming
(Before you can do the following procedure, you need to install Java, jre (java runtime environment),
and GNU compiler.
0. Download and install java, the java runtime environment from http://www.java.com/en.
Also, you need to install GNU compiler gcc 4.7.3+ (from www.equation.com). When you are installing
GNU gcc compiler, it needs to be install in a specific way. Enter MinGW in the window as a
path of where to install it.
1. Double click on the Eclipse short cut, click run in the popup window.
2. Let it default to "workspace", click OK.
3. Go to preferences under the “Window” menu in the tool bar
4. Expand “General”, Select “Workspace” (last on the list), Go to “Textfile Encoding” Select “other”
and pick UTF-8 from the list. Also, on the pick other and pick unix from the pulldown list.
5. Now go to C/C++ and Expand it, then select “CDT Project Wizard” on the popup window.
6. In the Window expand, “Executable”
a. Select Empty project
b. Select MinGW GCC on the right side
c. Then click on the “Make toolchain(s)” at the bottom of the window à OK
7. Go back to “General”, now pick “Editor”, then “Folding”, Check the first 2 check boxes and uncheck
the rest (five of them or so) à OK.
8. Now go to the very top left of the Eclipse window a very little window with a little arrow for pull down,
pull down and pick “Project” (about 3rd one down). Select and expand “General”, select project, then
click next, Enter “C_Programming_Course” for Project Name, (it is better not to include spaces in a name).
9. Now create a new folder, so select “C_Programming_Course” right click, click on “New Folder” in the popup window, click on the “Advanced” button and check the box “Link to folder in the file system”
10. Create one more project. Go to the very top left again as in step#5. This time pick “C Project”.
(note1: MinGW GCC should be selected, if not go back to step #3 and do it again.
11. Working project is where we are going to be doing all of our compiling in our class.
12. We will be copying files from our exercise folder that comes with our book. It contains all the program
exercises that we will study in our textbook.
13. Copy the folder that contains all of these files on to the desktop.
14. We will continue this procedure in class on the first day of J-term.
15. Please send me an email, if you have questions with this procedure.