ECE 1574 Week1 Lab.pdf

ECE 1574 Week1 Lab.pdf - ECE1574 Problem Solving for...

Info icon This preview shows pages 1–2. Sign up to view the full content.

ECE1574 – Problem Solving for Engineers With C++ Help with your IDE 1 Creating a Dev-C++ Project Dev-C++ needs a project folder whenever you must compile multiple files together. In this situation, the first thing you will want to do is create a project, even if your source code is extremely simple. Here is how you can create a Dev C++ project: After having started Dev-C++, Open the "File" menu, and select "New >" - "Project" to bring up the "New Project" setup window, which is used by Dev-C++ as a Wizard dedicated to the creation of new projects. In the "Basic" tab (that should be the one selected by default), select "Empty Project.” Name the project “LastName” then click "OK" to proceed to the Project Location Selection. The Project will be given the name “” Select the location C:\Dev-Cpp to store the project file (*.dev) and validate the file dialog to save the file. The project having been created, we will now start adding files to it. Dev-C++ gives the possibility to add existing files to a project, but we will in our tutorial restrict ourselves to the creation of a new empty source code file. The one provided automatically by the New Project Wizard will be an excellent starting point. Most lab assignments do not need a “project,” so skip this step and begin your program by creating a source code file, as described in the next section. Creating a new source code file (Lab 0 starts here) Open the "File" menu, then select “New” and “Source File.” Dev-Cpp will give the new source file a default name such as Untitled1.cpp, which you may change to a simple name like lab1.cpp. Do not use spaces or special characters in the filename. Open the "File" menu, then select "Save All". This will save all files that have been modified since the last save. In our case, only the newly created file has been modified, and since it is a
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 2
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '08
  • RPBroadwater

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern