a c project?

Posted by: freeday

a c project? - 01/03/05 10:12 PM

using vc6.0
Make a database:
just using char*instead of string,cstring.h;
a) c the way of document
the form of document:
CREATE TABLE table_name
(column_name datatype datalength) [NULL/NOT NULL];

for example:create.txt
create table Student
(
id float(4) NOT NULL;
name char(100) NULL;
grade float(4) NULL;
)
b) i name and the way of document
input the data
for example:
1,aaa,97
2,bbb,87
3,ccc,56
c) s the way of document
the form of document:
select [TOP n] * | {column_name} from table_name
[where
colume_name like | = column_value and | or
[order by column_name [ASC | DESC] ] ]
output:
Execute Time: ms
Execute Result: result of select
d) u the way of document
the form of document:
update table_name
set
colume_name = column_value and | or
[where column_name = column_value]
output:
Execute Time: ms
Execute Result: result of update
e) d
the form of document:
delete from table_name
[where column_name = column_value]
output:
Execute Time: ms
Execute Result: result of delete
f) q quit the project
Posted by: freeday

Re: a c project? - 01/03/05 10:13 PM

[EMail address edited out by Gizmo: Either check for followups or don't post.]
Posted by: sinetific

Re: a c project? - 01/04/05 07:50 AM

Dude, im not going to do your homework for you.
Posted by: freeday

Re: a c project? - 01/04/05 08:39 PM

I write it in more than 1000 rows.I want to find a better .Just so so.
Posted by: Gremelin

Re: a c project? - 01/04/05 09:08 PM

There is a differance between learning to do something and having someone do it for you; browsing what you've done so far it does indeed appear to be homework for a class... generally one signs up for a class to learn, not take an easy way out...
Posted by: freeday

Re: a c project? - 01/05/05 07:46 PM

Since no one can work out it,I will keep quiet.
Posted by: Infinite

Re: a c project? - 01/09/05 02:02 PM

naw...

Don't keep quiet man. Keep posting all you like. What newbs don't realize is that we're telling them when they ask something stuping; not as an insult but as information. Keep plugging away at it and you'll get it sooner or later