Chapter 1: Running Hello, World!

¡Supera tus tareas y exámenes ahora con Quizwiz!

'Hello, World!' C Program

*Hello, World!' C Program

Guidelines on Commenting Code

- Assume the reader already knows the language - Write in full sentences with proper capitalization and puncation - Comment on unusual uses of the langauge - Try to comment in a way that is resilient to code changes - Comment at a high level (Pre/Post) - Convey your intention

The Compiler

A program that takes input source code files - in the case of .cpp and .h files - translates the textural source code found there into machine language, and links together all the predefined parts needed to enable the program to run on the specific computer.

Proper Program Qualities

Correct, Complete, Concise and Clear

Interpreted/Compiled Developmental Environments

Interpreted: Each line is evaluated and executed as it's entered and the results are immediately returned to the console (Python or Ruby). Compiled: Programs are entered into one or more files, then compiled all at once, and if no errors are found, the program can run as a whole (C,C++,C# or Objective-C).


Conjuntos de estudio relacionados

ИНТЕРНЭТ ПРОГРАМЧЛАЛ

View Set

Asking and describing what a place as like

View Set

World Geography A-Unit 3:Mexico, the Caribbean, and Central America

View Set

Chapter 21, Teacher and Counselor

View Set