CS 3060

C++

Lesson 3

Following are some tutorials on how to install and run C++ IDEs on a Windows machine.

30/01/2017 NOTES from Ryan Griebenow

This document details two (2) ways to gain access to a Linux environment. The first method, through “CodingGround”, is the quickest to start up but does not offer much customizability and will be slower to code, compile, and test in. The second method, installing a virtual machine, allows greater customizability and speed.

30/01/2017 NOTES from Wes Pearce

Wes says : "Here's a pretty straight forward tutorial on how to setup cygwin with gcc, g++, and make. And again, Visual Studio Community is absolutely free and I had no problems compiling cpp files on it without even going through the hassle of installing cygwin. Hopefully this helps someone."

30/01/2017 NOTES from Jeff Herbst

Jeff says : "Using visual studios express 2015 I did not need to do anything. It just worked. For codeblocks, eclipse, clion, etc i needed to do the following.I used this link to get me started.

I installed the Graphical User Interface Installer from this site. Make sure to let it use the default location. Once this was installed I selected the C and c++ compiler. Then clicked installation in the top right and hit update all. It took about 20 minutes to complete but once it did everything worked on all the compliers I have tried.Hope this helps."

30/01/2017 NOTES from Gillian Conway / Jason Upchurch my former student.

Gillian says : "f anyone has an earlier version of Windows, here is the video done by Professor Upchurch (this is what he had us use in his C class to command line compile, which worked back when I had Windows 8): This feature is not available right now. Please try again later. It contains all that is needed to install cygwin for simple C, including how to change the path variable to force Windows to acknowledge cygwin. In addition to the gcc, it needs the g++, and gdb options (under the devel category, in the options that pop up after you download from the mirror page). Windows 10 does work with MinGW, and that is able to run through Eclipse(I haven't tried the other IDEs yet). This is a very easy install, if you just follow all the steps and make sure to download the compiler for c++."

 

Lesson 2

CS 3060 :: Jan 22 2017 :: C++ Lesson 01 :: Hello World in Eclipse, CLion, Xcode and Emacs using Mac Terminal from Rory Lewis PhD JD on Vimeo.

19/01/2017 NOTES for next week C++ on a Mac

To code C++ on a Mac you will need to downlaod Xcode from iTunes and the command line tool,

For the latest version of Command Line Tools for Xcode go here: https://developer.apple.com/download/more/

 

19/01/2017 NOTES for next week CODEBLOCKS

For those of you who want to use CodeBlocks - see these two videos.

For the latest version of Command Line Tools for Xcode go here: https://developer.apple.com/download/more/

19/01/2017 NOTES for next week CLION

For those of you who want to use Clion as an IDE here is the free student application form. https://www.jetbrains.com/shop/eform/students

Once you install it make sure your make, C COmpiler and C++ compiler locations are similar to mine.

 

 

Lesson 1

1/18/2017

This is the link to install Eclipse. http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/neon2

If your java version is not working for Eclipse on a Mac - try this to remove the Apple-like Java6 installation open a Terminal and:

sudo rm -rf /System/Library/Java/JavaVirtualMachines/1.6.0.jdk

After this step you should only have Java8 by Oracle installed in your system. To verify, open another terminal and do a:

java -version

It should display something like "java version "1.8.0_XX" where XX is the current update version of the Java7 installation. If not: proceed with the next step.