View veritabani.sql
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
BEGIN TRANSACTION; | |
CREATE TABLE IF NOT EXISTS `ogrenciDers` ( | |
`ogrenciNo` INTEGER NOT NULL, | |
`dersKodu` TEXT NOT NULL | |
); | |
CREATE TABLE IF NOT EXISTS `ogrenci` ( | |
`ogrenciNo` INTEGER NOT NULL, | |
`ogrenciAdi` TEXT NOT NULL, | |
PRIMARY KEY(`ogrenciNo`) | |
); |
View main.cpp
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 <iostream> | |
using namespace std; | |
class temel { | |
public: | |
temel() { | |
cout << "temel" << endl; | |
} | |
~temel() { | |
cout << "temel yikici" << endl; | |
} |
View virtual.cpp
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 <iostream> | |
using namespace std; | |
class temel { | |
public: | |
temel() { | |
cout << "temel" << endl; | |
} | |
~temel() { | |
cout << "temel yikici" << endl; | |
} |
View virtual2.cpp
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 <iostream> | |
using namespace std; | |
class temel { | |
public: | |
virtual void calis() { //virtual silersek ne olur | |
cout << "temel calisti" << endl; | |
} | |
}; | |
class A : public temel { | |
public: |
View notepad.py
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 tkinter | |
import tkinter.messagebox | |
import tkinter.filedialog | |
import os | |
dosya = None | |
def yeni(): | |
global dosya | |
dosya = None |
View main.cpp
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> | |
struct ip | |
{ | |
unsigned char p1,p2,p3,p4; | |
}typedef Ip; | |
struct bilgi | |
{ | |
Ip ip; | |
int sure; | |
char silindiMi; |
View main.cpp
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 dugum | |
{ | |
int sayi; | |
struct dugum* sonraki; | |
}typedef Dugum; | |
Dugum *kokDugum; | |
void listele() | |
{ |
View main.cpp
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> | |
int stack[10]; | |
int sp=0; | |
void pop() | |
{ | |
if(sp == 0) | |
printf("Stack bos.\n"); | |
else | |
printf("Deger:%d\n",stack[--sp]); |
View main.cpp
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 dugum | |
{ | |
int veri; | |
struct dugum* onceki; | |
struct dugum* sonraki; | |
}typedef Dugum; | |
Dugum *kok; | |
Dugum* indexBul() |
View main.cpp
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 dugum | |
{ | |
int veri; | |
struct dugum* onceki; | |
struct dugum* sonraki; | |
}typedef Dugum; | |
Dugum *kok; | |
Dugum* indexBul() |