Thanks a million, that did the trick. Such a stupid mistake :)
(also had to insert a few other things, but now it works)
Type: Posts; User: Talos
Thanks a million, that did the trick. Such a stupid mistake :)
(also had to insert a few other things, but now it works)
sprintf(temp,"%s",pos);
strncat(res,zin,(strlen(zin)-strlen(temp)));
strcat(res,Vervang);
sprintf(temp,"%s",pos+strlen(Kode));
strcat(res,temp);
strcpy(zin,res);
Adapted this a bit. I found...
Hi
Can someone find out what is wrong? Program reads input from the keyboard and should replace some strings that are found in 'opmaak.txt' I found that the Content of 'Kode' changes when...
The code I posted earlier wasn't code I wrote, but I have begun writing my own code.
The first thing that I want to do is let the user enter sentences until some keypress to stop. And save these...
Found this code somewhere, (didn't know bumping wasn't allowed so I post it here) it should do what I want to do.
struct list{
char text[255];
int num;
struct list *next;
struct list...
Hmm found this old thread, and this code is more or less what I need for what I want to make(with some adaptation here and there)
But I can't seem to find out what types the variables should be,...
No C++, C only :-)
Ik know that but it's a bit more complicated :-)
eg:
char string[]="Test test [ B] TEST [/B ] test"
is my string, and I need to replace the following:
[B ]= \33\50\163\63\102
[/B ]=...
Hi
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,...