Supportnet Computer
Planet of Tech

Supportnet / Forum / Anwendungen(Java,C++...)

C Strings und Anführungszeichen





Frage

hi, nach einigem erfolgreichen delphi Versuchen, wollte ich ein kleines projekt in C++ übertragen .. nur hab ich ein kelines Problem ... wie füge ich in C die Anführungszeichen in einen String ? Delphi: [code] // myList ist eine StringListe myList.Add('<p>meine momentane IP-Adresse ist: <a href="http://' + momIP + '">' +momIP+ '</a> <br></br> Document erstellt am: ' + DateToStr(Date) + ' um: ' + TimeToStr(Time) + '</p><br></br>'); [/code] Das Problem liegt genau dort : .. [.. ]< a href="http:// [..] Gruß Tuffy

Antwort 1 von semi

Mit Backslash \"

Antwort 2 von Tuffy

baaahh ich troddl habs die ganze zeit mit

/

versucht .. *kopfschüttel*

thx

Gruß Tuffy

Antwort 3 von Tuffy

baaahh ich troddl habs die ganze zeit mit

/

versucht .. *kopfschüttel*

thx

Gruß Tuffy