Home > Back-end >  How to deal with the c language do not know to string input what is the number?
How to deal with the c language do not know to string input what is the number?

Time:10-01


I do not know at number, each row behind have a newline

CodePudding user response:

Title description:
The Internet there is a lot of disharmony in vocabulary, when we browse the Internet, search engine will often appear message "according to relevant laws, regulations and policies, some search results did not show", wang classmate also want to make a own shielding thesaurus, so that he could take don't like the words from the file into another character, shielding thesaurus is an ASCII file, the file only contains words, each word of a line, each word can only lowercase letters and Spaces, harmonious word library file name in the title dict. Dic, (each word in the shielding thesaurus length less than 10, shielding vocabulary number not more than 10.)
Your task is to enter all the harmony in the thesaurus of the words in all replace! "" @ # $% ^ & amp; * "(hold down shift and the Numbers 1 to 8), and then the output, to note here, if a word contains shielding vocabulary, so only to replace shield, such as" hehasAAA "after processing will be" he! @ # $% ^ & amp; * AAA ", pay attention to the shielding case sensitive vocabulary, namely the AAA and AAA are two different words, in order to make the problem to simplify, shielding vocabulary will not be contained in this form, such as "xabcx" and "ABC" won't appear in the same block word library, at the same time as wang students was not good at file operations, so he hope you can help him make the shielding vocabulary program,

CodePudding user response:

The night falls gently. And you are not here. I missing you more And more And I start getting worried as
I stare at feel just waiting for you to surprise me with your arrivals from the at any moment.
Sweet delusion... You are so far away right now that all I can ask for is that time moves faster -...

CodePudding user response:

Output:
If the shielding thesaurus is as follows:
Is
Good
All
The
Ha ha
Some
The get
From the
More
Bad
Output:

The night falls, gently. "And you! @ # $% ^ & amp; * not here. I m! @ # $% ^ & amp; * sing you! @ # $% ^ & amp; * the and! @ # $% ^ & amp; * and I start! @ # $% ^ & amp; * ting worried as
I st! @ # $% ^ & amp; * at! @ # $% ^ & amp; * feel just waiting for you to surpr! @ # $% ^ & amp; * e me with your arrivals from the at any moment.
Sweet delusion... You! @ # $% ^ & amp; * so far away right now that all I can ask for! @ # $% ^ & amp; * that time moves faster -...
  • Related