Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Database By me.....
#1
c0de :

Code:
/* creating a simple database */ /* Programmer and Author : Paulus Gandung Prakosa */ /* Compiled and Linked in Microsoft Visual Studio 2010 Ultimate */ #pragma once #include "stdafx.h" #include <iostream> #include <string> #include <cstdlib> #include <conio.h> #define _CRT_SECURE_NO_WARNINGS #define __cplusplus typedef unsigned int _uint; typedef unsigned char _uchar; using namespace std; struct simple_database { char* name; __int64 NIM; char* department; public : void set_db (char* nm, __int64 _num, char* dep) { name = nm; NIM = _num; department = dep; } void get_db() { cout <<"your name is : "<< name << endl; cout <<"your student number is : "<< NIM << endl; cout <<"your department is : "<< department << endl; cout <<'\n'; } }; int main(void) { cout <<"Creating Simple Database"<< endl; cout <<"Programmer and Author : Paulus Gandung Prakosa"<< endl; cout <<"Bot Responding : opening db_query......."<< endl; cout <<"Bot Responding : SUCCESS"<< endl; cout << endl; simple_database _db; _db.set_db("Paulus Gandung Prakosa", 10410200103, "D4 Teknik Informatika"); _db.get_db(); return 0; }
Reply
#2
Bisa di jelasin bro? itu cara pake nya gimana, trus fungsi nya buat apa?
Biar semua tau, Bigsmile
//---------------------------------------------------------------------------------\\
[Image: f8-infinity-banner-boundaries.png]
[Image: Alzeanet.1.gif]

[Image: 893_peraturan.png]
Reply
#3
bro ntar abes di compile cara kerjanya gmn ??? Bingung
Reply
#4
wah gaje ni..
di jelasin donk om,udah di compile,jadi nya kaya apa?
samakah dengan database yang lainnya?
TS nya mana?
Reply
#5
waduh GJ ni TS nya, btw ane mau tanya, ntu buat create DB ato buat koneksi db.
kalau koneksi db, DB nya pakek apa ?
BELAJAR MENJADI LEBIH BAIK LAGI


Ganteng[/code][/php]
Reply
#6
kok ane ga ngerti ya ..
TS ane minta tutor yg jelas donk ..
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Radioactive_16 Membuat Login Sederhana Pada VisualBasic.Net dengan database MySQL hogyz 22 376 10-30-2013, 05:42 PM
Last Post: hogyz
  ( help ) bikin aplikasi untuk database klien gwenbi 0 68 04-02-2012, 12:42 PM
Last Post: gwenbi
  Saving Image To Access Database Jacket^Cyber 16 197 06-08-2011, 06:57 PM
Last Post: rian+-

Forum Jump:


Users browsing this thread: 1 Guest(s)