8 replies
February 14

kilgoretrout

Hello,
The function gets has been deprecated in C++14: std::gets - cppreference.com

2 replies
February 14 ▶ kilgoretrout

nephele Developer

You are responding to a blogpost from 2010.

Edit: also, where did you even see the usage of gets? The link in the post seems down…

2 replies
February 14 ▶ nephele

kilgoretrout

This is where I am coming from: Learning to Program with Haiku | Haiku Project Lesson 5

February 14

VoloDroid

It was deprecated even earlier, in C++11. In C++14 it has been completely removed.

February 14

PulkoMandy Developer

There is a slightly updated version of these lessons available: GitHub - theclue/programming-with-haiku: Learning to program with Haiku and Programming with Haiku books, but it has the same problem.

So we should fix that one, and update the website to point to it :slight_smile:

1 reply