C++

Ace your homework & exams now with Quizwiz!

what is as function?

A group of one or more programming statements that collectively has a name

What is a namespace?

A namespace is a name to refer to storage. The actually storage (or entites) will have a different name for example namespace : A namespace : B namespace :c

What does // do?

Creates notes that do no eff the code

What does the preprocessor read?

It reads your program before it runs/compiled and only executes those lines beginning with a #

What does #include do?

It tells the preprocessor to "include" files to the program

every C++ program must have a ___ the ___ is where the program starts.

Main, main

int main() marks ____

The beginning of a function

Explain using namespace std;

The program will be "using" namespace (entities) that is in std

What does C++ use "namespace"

To organize entities.

Where should header files be located?

Top of the program

what does <iostream> allow C++ programs do?

allows a C++ program to display output on the screen and read input from the keyboard

what does "int" stand for?

integer

#include <iostream> is ____ because it starts with a #.

preprocessor directive


Related study sets

ASA-Communication and Navigation Systems

View Set

Autoimmune and Arthritis Billings Questions

View Set

MCCC PSY 101 FINAL EXAM WINTER 2020

View Set

Joint Play Assignment Q's MHVicars

View Set