hi! i'm new here and i'm a newbie at this programming and stuff..Our project is to create a phone book in pure c language and that it can add, view, search, delete, and edit entries. My problem is that I don't know how to search the name then view the details instead in our codes, when you search, you need to input its contact number and that just kills the use of phone book.<br>

We have the codes but it's not in pure c language, it has c++ codes.We are doing this by pair and most of the codes here are from my classmate I only did a tadbit of editing and debugging. Some also are from the internet. Help please?

If you want "pure C++" meaning "written in C", then lose everything with the comment /* C++ */. If you want "pure C" meaning standard C, then get rid of everything without the comment /* C */.

Then fix your indentation.

Quzah.

10-17-2011

rags_to_riches

Quote:

Our project is to create a phone book in pure c language

Code:

void addPatient();

Maybe you should consider writing your own code, rather than trying to cobble together your project from various disparate Internet sources and dumping it here to try to get us to make it work so you can get a good grade you don't deserve.

You've put together a lot of the code that you could use, but now you need to adapt it to ONE program, and take care of all the details. It's time to review your books or notes, and work with C, much more directly. Cobbling together code, can only go so far - and it won't be far enough -- never is.

Good luck with your assignment.

10-17-2011

quzah

Quote:

Originally Posted by Salem

r2r has pretty much nailed this IMO. No doubt the OP is already looking for another forum to dump this crap on, rather than buckling down to some actual work.