@@ -6,31 +6,31 @@ We will use the following course notes and examples.
6
6
7
7
[ Learn C Programming] ( https://www.programiz.com/c-programming )
8
8
9
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-01-20-24-01-image.png)
9
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-01-20-24-01-image.png)
10
10
11
11
[ C Tutorials - Introduction to C Programming Language] ( http://www.btechsmartclass.com/c_programming/introduction-to-c-programming.html )
12
12
13
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-01-20-36-21-image.png)
13
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-01-20-36-21-image.png)
14
14
15
15
[ The C and C++ programming tutorials, hands-on approach with program examples, code samples and tons of output images using Visual C++, C++ Builder, Linux gcc and g++ compilers and IDE] ( https://www.tenouk.com/cncplusplustutorials.html )
16
16
17
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-01-20-37-33-image.png)
17
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-01-20-37-33-image.png)
18
18
19
19
[ CS50x 2021] ( https://cs50.harvard.edu/x/2021/ )
20
20
21
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-01-20-38-57-image.png)
21
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-01-20-38-57-image.png)
22
22
23
23
[ C Programming For Dummies] ( https://c-for-dummies.com/cprog/ )
24
24
25
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-01-22-15-25-image.png)
25
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-01-22-15-25-image.png)
26
26
27
27
[ C reference - cppreference.com] ( https://en.cppreference.com/w/c )
28
28
29
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-01-22-12-50-image.png)
29
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-01-22-12-50-image.png)
30
30
31
31
https://c.happycodings.com/
32
32
33
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-01-22-14-59-image.png)
33
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-01-22-14-59-image.png)
34
34
35
35
# C Programming
36
36
@@ -42,9 +42,9 @@ Before starting you should check your development enviroment.
42
42
43
43
** You will open visual studio community edition and create a C++ console application then rename * .cpp file to * .c for triggering c complier.**
44
44
45
- <img src =" file :///E:/UgurCoruh/RTEU/Lectures/2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I/Lectures/Github /Week-5/assets/2021-11-02-01-05-08-image.png" title =" " alt =" " data-align =" center " >
45
+ <img src =" https ://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main /Week-5/assets/2021-11-02-01-05-08-image.png" title =" " alt =" " data-align =" center " >
46
46
47
- <img src =" file :///E:/UgurCoruh/RTEU/Lectures/2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I/Lectures/Github /Week-5/assets/2021-11-02-01-07-41-image.png" title =" " alt =" " data-align =" center " >
47
+ <img src =" https ://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main /Week-5/assets/2021-11-02-01-07-41-image.png" title =" " alt =" " data-align =" center " >
48
48
49
49
Before starting you should understand the executable generation flows
50
50
@@ -84,9 +84,9 @@ There is a sandbox in CS50 harvard course [Week 0 - CS50x](https://cs50.harvard.
84
84
85
85
https://sandbox.cs50.io/ you can use it for online compiler
86
86
87
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-02-01-19-24-image.png)
87
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-02-01-19-24-image.png)
88
88
89
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-02-01-20-49-image.png)
89
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-02-01-20-49-image.png)
90
90
91
91
``` bash
92
92
$ make hello
@@ -97,7 +97,7 @@ hello, world
97
97
98
98
<u >if you want to make samething in windows environment you should create the following makefile near the hello.c</u >
99
99
100
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-02-01-44-09-image.png)
100
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-02-01-44-09-image.png)
101
101
102
102
** Makefile**
103
103
@@ -124,7 +124,7 @@ clean:
124
124
rm -f hello
125
125
```
126
126
127
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-02-01-45-16-image.png)
127
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-02-01-45-16-image.png)
128
128
129
129
``` bash
130
130
C:\U sers\u gur.coruh\D esktop\h ello-make> make hello
@@ -150,7 +150,7 @@ hello, world
150
150
C:\U sers\u gur.coruh\D esktop\h ello-make>
151
151
```
152
152
153
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-02-01-22-34-image.png)
153
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-02-01-22-34-image.png)
154
154
155
155
``` bash
156
156
$ clang hello.c
@@ -160,7 +160,7 @@ $ ./a.out
160
160
hello, world
161
161
```
162
162
163
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-02-01-24-07-image.png)
163
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-02-01-24-07-image.png)
164
164
165
165
``` bash
166
166
$ clang -o hello hello.c
@@ -170,7 +170,7 @@ $ ./hello
170
170
hello, world
171
171
```
172
172
173
- ![ ] ( E:\UgurCoruh\RTEU\Lectures\2021-2022%20Güz%20CE103%20-%20Algorithms%20and%20Programming%20I\Lectures\Github\ Week-5\ assets\ 2021-11-02-01-27-12-image.png)
173
+ ![ ] ( https://raw.githubusercontent.com/ucoruh/ce103-algorithms-and-programming-I/main/ Week-5/ assets/ 2021-11-02-01-27-12-image.png)
174
174
175
175
``` c
176
176
$ ls
0 commit comments