I'm kindoff new to C-language so I've got a few questions.
I'm trying to make a program where the user first can enter some text (like in notepad or word or something like that in other words, full lines of text) And then I would like to replace several parts with other things.
More or less like this bulletin board would replace etc. with the appropriate code.
What I want to know is:
What is the best way to replace everything? First write all the input to a file or something like that and then replace or first replace etc.
Is there any function that can replace one part of a string with something else? (allready found something about strstr() )