Printing Flashcards

Learning how to Print in C++

1
Q

To Print a string, int or bool to the screen, what function do you use?

A

cout «

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

At the end of every line what character must be used?

A

; ( a semi-colon)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to make a newline character?

A

&laquo_space;endl; or on a new line cout &laquo_space;endl;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you make a single line comment comment in C++?

A

A double dash at the beginning of the line //

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you make a block comment in C++?

A

A dash and asterisk at the start of the block and a inverted dash and asterisk at the end. /* and */

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an IDE?

A

An integrated development environment is a computer program that makes it easier to write other computer programs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly