Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.lang.c++.misc > #5

Re: C++ Patterns Program

From Michael S <already5chosen@yahoo.com>
Newsgroups alt.comp.lang.c++.misc, comp.lang.c++
Subject Re: C++ Patterns Program
Date 2024-08-28 15:59 +0300
Organization A noiseless patient Spider
Message-ID <20240828155911.000003a0@yahoo.com> (permalink)
References <vaihnm$2e9qm$1@paganini.bofh.team> <vamr49$3e318$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


On Wed, 28 Aug 2024 12:37:14 +0300
Paavo Helde <eesnimi@osa.pri.ee> wrote:

> On 26.08.2024 21:45, Student Project wrote:
> > This is worth a try to run it in Linux, Windows and MacOS:
> > 
> > <*******************************************>
> > 
> > #include <iostream>
> > #include <string>
> >   
> 
> There are some minor issues with this program.
> 
> > using namespace std;  
> 
> Better not to get used to this bad habit.
> 

<snip>

I'd start a little earlier:

> #include <iostream>

Better not to get used to this bad habit. 
The correct way to write it is:

#include <cstdio>

Back to alt.comp.lang.c++.misc | Previous | NextPrevious in thread | Find similar


Thread

C++ Patterns Program Student Project <student@invalid.invalid> - 2024-08-26 18:45 +0000
  Re: C++ Patterns Program Paavo Helde <eesnimi@osa.pri.ee> - 2024-08-28 12:37 +0300
    Re: C++ Patterns Program Michael S <already5chosen@yahoo.com> - 2024-08-28 15:59 +0300

csiph-web