In need of sugestions for a simple C work

AnbuRick's Avatar, Join Date: Jan 2009
Go4Expert Member
Hey im new around here and i was wondering what was i gonna do for a school project using C (empty projects btw), any1 has any sugestion on what should i do?im just an amateur =P
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Depends on what level of programming you are in and what kind of projects you can handle. Let us know more about it.
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
You could try asking at school what sort of stuff you could do. They may have some good ideas.
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
heh, in fact why not have a look at the homework assignments other people post:
http://www.go4expert.com/showthread.php?t=15815
0
AnbuRick's Avatar, Join Date: Jan 2009
Go4Expert Member
My school is the shitty kinda school,so asking for help here is kinda outta the option list,i can work with stdio.h,conio.h,string.h,a little with fcntl.h and io.h,i think thats all there is to know about my programming and btw i barely work with void cause i dont get what does it exactly do to help

ps: ty for the link xpi0t0s i think i got an idea from that,but if any1 has more sugestions il be more than glad to listen
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
In some languages there is a difference between functions and procedures; the latter do not return values. C doesn't have procedures, only functions, so void is useful to show when a function doesn't return anything. void can also be used to declare a pointer that doesn't point to a specific type, although in C++ the need for this is vastly reduced due to polymorphism.

Have a look through the other threads in the forums to get a handle on what kind of projects others are working on and see if there's anything that takes your fancy.
0
AnbuRick's Avatar, Join Date: Jan 2009
Go4Expert Member
Quote:
Originally Posted by xpi0t0s View Post
In some languages there is a difference between functions and procedures; the latter do not return values. C doesn't have procedures, only functions, so void is useful to show when a function doesn't return anything. void can also be used to declare a pointer that doesn't point to a specific type, although in C++ the need for this is vastly reduced due to polymorphism.

Have a look through the other threads in the forums to get a handle on what kind of projects others are working on and see if there's anything that takes your fancy.
ty for the info and the tip,i think i have an idea on what to do now
0
TriG0rZ's Avatar, Join Date: Oct 2008
Contributor
i did a database system in C, the user would input data, the data would be saved o a file on the harddrive so it wouldnt be lost. Then the user could add, delete, change, modify and more to that data. Print out a recipt and so on. Worked out well got the top marks for it
0
AnbuRick's Avatar, Join Date: Jan 2009
Go4Expert Member
Quote:
Originally Posted by TriG0rZ View Post
i did a database system in C, the user would input data, the data would be saved o a file on the harddrive so it wouldnt be lost. Then the user could add, delete, change, modify and more to that data. Print out a recipt and so on. Worked out well got the top marks for it
what code do u use to save a file on the harddrive using C?and what kind of data was it?like anything at all?that seems a pretty good idea.ive still not assigned the type of program it would be cause im still in search of ideas and some coding information
0
TriG0rZ's Avatar, Join Date: Oct 2008
Contributor
erm shoot cant realy rememer he saving code, was abut of a bugger back then but it saves as a txt file nothing specail. And the data was just smple like: Product Cost total

Ofcourse total would have a forulame saying produc x cost= total and itwould auto put it into that comulmn