Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [c++98]

Code that is written to the 1998 version of the C++ standard. Use in conjunction with the 'c++' tag.

Filter by
Sorted by
Tagged with
7 votes
2 answers
484 views

Copy file with text replacement

I am currently learning C++. I coded a tiny program for school and I wonder if there could be issues (like bugs or security issues) with it. Any ways to make it have weird behaviours would be very ...
BobDeTunis's user avatar
1 vote
1 answer
65 views

Improving poor man's translations mechanism in c++98 program (follow-up)

As a follow-up to this question that was an attempt to add basic translation capabilities in an old c++98 program for the sake of the community, I'm posting here the first iteration of my code after ...
MatG's user avatar
  • 149
0 votes
1 answer
122 views

Improving poor man's translations mechanism in c++98 program

In order to add basic translation capabilities in an old c++98 program I've come up to a basic and shameless code summarized by this snippet: ...
MatG's user avatar
  • 149
3 votes
4 answers
948 views

Ring buffer for Arduino

Just wrote this small ring buffer system for an embedded device using C++98. Looking for cc, advice and bugs. Please check it out! https://github.com/Bambofy/EmbeddedRingBuffer ...
r0k1m's user avatar
  • 131
2 votes
1 answer
207 views

C++ exception class for error reporting, compatible with C++98 through C++20 (ver 2)

This question contains revised code from the question What should a C++ error reporting exception class have to be portable across language versions?. I summarize what is different from that code at ...
Scott McPeak's user avatar
8 votes
2 answers
310 views

What should a C++ error reporting exception class have to be portable across language versions? (ver 1)

Link to revised (ver 2) question This question contains the first version of the code for the task explained below. The revised version is at C++ exception class for error reporting, compatible with ...
Scott McPeak's user avatar
1 vote
0 answers
92 views

Old Style Implementation of Tuple in C++

Recently I was learning about TypeList and its algorithms in C++. When reading about its uses i got to know that TypeList along with the help of ClassHierarchy generators can be used to create Tuple ...
Cosmo Ferrito's user avatar
4 votes
1 answer
148 views

Simple C++98 actor system (with event system) - think Doom or Unreal

I am finishing up an actor system (like those used in 90s games, like Doom, Unreal, etc.), which currently deals with damage and event handling. actor.cpp ...
wallabra's user avatar
  • 789
5 votes
1 answer
889 views

Determinant of a matrix of doubles

I have been working with some matrix functions and need the determinant. I have looked at several examples, but they all seem to use a hard coded size for the matrix, or calculate for a matrix of int, ...
LMHmedchem's user avatar
8 votes
4 answers
6k views

custom smart pointer class template

Kindly provide your review comments: ...
Amit's user avatar
  • 155
6 votes
1 answer
921 views

Compile time positive and negative powers of two

I'm getting started on template meta-programming and I wrote a template to compute compile-time positive and negative float powers of 2. I would like some feedback on readability and overall code ...
Rch's user avatar
  • 83