A minimal C++ program

Edit, save and build the following program.


/***********************************************
* Name:       minimal.cxx
* Author:     Leo Liberti
* Source:     GNU C++
* Purpose:    minimal C++ program
* Build:      c++ -o minimal minimal.cxx
* History:    060818 work started
***********************************************/

#include<iostream> 

int main(int argc, char** argv) {
  using namespace std;
  int ret = 0;

  // your code goes here

  return ret;
} 

Now modify it to print the array of characters argv[0].



Subsections

Leo Liberti 2008-01-12