Your browser does not seem to support CSS. If images appear below, please disregard them.
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by ">User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a ">Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#8689 - 01/04/05 03:12 AM a c project?  
Joined: Jan 2005
Posts: 4
freeday Offline
Junior Member
freeday  Offline
Junior Member

Joined: Jan 2005
Posts: 4
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

Sponsored Links
#8690 - 01/04/05 03:13 AM Re: a c project?  
Joined: Jan 2005
Posts: 4
freeday Offline
Junior Member
freeday  Offline
Junior Member

Joined: Jan 2005
Posts: 4
china
[EMail address edited out by Gizmo: Either check for followups or don't post.]

#8691 - 01/04/05 12:50 PM Re: a c project?  
Joined: Mar 2002
Posts: 815
sinetific Offline
nobody
sinetific  Offline
nobody

Joined: Mar 2002
Posts: 815
Ann Arbor
Dude, im not going to do your homework for you.

#8692 - 01/05/05 01:39 AM Re: a c project?  
Joined: Jan 2005
Posts: 4
freeday Offline
Junior Member
freeday  Offline
Junior Member

Joined: Jan 2005
Posts: 4
china
I write it in more than 1000 rows.I want to find a better .Just so so.

#8693 - 01/05/05 02:08 AM Re: a c project?  
Joined: Feb 2002
Posts: 7,202
Gremelin Offline
Community Owner
Gremelin  Offline

Community Owner

Joined: Feb 2002
Posts: 7,202
Likes: 11
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, and VNC Web Services Owner
Sponsored Links
#8694 - 01/06/05 12:46 AM Re: a c project?  
Joined: Jan 2005
Posts: 4
freeday Offline
Junior Member
freeday  Offline
Junior Member

Joined: Jan 2005
Posts: 4
china
Since no one can work out it,I will keep quiet.

#8695 - 01/09/05 07:02 PM Re: a c project?  
Joined: Mar 2002
Posts: 1,041
Infinite Offline
UGN Elite Poster
Infinite  Offline
UGN Elite Poster

Joined: Mar 2002
Posts: 1,041
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 wink


Member Spotlight
mtlhd
mtlhd
Los Angeles,CA
Posts: 70
Joined: May 2002
Show All Member Profiles 
Forum Statistics
Forums41
Topics33,702
Posts68,797
Average Daily Posts0
Members2,172
Most Online1,567
Apr 25th, 2010
Latest Postings
Okay WTF?
by HenryMiring on 09/27/17 08:45 AM
The History Thread...
by Gremelin on 08/11/17 07:11 PM
my old account still exists!
by Gremelin on 08/11/17 07:02 PM
My friend NEEDS your HELP!
by Lena01 on 07/21/17 07:06 AM
I'm having fun with this guy.
by gabithompson730 on 07/20/17 08:50 AM
I want to upgrade my phone
by gabithompson730 on 07/20/17 08:49 AM
Newbie here
by gabithompson730 on 07/20/17 08:46 AM
Blackbeard.....
by Gremelin on 01/14/17 07:03 PM
Top Posters(All Time)
UGN Security 41,392
Gremelin 7,202
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 3
Black Beard Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
fleshwound Likes: 1
Ghost Likes: 2
Gremelin Likes: 12
Ice Likes: 1
ninjaneo Likes: 1
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20170206)