Hi
I'm a perl programer but I want to try out some C now.
Look at this simple exampel in perl
It will replace all h with H
$tmp = "hello out there";
$tmp = ~s/h/H/g;
output: Hello out tHere
How can I do this in C. I just searched the forum but I can't find anything about this.
Is the problem hard to solve i C ??
Thanks
//FredrikN
I'm a perl programer but I want to try out some C now.
Look at this simple exampel in perl
It will replace all h with H
$tmp = "hello out there";
$tmp = ~s/h/H/g;
output: Hello out tHere
How can I do this in C. I just searched the forum but I can't find anything about this.
Is the problem hard to solve i C ??
Thanks
//FredrikN