Current Status

Book

Program Phases, A Programming Language and API Translator allows programmers to learn new programming languages by providing simple indexed example programs. Each program illustrates useful, common, and well defined functionality.

Program Phase Task 2
Application Name Console Output
 
Programming Features:
  • Console Application
  • Array Variable Declaration and Assignment
  • Program Name Parsing
  • If Statement
  • For Loop
  • While Loop
  • Console Application Output to Standard Error
Description:
  • Program Phase Task 2 is a console application that simply outputs the program name to standard output.
Sample execution of Program Phase 2-3:

  • The program name is stored in a fixed size array in Program Phase Task 2. The fixed size array is limited to 200 array entries. Each array entry stores a single character from the program name. If the program name including the path exceeds 200 characters, an error message is outputted to standard error.
See Also
  Program Phase List
  Program Phase Task 1 - Console Based Hello World! with Strings
  Program Phase Task 3 - GUI Based Program with Custom Class Def. and Instantiation
  Program Phase Task 4 - GUI Based Program with Main Window