Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
raii/files/main.cpp File Reference

Main using the RAII File class. More...

#include <cstdio>
#include <iostream>
#include "file.h"
Include dependency graph for raii/files/main.cpp:

Go to the source code of this file.

Functions

void printFile (File &file)
 Prints the contents of the given file. More...
 
int main ()
 

Detailed Description

Main using the RAII File class.

Definition in file raii/files/main.cpp.

Function Documentation

void printFile ( File file)

Prints the contents of the given file.

Definition at line 30 of file raii/files/main.cpp.

References Raii::File::ReadChar().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( )

Definition at line 38 of file raii/files/main.cpp.

References Raii::File::Close(), printFile(), and Raii::File::WriteChar().

Here is the call graph for this function: