Compare commits
31 Commits
2255d2f5ca
...
2025-examp
| Author | SHA1 | Date | |
|---|---|---|---|
| bb718cbaef | |||
| 84bdffde6a | |||
| ce90b796b8 | |||
| a662d6ba8b | |||
| 45f7da58f9 | |||
| 1216bc4a03 | |||
| 2b78953677 | |||
| 76f38856ff | |||
| dc07b91a12 | |||
| bde2e44f89 | |||
| 01b39949c2 | |||
| 3ef17fb5ca | |||
|
|
2e65bff62c | ||
|
|
aee4fac48d | ||
|
|
7e3fed1bd5 | ||
|
|
56fa9fee35 | ||
|
|
92130c44dc | ||
|
|
97d77a3ff6 | ||
|
|
9a2eabf5cf | ||
|
|
11abe9c6c7 | ||
|
|
d6283d31cd | ||
|
|
0bb57da7ec | ||
|
|
79f83aa190 | ||
|
|
523764a45c | ||
|
|
119632d026 | ||
|
|
84c1aa6a02 | ||
|
|
c788fa919f | ||
|
|
70b12c1d28 | ||
|
|
391e29cbfd | ||
|
|
da1d77758a | ||
|
|
7b90c42e43 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -53,3 +53,5 @@ flycheck_*.el
|
|||||||
|
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/emacs
|
# End of https://www.toptal.com/developers/gitignore/api/emacs
|
||||||
|
|
||||||
|
.ccls-cache/*
|
||||||
8
.woodpecker/build.yaml
Normal file
8
.woodpecker/build.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
when:
|
||||||
|
- event: [push, pull_request, manual]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: masscollabs/build-essential:latest
|
||||||
|
commands:
|
||||||
|
- make
|
||||||
28
ChangeLog
28
ChangeLog
@@ -1,3 +1,31 @@
|
|||||||
|
2025-07-04 Mert Gör <hwpplayer1@masscollabs>
|
||||||
|
|
||||||
|
* c-basic/CSD-C-Basic-Book/C.pdf: Kitabı incelemeye başladım. En kısa sürede tüm kurslar tekrar gözden geçirilecek.
|
||||||
|
|
||||||
|
2025-06-18 Mert Gör <hwpplayer1@masscollabs>
|
||||||
|
|
||||||
|
* c-basic/CSD-C-Basic-Book/C.pdf: printf fonksiyonundaki format karakterleri scanf fonksiyonunda klavyeden girişi belirlemektedir. Yani örneğin biz
|
||||||
|
pir int değeri printf ile %x kullanarak yazdırırsak bu değer 16'lık sistemde ekrana yazdırılır. Fakat bir int değeri
|
||||||
|
scanf ile %x ile okumak istersek klavyeden yaptığımız girişin 16'lık sistemde olduğu kabul edilir. Örneğin:
|
||||||
|
#include <stdio.h>
|
||||||
|
main()
|
||||||
|
{
|
||||||
|
int a, b;
|
||||||
|
printf("Bir sayi giriniz : ");
|
||||||
|
scanf("%x", &a);
|
||||||
|
printf("a = %d\n", a);
|
||||||
|
}
|
||||||
|
|
||||||
|
2025-06-17 Mert Gör <hwpplayer1@masscollabs>
|
||||||
|
|
||||||
|
* c-basic/CSD-C-Basic-Book/C.pdf: scanf ile 2 sayı girilmesi sayfa 20,21
|
||||||
|
|
||||||
|
2025-06-16 hwpplayer1 <hwpplayer1@masscollabs>
|
||||||
|
|
||||||
|
* c-basic/CSD-C-Basic-Book/C.pdf: Unix/Linux Sistemlerinde Derleme ve Bağlama İşlemi sayfa 11
|
||||||
|
|
||||||
|
* c-basic/CSD-C-Basic-Book/C.pdf: C Temal kitabı baştan okunuyor. Sayı Sistemleri sayfa 4
|
||||||
|
|
||||||
2025-03-21 Mert Gör <mertgor@masscollabs.xyz>
|
2025-03-21 Mert Gör <mertgor@masscollabs.xyz>
|
||||||
|
|
||||||
* c-basic/CSD-C-Basic-Book/C.pdf: printf fonksiyonunda hem float hem de double türleri %f ile yazdırılır. Ancak scanf fonksiyonunda float %f ile,
|
* c-basic/CSD-C-Basic-Book/C.pdf: printf fonksiyonunda hem float hem de double türleri %f ile yazdırılır. Ancak scanf fonksiyonunda float %f ile,
|
||||||
|
|||||||
13
Makefile
Normal file
13
Makefile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
CC = gcc
|
||||||
|
CFLAGS = -Wall -Wextra -std=c11
|
||||||
|
SRCDIR = ./c-basic
|
||||||
|
SRC = $(wildcard $(SRCDIR)/*.c)
|
||||||
|
OBJ = $(patsubst $(SRCDIR)/%.c, $(SRCDIR)/%.o, $(SRC))
|
||||||
|
TARGET = main
|
||||||
|
all: $(TARGET)
|
||||||
|
$(TARGET): $(OBJ)
|
||||||
|
$(CC) $(CFLAGS) -o $@ $^
|
||||||
|
$(SRCDIR)/%.o: $(SRCDIR)/%.c
|
||||||
|
$(CC) $(CFLAGS) -c $< -o $@
|
||||||
|
clean:
|
||||||
|
rm -f $(OBJ) $(TARGET)
|
||||||
BIN
PSD/lto.pdf
Normal file
BIN
PSD/lto.pdf
Normal file
Binary file not shown.
28486
c-basic/CSD-C-Basic-Book/C-OzetNotlar-Ornekler.txt
Normal file
28486
c-basic/CSD-C-Basic-Book/C-OzetNotlar-Ornekler.txt
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,14 +0,0 @@
|
|||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int foo()
|
|
||||||
{
|
|
||||||
printf("I am foo\n");
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
foo();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
printf("Hello C Programming Language 2025 Examples");
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
int a, b;
|
|
||||||
|
|
||||||
printf("Enter your number : ");
|
|
||||||
scanf("%x", &a);
|
|
||||||
printf("a = %d\n", a);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
10
c-basic/main.c
Normal file
10
c-basic/main.c
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include "hex_read_scanf.h"
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
|
||||||
|
hex_scan();
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
int a = 10, b = 20;
|
|
||||||
|
|
||||||
printf("a = %d, b = %d\n", a, b);
|
|
||||||
printf("a ? = %d, b ? = %d\n", b , a);
|
|
||||||
printf("%d%d\n", a, b);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
int a , b ;
|
|
||||||
|
|
||||||
printf("enter a number\n");
|
|
||||||
scanf("%d", &a);
|
|
||||||
|
|
||||||
printf("enter b number\n");
|
|
||||||
scanf("%d", &b);
|
|
||||||
|
|
||||||
printf("a is %d\n", a);
|
|
||||||
printf("b is %d\n", b);
|
|
||||||
|
|
||||||
printf("a is %d b is %d\n", a, b);
|
|
||||||
printf("b is %d a is %d\n", b, a);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
int a;
|
|
||||||
|
|
||||||
printf("enter the a number:");
|
|
||||||
scanf("%d", &a);
|
|
||||||
printf("a number is : %d\n", a);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
int a, b;
|
|
||||||
|
|
||||||
printf("enter two numbers:");
|
|
||||||
scanf("%d%d", &a, &b);
|
|
||||||
|
|
||||||
printf("a = %d, b = %d\n", a, b);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
int a , b , c;
|
|
||||||
|
|
||||||
a = 10;
|
|
||||||
b = 20;
|
|
||||||
c = a + b;
|
|
||||||
printf("C = %d", c);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
0
experimental.txt
Normal file
0
experimental.txt
Normal file
Reference in New Issue
Block a user