forked from natto1784/ooplab
		
	@@ -21,5 +21,6 @@ int main() {
 | 
			
		||||
    file << line << endl;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  file.close();
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -81,7 +81,7 @@ Destructor called, nothing to do here.
 | 
			
		||||
 | 
			
		||||
#+LATEX: \clearpage
 | 
			
		||||
 | 
			
		||||
* Write a program to illustrate how template functions can be overloaded.
 | 
			
		||||
* Write a program to read a set of lines from the keyboard and to store it on a specified file.
 | 
			
		||||
 | 
			
		||||
#+ATTR_LATEX: :options frame=single,breaklines=true
 | 
			
		||||
#+begin_src cpp :tangle 27.cpp :wrap src text
 | 
			
		||||
@@ -108,6 +108,7 @@ int main() {
 | 
			
		||||
    file << line << endl;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  file.close();
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
#+end_src
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user