diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-04 14:00:40 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-04 14:00:40 +0200 |
commit | 6ceea7d142619020e6b18aad97e21572cb9dd314 (patch) | |
tree | 24466007333952ffdf6e7ec743957855e50e5ec4 /docs | |
parent | f384fdc3a9e4acccac2e4d322676e34115a168f7 (diff) |
fix magic incantation for istream reader
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Parser.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/Parser.h b/docs/Parser.h deleted file mode 100644 index a7c90e9..0000000 --- a/docs/Parser.h +++ /dev/null @@ -1,16 +0,0 @@ -#pragma once - -#include <iostream> -#include <istream> - -using std::ostream; - -class Parser { - - friend void operator >> (Parser& p, std::istream& filestream) { - // cout assigned to another object mycout - std::cout << "the file contains:\n" << filestream << std::endl; - mycout << "Value of dx and dy are \n"; - mycout << d.dx << " " << d.dy; - } -} |