Moin Moin !
/* s ist Dein String */
/* i ist ein int */
for (i=0; s[i]!=0; i++) {
if (s[i]=='\') {
s[i]='/';
}
}
Übrigens hilft es oft, mal die string.h zu lesen.
Alexander
--
Nein, ich beantworte keine Fragen per eMail. Dafür ist das Forum da.
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so!"
Nein, ich beantworte keine Fragen per eMail. Dafür ist das Forum da.
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so!"