Difference: SDLab02015 (3 vs. 4)

Revision 42015-02-03 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="SoftwareDevelopment2015"

Lab 0

Due Feb 10 by class time.
Line: 38 to 38
  return 0; }
Changed:
<
<
%ENDCODE% Place code in hello.cpp
g++ -o hello hello.cpp
< sticky>Run with "./hello"
>
>
%ENDCODE% Place code in hello.cpp
g++ -o hello hello.cpp

< sticky>Run with "./hello"</sticky>

 
How to put files on the server
Line: 51 to 51
  You goal is to select a program from Data Structures and get it to run on the our Linux Server. The program must be at least 100 lines of code.
Added:
>
>
If your program has multiple source files, copy them all, includeing the .h files, and then do the following:

Assume you have the following sources:

  • a.cpp
  • a.h
  • b.cpp
  • b.h
  • main.cpp
Then:

<-- SyntaxHighlightingPlugin -->
user% g++ -c a.cpp
user% g++ -c b.cpp
user% g++ -c main.cpp
user% g++ -o main a.o b.o main.o
<-- end SyntaxHighlightingPlugin -->

Turn in

  1. Screen shoot(s) of your running program
  2. A brief writeup of your experience: What problems you encountered, what you learned.
 

Reference

Changed:
<
<
>
>
 
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback