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:

// my first program in C++

#include <iostream>
using namespace std;

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

Reference

Topic attachments
I Attachment Action Size Date Who Comment
Docdoc EMACShandout.doc manage 44.5 K 2013-01-31 - 18:05 JimSkon Emacs
Docdoc SSHTunneling_VNC.doc manage 52.5 K 2013-01-31 - 18:05 JimSkon SSH Tunneling
Docdoc UnixCHandout.doc manage 66.5 K 2013-01-31 - 18:05 JimSkon C++ on Linux and Unix
Topic revision: r3 - 2015-02-02 - JimSkon
 
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