fix minor latex issues
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -29,15 +29,12 @@ int main() {
|
||||
}
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
#+begin_src text
|
||||
444
|
||||
#+end_src
|
||||
#+LATEX: \clearpage
|
||||
|
||||
* Write a program to demonstrate the use of friend function with Inline assignment.
|
||||
All friend functions are inline functions.
|
||||
|
||||
#+ATTR_LATEX: :options frame=single,breaklines=true
|
||||
* Write a program to find the greatest of two given numbers in two different classes using friend function.
|
||||
#+begin_src cpp :tangle 12.cpp :results output :exports both :wrap src text
|
||||
#include <algorithm>
|
||||
@@ -74,8 +71,3 @@ int main() {
|
||||
cout << bigger(a, b);
|
||||
}
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
#+begin_src text
|
||||
55
|
||||
#+end_src
|
||||
|
Reference in New Issue
Block a user