My Computer Forum Computer Science Forum

Go Back   My Computer Forum > Computer Science Forum > Algorithms

Algorithms Algorithms and Data Structures - Analysis, Graph, Search, String, Sorting, Merge, Compression, Optimization, Quantum


Reply
 
LinkBack Thread Tools Display Modes
April 12th, 2008, 04:45 AM   #1
 
Joined: Apr 2008
Posts: 9
Help me

Hi guys

can any one give me an example of database program??

im only new in studying database. :P

and what is database?? :? :?:

thx for those who help me thx alot.
Programmer is offline  
 

My Computer Forum is free to register and we welcome everyone!

April 12th, 2008, 04:52 AM   #2
 
Joined: Dec 2007
Posts: 232
Re: Help me

SQL Server is one example.

Databases are relational structures for storing data. By relational, I mean that data in different places can be linked in some way. An easy example would be storing name, date of purchase, purchase #. If you just put it in a spreadsheet, you might have

name, date, puchase#
John Smith, April 10 2008, 1001
Jane Public, April 10 2008, 1002
John Q Smith, April 11 2008, 1003

Now the first and last entries might be exactly the same person, but they don't look the same. A relational database would have two tables, one for purchases and one for customers, perhaps like this:

cust#, date, puchase#
1, April 10 2008, 1001
2, April 10 2008, 1002
1, April 11 2008, 1003

cust#, name
1, John Q Smith
2, Jane P. Public

Note that the customer number would probably be displayed as a name in the application, so it's just as convenient (and actually takes up less space). In this example it's too simple to be of much use, but in a large database it's invaluable. Without relational databases many errors creep into the data.
CRGreathouse is offline  
April 12th, 2008, 04:57 AM   #3
 
Joined: Apr 2008
Posts: 9
Re: Help me

thx alot dude

but where can i download a programming language which is flexible and i can use it easy?
as of now im 2nd year college only. what i only have programming language is turbo c++ which i know it very well.

is DevC++ is good or the VisualC++?? and where can i get those programming language??

thx again in advance
Programmer is offline  
April 12th, 2008, 05:25 AM   #4
 
Joined: Dec 2007
Posts: 138
Re: Help me

I would use DevC++ over VisualC++, because then you don't have to rely on the .NET framework. You can download both, but there's a "newer" Dev-C++ called wxDevC++.
Also, jsut a semantic point, Visual C++ may be different enough to call it's own language, but both are programming environments-- compiler, text editor, and other tools.
The language is C++.

Anyway, if you really want to program a database, I would learn php and mySQL. I don't know a whole lot about either, but they interface really well together, and are powerful for database creation. Also, they're both open source

PHP is kind of like C++ mixed with Javascript: it really isn't difficult.
cknapp is offline  
April 12th, 2008, 05:34 AM   #5
 
Joined: Apr 2008
Posts: 9
Re: Help me

ok

but where can i download the same programming language as yours or the DevC++??

and one more question. is DevC++ has a javascript???

please give me a link where to get those programming language
Programmer is offline  
April 12th, 2008, 09:23 AM   #6
 
Joined: Dec 2007
Posts: 232
Re: Help me

I've never liked DevC++. I used gcc for C and C++. No IDE, but those are overrated unless you're writing a GUI.

Quote:
Originally Posted by Programmer
and one more question. is DevC++ has a javascript???
I couldn't catch that, sorry. DevC++ is not JavaScript and does not contain JavaScript, but both C++ and JavaScript are programming languages of sorts -- C++ is a full-fledged object-oriented programming language, and JavaScript/ECMAScript is a scripting language.
CRGreathouse is offline  
April 12th, 2008, 07:09 PM   #7
 
Joined: Apr 2008
Posts: 9
Re: Help me

can any one give me a web site where i can download DevC++??

i need it badly so please help me.
Programmer is offline  
April 12th, 2008, 08:18 PM   #8
 
Joined: Dec 2007
Posts: 232
Re: Help me

I gave a link to you on the other thread when you asked for it. Otherwise, you could just Google for it; it's on the first page. (It's probably the first result, I don't remember.)
CRGreathouse is offline  
September 17th, 2009, 05:56 AM   #9
 
Joined: Sep 2009
Posts: 1
Re: Help me

what is the formal definitions of big O,big Omega, and big Theta notations.
ndineshsankar123 is offline  
Reply

  My Computer Forum > Computer Science Forum > Algorithms



Thread Tools
Display Modes






Copyright © 2018 My Computer Forum Forum. All rights reserved.