Skip to content

Instantly share code, notes, and snippets.

View muhasturk's full-sized avatar
🇹🇷
🧿👨🏼‍💻

Mustafa Hastürk muhasturk

🇹🇷
🧿👨🏼‍💻
View GitHub Profile
#!/usr/bin/env python3
import time
class Crypto():
def __init__(self):
self.start_time = time.clock()
def gcd_recursive(self, n, m):
@muhasturk
muhasturk / reverse_file.c
Last active September 18, 2023 03:13
Reverse File
#include <stdio.h>
#include <stdlib.h>
int main(int argc, const char * argv[]) {
FILE *file;
file = fopen("./oz.txt", "r+");
if (file == NULL)
{
@muhasturk
muhasturk / main.c
Created July 19, 2015 14:38
Find Highest Value and Its Indexes
//
// main.c
// Gokay -> Find Highest Value and Indexes in Multidimensional Array
//
// Created by Mustafa Hastürk on 19/07/15.
// Copyright (c) 2015 Mustafa Hastürk. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>