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


Messages In This Thread
Simple Database By me..... - by syn_attack - 03-10-2011, 02:31 AM
RE: Simple Database By me..... - by N4is3N - 03-10-2011, 03:20 AM
RE: Simple Database By me..... - by Sidom - 03-10-2011, 08:17 AM
RE: Simple Database By me..... - by valefor - 09-08-2011, 09:03 PM
RE: Simple Database By me..... - by NewWorld - 10-09-2011, 08:45 PM
RE: Simple Database By me..... - by 72Dark - 10-10-2011, 09:32 PM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)