Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


code declaration for replace character in string function

[b][red]This message was edited by denniscpp at 2002-9-18 22:16:37[/red][/b][hr]
[code]/* replace all the character that was matched with c by c1 in
string s. */
void replaceSC(int c, int c1, char *s)
while (*s != 0) {
if (*s == c)
*s = c1;


  • Justin BibJustin Bib USAMember Posts: 0

    ___ || || free video tutorials and ebooks about || Visual Basic Perl Swift Delphi PHP Ruby Visual Basic .NET PL/SQL C# Go C++ Assembly JavaScript Java Scratch Objective-C C Python MATLAB R Clojure Transact-SQL FoxPro ABAP VBScript ML Dart Scheme COBOL Fortran Crystal Prolog D Hack Erlang Lua F# Rust Awk Apex SAS Bash Julia Alice Lisp LabVIEW Ada Logo Scala Kotlin || ___________

Sign In or Register to comment.