Difference: SDLab02015 (1 vs. 7)

Revision 72016-08-16 - RobertKasper

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

Lab 0

Due January 21 by class time.
Line: 8 to 8
 Convert a program from Data Structures to work on the CS server

Links

Changed:
<
<
>
>
 

Step 1

Use SSH to log into cs.mvnu.edu

Line: 21 to 22
 

Step 2

Changed:
<
<
Review the
>
>
Review the Linux Shell tutorial
 

Step 3

Copy and build:

Revision 62016-01-11 - JimSkon

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

Lab 0

Changed:
<
<
Due Feb 10 by class time.
>
>
Due January 21 by class time.
 

Using the CS server for programming

Goal

Revision 52015-02-05 - JimSkon

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

Lab 0

Due Feb 10 by class time.
Line: 40 to 40
  %ENDCODE% Place code in hello.cpp
g++ -o hello hello.cpp
Changed:
<
<
< sticky>Run with "./hello"</sticky>
>
>
Run with "./hello"
 
How to put files on the server

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:
<
<
>
>
 

Revision 32015-02-03 - JimSkon

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

Lab 0

Due Feb 10 by class time.
Line: 6 to 6
 

Goal

Convert a program from Data Structures to work on the CS server

Added:
>
>

Links

 

Step 1

Added:
>
>
Use SSH to log into cs.mvnu.edu

Username: Your email username (before the @)

Password: Your MVNU ID

Once logged in, change your password with passwd

Step 2

Review the

Step 3

 
Copy and build:

%CODE{"c++"}%

Line: 21 to 38
  return 0; }
Changed:
<
<
%ENDCODE% Place code in hello.cpp
g++ -o hello hello.cpp
Run with "./hello"

Step 2

Port your own program
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.
>
>
%ENDCODE% Place code in hello.cpp
g++ -o hello hello.cpp
< sticky>Run with "./hello"
 
Added:
>
>
How to put files on the server
 
Added:
>
>
Use secure copy (scp) or FTP from a MAC or Win computer.
 
Added:
>
>

Step 4

Port your own program
 
Added:
>
>
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.
 

Reference

  • Install putty - Putty can also be used for the tunnel, don't use SSH Secure Shell.

Revision 22015-02-03 - JimSkon

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

Lab 0

Due Feb 10 by class time.
Line: 6 to 6
 

Goal

Convert a program from Data Structures to work on the CS server

Changed:
<
<

Step one

>
>

Step 1

 
Copy and build:

%CODE{"c++"}%

Line: 20 to 20
  cout << "Hello World!"; return 0; }
Added:
>
>
 %ENDCODE% Place code in hello.cpp
g++ -o hello hello.cpp
Run with "./hello"
Added:
>
>

Step 2

Port your own program
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.

 

Reference

Revision 12015-01-30 - JimSkon

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

Lab 0

Due Feb 10 by class time.

Using the CS server for programming

Goal

Convert a program from Data Structures to work on the CS server

Step one

Copy and build:

<-- SyntaxHighlightingPlugin -->
// my first program in C++

#include <iostream>
using namespace std;

int main ()
{
  cout << "Hello World!";
  return 0;
}
<-- end SyntaxHighlightingPlugin -->
Place code in hello.cpp
g++ -o hello hello.cpp
Run with "./hello"

Reference

 
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