代码搜索:REF
找到约 10,000 项符合「REF」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6243306
2b l43.2b
#print
Pick up the file "line" and change
x, y. and z
into
x, y, and z
Then rewrite the file and type "ready".
#create Ref
x, y, and z
#create line
x, y. and z
#user
#cmp line Ref
#log
#next
43.2c
www.eeworm.com/read/101082/6243326
2a l38.2a
#print
Sometimes you want to recognize a string of characters
only if they appear at the beginning of the line.
The character '^' is used for this purpose. The
command
s/^ab/xy/
will change "ab" to
www.eeworm.com/read/101082/6243344
2d l30.2d
#print
In this directory is a file named "airport"
whose second line says "xx" where it should say
"ne". Edit the file, change those letters, and
rewrite the file. Then type "ready".
#create Ref
idl
www.eeworm.com/read/101082/6243353
2b l15.2b
#print
Now make a file containing the line
The Hon. Brendan Byrne
and write it on file "gov".
Then type "ready".
#create Ref
The Hon. Brendan Byrne
#user
#cmp gov Ref
#log
#next
15.1b 10
www.eeworm.com/read/101082/6243376
2b l31.2b
#print
This directory contains a file "animal" which has
a mistyped line. Print the file, find the line,
fix the error using the 's' command, and then
rewrite the corrected file and type "ready".
#cr
www.eeworm.com/read/101082/6243411
2a l14.2a
#print
Using the "getnum" routine on "getnum.o", write a program
that reads a list of positive numbers and prints their sum. Stop reading
numbers when "getnum" returns a negative or zero value.
Compi
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/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/6243445
1a l13.1a
#print
Write a program which reads
its input and counts the number of
characters and the number of spaces
(where a space is either a blank or
a tab or a newline). Print both numbers.
Compile, test, a