Skip to content

Commit 2b22b70

Browse files
committed
[Update] Change readme
1 parent b986f9b commit 2b22b70

File tree

4 files changed

+41
-5
lines changed

4 files changed

+41
-5
lines changed

Line23/main.cpp renamed to Hello world/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//
22
// main.cpp
3-
// Line23
3+
// Hello world
44
//
55
// Created by samuel muloki on 11/05/2019.
66
// Copyright © 2019 line23. All rights reserved.

Line23.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@
334334
3BFCD6C12286F98E008D7CCC = {
335335
isa = PBXGroup;
336336
children = (
337-
3BFCD6CC2286F98E008D7CCC /* Line23 */,
337+
3BFCD6CC2286F98E008D7CCC /* Hello world */,
338338
3BFCD6DC2287036C008D7CCC /* calc */,
339339
3B1FFD192287F9EF00581BF4 /* evenOdd */,
340340
3B1FFD242287FE6400581BF4 /* swap */,
@@ -369,12 +369,12 @@
369369
name = Products;
370370
sourceTree = "<group>";
371371
};
372-
3BFCD6CC2286F98E008D7CCC /* Line23 */ = {
372+
3BFCD6CC2286F98E008D7CCC /* Hello world */ = {
373373
isa = PBXGroup;
374374
children = (
375375
3BFCD6CD2286F98E008D7CCC /* main.cpp */,
376376
);
377-
path = Line23;
377+
path = "Hello world";
378378
sourceTree = "<group>";
379379
};
380380
3BFCD6DC2287036C008D7CCC /* calc */ = {

README.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,37 @@
1-
# CPPExamples
1+
# CPPExamples
2+
3+
This repository consists a variety of c++ examples from C++ How to program by deitel 10ed.
4+
5+
## Hello world
6+
- This a starter hello world application.
7+
8+
## Calc
9+
- A simple c++ calculator.
10+
11+
## Classes
12+
This folder defines a CPP starter for Object oriented programming.
13+
- It has a header file *Account.h* that has a class *Account*.
14+
15+
## Control flow
16+
- In this folder you will find a header file *student.h* with a function *getLetterGrade* that uses an if statement and returns a letter grade for each mark.
17+
18+
## CounterControlled
19+
- In this folder under main you will find an example of a while loop.
20+
21+
## EvenOdd
22+
- This takes an input from the user and determines if the number input is even or odd.
23+
24+
## Factorial
25+
- Simple factorial example in c++.
26+
27+
## FileSystem
28+
- Contains c++ file system operations.
29+
30+
## MathLibraryFunctions
31+
- Contins c++ Math library functions
32+
33+
## PrimeNumbers
34+
- Determines if a number input by the user is a prime number
35+
36+
## Swap
37+
- Swap two numbers an display them after swap

0 commit comments

Comments
 (0)