In need of sugestions for a simple C work

Go4Expert Member
13Jan2009,16:47   #1
AnbuRick's Avatar
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
Go4Expert Founder
13Jan2009,16:48   #2
shabbir's Avatar
Depends on what level of programming you are in and what kind of projects you can handle. Let us know more about it.
Mentor
13Jan2009,22:06   #3
xpi0t0s's Avatar
You could try asking at school what sort of stuff you could do. They may have some good ideas.
Mentor
14Jan2009,13:32   #4
xpi0t0s's Avatar
heh, in fact why not have a look at the homework assignments other people post:
http://www.go4expert.com/showthread.php?t=15815
Go4Expert Member
14Jan2009,14:34   #5
AnbuRick's Avatar
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
Mentor
14Jan2009,15:05   #6
xpi0t0s's Avatar
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.
Go4Expert Member
14Jan2009,17:56   #7
AnbuRick's Avatar
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
Contributor
15Jan2009,02:18   #8
TriG0rZ's Avatar
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
Go4Expert Member
15Jan2009,03:43   #9
AnbuRick's Avatar
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
Contributor
15Jan2009,04:54   #10
TriG0rZ's Avatar
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