Discuss generally how you could get a C++ Program running

2. Is C++ case sensitive? How does it affect your coding if C++ is case sensitive?

3. How do you use Library Functions?

Respuesta :

Answer:

1. You can get a C++ program running by building an executable within an integrated development environment (IDE).

2. Yes, C++ is case sensitive. If a developer was naming their variable fooBar compared to foobar, it will recognize each variable differently. This is important because if you define fooBar in the global scope and foobar within a function then it won't generate a conflict; however, when working in a team this could have catastrophic consequences.

3. You can include libraries at the top of your header. A sample include like below.

#include <iostream>

#include <math.h>

The math.h means that it is a header file compared to a standard library.

A sample of how to call a library function could be like:

cin >> fooBar;

or

cout << fooBar;

This would accept keyboard input from the user and then it would show it back to the user afterwards.

Explanation: