lab01 - – emacs(just run> emacs –...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
CSCI 3081 Lab Session Aaron Halfaker <firstname>.<lastname>@gmail.com
Background image of page 1

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

View Full DocumentRight Arrow Icon
whoami PhD Student Human Computer Interaction Interfaces that support communities Software engineer for ~ 2 years
Background image of page 2
Today Development Environment Itlabs account Go to class webpage for lab Convince you to use a decent IDE Breif intro to EMACS Compilation: Explanation + Demo Header files Source files g++ Activity Computing the volume of a sphere
Background image of page 3

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

View Full DocumentRight Arrow Icon
ITLabs Create and log in to your ITLabs account www-users.itlabs.umn.edu/classes/Spring- 2010/csci3081 Got “Lab Session 1” We will follow this today
Background image of page 4
Development Environment (Editor) Do not use a basic text editor No gedit No notepad No gini Learn to use an editor that will help you write good code
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

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

View Full DocumentRight Arrow Icon
Background image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: – emacs (just run > emacs ) – jEdit (http://jedit.org) Conversion ● conversion.h, conversion.cpp, main.cpp, main2.cpp > g++ -c -o conversion.o conversion.cpp > g++ -o main conversion.o main.cpp Conversion ● conversion.h, conversion.cpp, main.cpp, main2.cpp > g++ -c -o conversion.o conversion.cpp > g++ -o main conversion.o main.cpp > g++ -o main2 conversion.o main2.cpp Sphere Volume ● sphericalTankVolume.h, sphericalTankVolume.cpp, sphericalTankVolumeMain.cpp > g++ -c -o sphericalTankVolume.o sphericalTankVolume.cpp > g++ -o sphere sphericalTankVolume.o sphericalTankVolumeMain.cpp Common Pitfall ● double → int casting truncation in formula – 4/3 == 1 && 4.0/3.0 == 1.333333...
View Full Document

This document was uploaded on 10/21/2011.

Page1 / 8

lab01 - – emacs(just run> emacs –...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online