Board index » delphi » urgent - help me with my bad code!! please
Kell
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
urgent - help me with my bad code!! please
I've got a program here that doesn't quite work and I have some ideas why.
What I am trying to do is get the program to read in 3 things. The first is a string/word that will be inserted into a linked list. The second is a substring (char or string) to search for a word that is to be deleted from the list, and the third is a string that is to replace the deleted word. As you can see, I'm bad with strings because I've only really worked with Also, I need to write a procedure that reads in the strings and I'm having Thanks a lot. Here's the code so far : program linked; uses windos, crt; type var procedure newlist(var list: nodeptr); begin new(list); procedure writelist(list: nodeptr); procedure insert(var list: nodeptr) procedure delete(var list: nodeptr); begin clrscr; end. |