代码搜索:L
找到约 10,000 项符合「L」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6243414
1b l5.1b
#print
(Section 1.5)
Write a program that will read the first character
from its input and print it out in octal.
Compile it, test it, and then type ready.
#once #create Ref
+
#user
a.out test
g
www.eeworm.com/read/101082/6243415
1e l1.1e
#print
What will be printed by the following printf statement?
printf("\"#@\"");
Type "answer XXX", where XXX is the set of characters
that will be printed.
#copyin
#user
#uncopyin
#match "#@"
#log
www.eeworm.com/read/101082/6243422
1c l1.1c
#print
(Section 1.1)
The program in Ref.c has an error in it.
Find it, fix it, and run it.
Then type ready.
#once #create Ref.c
main()
{
printf("hello\");
}
#once #create Ref
hello
#user
a.out >x
#cm
www.eeworm.com/read/101082/6243423
1e l5.1e
#print
Write a program that counts the number of vowels
in its input (excluding 'y'). Don't forget to define
the value of EOF at the beginning of your program.
#once #create Ref
This line contains s
www.eeworm.com/read/101082/6243424
1f l1.1f
#print
(Section 1.2)
Write a program to print
the value of the character 'X' in
octal. Compile it and run it.
Then type ready.
#user
a.out >test
grep 130 test >/dev/null
#succeed
A possible solution:
www.eeworm.com/read/101082/6243429
1c l17.1c
#print
Print the 20 Fibonacci numbers beginning with 2
(the sequence is 2,3,5,8,... where each number
is the sum of the immediately preceding pair of numbers.
Start with the pair 1,1).
Print each numb
www.eeworm.com/read/101082/6243431
1e l2.1e
#print
Is there any difference between
printf("%s", s);
and
printf(s);
Answer yes or no.
#copyin
#user
#uncopyin
#match yes
#fail
Consider the string "50% of the answers are wrong."
#log
#ne
www.eeworm.com/read/101082/6243432
2e l5.2e
#print
(Section 1.5)
Write a program which copies its input to its output
doubling each character (i.e. each input character
is written twice on the output). Compile and test
it. Then type ready. D
www.eeworm.com/read/101082/6243434
3e l5.3e
#print
Let's try something easier.
Write a program which copies its input to
its output. Compile and test it. Then type ready.
#once #create Ref
hoboken harrison newark roseville avenue grove stree
www.eeworm.com/read/101082/6243435
2c l16.2c
#print
Write a program to read its input and find the
word in it with the most vowels (instances of a,e,i,o, or u).
Print out that word. Compile and test your
program, then type ready.
#once #create R