From 6ceea7d142619020e6b18aad97e21572cb9dd314 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 4 Jun 2024 14:00:40 +0200 Subject: fix magic incantation for istream reader --- docs/Parser.h | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 docs/Parser.h (limited to 'docs') 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 -#include - -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; - } -} -- cgit v1.2.3