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> | |
#include <fstream> | |
#include <string> | |
#include <vector> | |
using namespace std; | |
class Kisi{ | |
private: | |
string _ad; | |
int _yas; | |
public: |
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> | |
#include <string> | |
using namespace std; | |
class sinif{ | |
private: | |
string parametre; | |
public: | |
sinif() | |
{ | |
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> | |
#include <string> | |
#include <vector> | |
using namespace std; | |
class kisi { | |
private: | |
string ad; | |
public: | |
kisi(string ad) { |
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> | |
#include <chrono> | |
using namespace std; | |
void fonk1(string deger) { | |
} | |
void fonk2(string °er) { | |
} |
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> | |
#include <string> | |
using namespace std; | |
class kisi { | |
private: | |
string _ad; | |
int _yas; | |
public: | |
kisi(string ad, int yas) { | |
_ad = ad; |
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> | |
#include <string> | |
using namespace std; | |
class sinif{ | |
string deger; | |
public: | |
static string sabitDeger; | |
sinif(string deger){ | |
this->deger = deger; | |
std::cout << "Yapici cagirildi " << deger << std::endl; |
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 A; | |
class B{ | |
public: | |
void oku(A& a); | |
void yaz(A& a); | |
}; | |
class A{ | |
private: |
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 Uzaklik | |
{ | |
private: | |
int m; | |
public: | |
Uzaklik() : m(0) { } | |
friend int ekle(Uzaklik u, int miktar); |
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 birim { | |
private: | |
int hp; | |
public: | |
void isYap() { | |
cout << "Yaparim" << endl; |
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 sqlite3 | |
db = sqlite3.connect("veritabani.db") | |
cursor = db.cursor() | |
def OgrenciEkle(): | |
ogrenciNo = tbOgrNo.get() | |
ogrenciAdi = tbOgrAdi.get() | |
cursor.execute("INSERT INTO ogrenciler VALUES (?,?)",[ogrenciNo,ogrenciAdi]) | |
db.commit() |
OlderNewer