Difference: SDLab02013 (1 vs. 2)

Revision 22013-01-31 - JimSkon

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

Lab 0

Using the CS server for programming

Line: 21 to 21
 } %ENDCODE% Place code in hello.cpp
g++ -o hello hello.cpp
Run with "./hello"

Reference

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

Revision 12013-01-31 - JimSkon

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

Lab 0

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

META FILEATTACHMENT attachment="EMACShandout.doc" attr="" comment="Emacs" date="1359655512" name="EMACShandout.doc" path="EMACShandout.doc" size="45568" user="JimSkon" version="1"
META FILEATTACHMENT attachment="SSHTunneling_VNC.doc" attr="" comment="SSH Tunneling" date="1359655530" name="SSHTunneling_VNC.doc" path="SSHTunneling_VNC.doc" size="53760" user="JimSkon" version="1"
META FILEATTACHMENT attachment="UnixCHandout.doc" attr="" comment="C++ on Linux and Unix" date="1359655546" name="UnixCHandout.doc" path="UnixCHandout.doc" size="68096" user="JimSkon" version="1"
 
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