Jump to content
Microsoft Windows Bulletin Board

Recommended Posts

Posted
I cannot access the functionality from the implementation of a function similar to the code below in Windows 11 Notepad. I would expect such a function to be implemented in a basic text editor:#include #include void replace (char text[], char find[], char replace) { for (int i = 0; i < strlen(text); i++) { int Condition = (text[i] == replace[i]) && (i < strlen(text) - strlen(find)); int Count = 0; char replacedText = (char*)malloc(strlen(replace)*sizeof(char)); if (replacedText == NULL) { replacedText = (char*)malloc(strlen(replace)*sizeof(char)); } while (Condition &

View the full article

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...