Skip to main content

CS107: C++ Programming

Page path
  • Home /
  • Courses /
  • Course Catalog /
  • Computer Science /
  • CS107: C++ Programming /
  • Unit 1: Introduction and Setup /
  • 1.2: How to Compile and Run a C++ Program
Back to 'Unit 1: Introduction and Setup '
  • 1.2: How to Compile and Run a C++ Program

      • 1.2.1: The Linux Way

        •  wikiHow: "How to Compile a C/C++ Program on Ubuntu Linux" URL

          Read this article on how to compile and run a C++ program. Even though you do not yet understand the C++ language, you can follow the operational steps to compile a program from C++ to machine code.

      • 1.2.2: Other Ways with Eclipse

          • 1.2.2.1: Eclipse CDT Download

            • Cave of Programming: "C++Tutorial for Beginners - Installation" Page

              Watch this video to learn how to install the Eclipse CDT.

            • Dr. Tonya Pierce's "Installing Eclipse CDT" Page

              Read this article, which will explain how to install Eclipse CDT. In order to follow these steps, you need to first install Eclipse. You can go to https://www.eclipse.org/downloads/ to download the Eclipse software, which then prepares you for write Java code. However, we want to write code in C++ instead of Java, so we have to take a few additional steps that are different depending on your operating system. Those steps are described in this article.

          • 1.2.2.2: C/C++ Projects Quick Start Tutorial for Eclipse CDT

            • Cave of Programming: "C++ Tutorial for Beginners - Hello World" Page

              Watch this video, which shows how to run a simple C++ program. Then try to create, compile, and run your own Hello World program.

      Navigation

      Art History
      Biology
      Business Administration
      Chemistry
      Communication
      Economics
      English
      History
      Mathematics

      Creative Commons License
      © Saylor Academy 2010-2018 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See www.saylor.org/open/licensinginformation for detailed licensing information.

      Saylor Academy and Saylor.org® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.

      Terms of Use | Privacy Policy