This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
void yazma(); | |
void okuma(); | |
int main(void){ | |
/* w = yazmak icin olusturuyor // write | |
* r = okumak icin aciyor // r = read | |
* a = dosyanin sonuna ekleyerekten yazmak icin aciyor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void yazma(); | |
void okuma(); | |
int main(void){ | |
// fprintf - fscanf | |
yazma(); | |
okuma(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
struct dersOrtalamasi{ | |
char isim[20]; | |
int fullPuan; | |
int alinanPuan; | |
}; | |
struct dersOrtalamasi *structOlusturma(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Video dersi icin : https://www.youtube.com/watch?v=OXlU6ygdjMY | |
#include <stdio.h> | |
#include <string.h> | |
struct calisanBilgileri{ | |
char isim[15]; | |
int yas; | |
int aylikMaas; | |
}kisiProfili={ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ders Videosu için : https://www.youtube.com/watch?v=5x4aXi2iEJo&t=25s | |
#include <stdio.h> | |
#include <stdlib.h> | |
int main(void){ | |
// (array1) | |
// 0x4 -> (array2) 0x9 0x7 0x1 | |
// 0x3 | |
// 0x5 | |
sranddev(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define MAX 500 | |
struct yazarinIsmi{ | |
char onIsim[20]; | |
char soyIsim[20]; | |
}; | |
struct kitap{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
int main(void){ | |
FILE *fp = fopen("/Users/keremdede/Desktop/prodan.txt", "a+"); | |
for (int i = 0; i < 10; ++i) { | |
fprintf(fp, "Buda bizim %d satirimizi ifade ediyor\n", i); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Assert; | |
import org.junit.Before; | |
import org.junit.Test; | |
import java.util.LinkedList; | |
import java.util.Random; | |
public class testKnapsack { | |
private Knapsack knapsackGlo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def insertion_sort(dizi: list): | |
for j in range(1, len(dizi)): | |
guncel = dizi[j] | |
i = j - 1 | |
while i >= 0 and dizi[i] > guncel: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
""" | |
Bu programin amaci, birbiri icine gecirilmis dosyalardaki fotograflarin hepsini toplayip belli bir dosyaya copyalamak | |
""" | |
def dosyaya_gir_ve_olan_fotolari_kopyala(kopyalanacak_adres: str, girilen_dosyanin_adresi: str): | |
os.chdir(girilen_dosyanin_adresi) |
OlderNewer