UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
December
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Sponsored Links
Latest Postings
Latest Reviews
Topic Options
Rate This Topic
#8689 - 01/03/05 10:12 PM a c project?
freeday Offline
Junior Member

Registered: 01/03/05
Posts: 4
Loc: china
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

Top
Sponsored Links
      
#8690 - 01/03/05 10:13 PM Re: a c project?
freeday Offline
Junior Member

Registered: 01/03/05
Posts: 4
Loc: china
[EMail address edited out by Gizmo: Either check for followups or don't post.]

Top
#8691 - 01/04/05 07:50 AM Re: a c project?
sinetific Offline
nobody

Registered: 03/02/02
Posts: 815
Loc: Ann Arbor
Dude, im not going to do your homework for you.

Top
#8692 - 01/04/05 08:39 PM Re: a c project?
freeday Offline
Junior Member

Registered: 01/03/05
Posts: 4
Loc: china
I write it in more than 1000 rows.I want to find a better .Just so so.

Top
#8693 - 01/04/05 09:08 PM Re: a c project?
Gremelin Offline

Community Owner
*****

Registered: 02/28/02
Posts: 7193
Loc: Portland, OR; USA
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...
_________________________
Donate to UGN Security here.
UGN Security, Back of the Web, Elite Web Gamers & VNC Web Design Owner

Top
#8694 - 01/05/05 07:46 PM Re: a c project?
freeday Offline
Junior Member

Registered: 01/03/05
Posts: 4
Loc: china
Since no one can work out it,I will keep quiet.

Top
#8695 - 01/09/05 02:02 PM Re: a c project?
Infinite Offline



Registered: 03/09/02
Posts: 1041
Loc: Canada eh
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

Top

Moderator:  Infinite 
Featured Member
Registered: 10/28/14
Posts: 1
Forum Stats
2152 Members
46 Forums
36281 Topics
71451 Posts

Max Online: 1567 @ 04/25/10 05:20 AM
Top Posters
UGN Security 29442
Gremelin 7193
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
cdefgh368568, HushHush, golqm, Tim050, Gecko666
2151 Registered Users
Who's Online
0 registered (), 345 Guests and 325 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!