What is the code that associates the input file stream inf with the file myFile.txt?
a) …
ifstream myFile.txt;
inf.open (myFile.txt);
b) #define aFile myFile.txt
…
ifstream aFile;
inf.open (aFile);
c) #define aFile “myFile.txt”
…
ifstream inf;
inf.open (aFile);
d) #define aFile “myFile.txt”
…
ifstream inf;
inf.open (myFile.txt);
c) #define aFile “myFile.txt”
…
ifstream inf;
inf.open (aFile);
You might also like to view...
Which of the following returns the number of items in LINQ query result q?
a) q.Length b) q.Size c) q.getUpperBound d) q.Count
A(n) multiple-user license is priced per copy and allows a specific number of copies to be used at the same time.
Answer the following statement true (T) or false (F)
A(n) ________ includes only a selection of slides
A) Custom Range B) Custom Layout C) Snipping Range D) Outline
One cycle per second is called one _____.
A. hertz (Hz) B. megahertz (MHz) C. gigahertz (GHz) D. byte