Long Compiling and Execution Time
i’ve wrote a small program to format a text file. So far i am mostly statisfied with the result of my program. What is unaccaptble is the time it needs to compile and execute. It takes 6 seconds to compile and even longer to execute. Is fgetc the problem?
Using fgets() function in c
I am a newbie in C. Consider my following code:
finding the shortest word in the string. с++
How can I improve this code and are there any situations where it won’t work?
string output to sovle
#task:input a number “n” and a string ,then shift the string
1.example:
hello
2
output:
llohe