Skip to content

Commit 1caa4cf

Browse files
authored
Problem Program 1
1 parent 86c6862 commit 1caa4cf

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,53 @@ in a readable format, and pauses before the console exits so the user can actual
1010
what is displayed.
1111

1212
Below is a template to start your program:
13+
1314
/*
15+
1416
Your Name - Date Period
17+
1518
Assignment Name : *
19+
1620
Brief Description of the Assignment
21+
1722
*/
23+
1824
// Libraries
25+
1926
#include <iostream> // gives access to cin, cout, endl, <<, >>, boolalpha, noboolalpha
27+
2028
#include <conio.h> // gives access to _kbhit() and _getch() for pause()
29+
2130
// Namespaces
31+
2232
using namespace std; //*
33+
2334
// Functions()
35+
2436
void pause() {
37+
2538
cout << "Press any key to continue . . .";
39+
2640
while (!_kbhit());
41+
2742
_getch();
43+
2844
cout << '\n';
45+
2946
}
47+
3048
// MAIN
49+
3150
void main() {
51+
3252
// Define and Assign your variable(s)
53+
3354
// Display Text
55+
3456
pause(); // pauses to see the displayed text
57+
3558
}
59+
3660
How to Start a New Project :
3761
Open Visual Studios 2015 (Not Blend) Click File and Navigate to New > Project, select that or Press Ctrl+Shift+N
3862
Navigate through Templates to Visual C++, choose General from the drop downs

0 commit comments

Comments
 (0)