Гость » 04 мар 2024, 18:21
Последнее сообщение Гость «
Гость »
I have the following task:
Develop a hotel reservation system to allow customers to book rooms and control demand for hotel owners. Your program should handle the following events:
BOOK time hotel_name client_id room_count — Book by the client...
Гость » 04 мар 2024, 18:17
Последнее сообщение Гость «
Гость »
I have the following member function in a class
class cls { ... template bool func(...) { // Do something depending on } ... } I want to change func to be private and instead have only the relevant instantiations of func public, e.g something like...
Гость » 04 мар 2024, 17:58
Последнее сообщение Гость «
Гость »
Is there standard way to include a references section for a doxygen docstring in C++? For example, for documenting references that influenced the implementation, the python library statsmodels sometimes includes a References section in the docstring...
Гость » 04 мар 2024, 17:57
Последнее сообщение Гость «
Гость »
I noticed that libstdc++ often uses a base class for the implementation of standard allocator-aware containers. Especially, some basic functionalities are implemented in a base class that is inherited by the correponding container class, like...
Гость » 04 мар 2024, 17:52
Последнее сообщение Гость «
Гость »
I am trying to set up the Hello World example from the FastDDS tutorial here:
When I run the publisher and subscriber (separate terminals), they can't find each other. I never get the Publisher matched and Subscriber matched lines.
Гость » 04 мар 2024, 17:47
Последнее сообщение Гость «
Гость »
I am writing a binary search tree (BST) with bidirectional iterator. To present .end() I have fake node , that is the rightest son of the tree. I have problem with extract: my code works incorrectly whenever it gets to fake node . I made a flag in...
Гость » 04 мар 2024, 17:39
Последнее сообщение Гость «
Гость »
#include // maximum of two values of any type (call-by-reference) template T const& max (T const& a, T const& b) { return b < a ? a : b; } // maximum of two C-strings (call-by-value) char const* max (char const* a, char const* b) { return...
Гость » 04 мар 2024, 16:52
Последнее сообщение Гость «
Гость »
I'm porting existing project code from x64 Linux to equivalent ARM64 machine. However, the function snprint has different outputs on the two platforms. I've reduced my problem down to this small function:
Гость » 04 мар 2024, 16:36
Последнее сообщение Гость «
Гость »
I have only been working with C++ for a year now and I am hoping to gain a better understanding of abstraction with my current project. I created a Black Jack card game from my book 'Beginning C++ Through Game Programming'. The game works, but I am...
Гость » 04 мар 2024, 16:35
Последнее сообщение Гость «
Гость »
I use libarchive to create a archive, and the source is a directory, I need create the archive with the same directory tree of the source directory, so I use the archive_read_disk_open and archive_read_disk_descend, but when i create a file with...
Гость » 04 мар 2024, 16:28
Последнее сообщение Гость «
Гость »
I want to add a simple python interface on a large c++ project so that I can call some c++ functions using python. It is a large c++ project and the structure is like
FastBN -src // many source files inside -include // many header files inside...
Anonymous » 04 мар 2024, 11:58
Последнее сообщение Anonymous «
Anonymous »
I'm trying to make a png file reader in c++. I understood about the chunk structure but I'm struggling in understanding how to read the data in IDAT chunk to get each pixel color. This is my data
width: 16 height: 16 bit depth: 8 color type: 2...
Anonymous » 04 мар 2024, 11:52
Последнее сообщение Anonymous «
Anonymous »
I am serializing a set of contents, indexed by multiple properties using boost::multi_index_container, and a params struct, into a binary archive which I want to deserialize latter. But the archive created using boost 1.74 is unreadable (Invalid or...
Anonymous » 04 мар 2024, 11:22
Последнее сообщение Anonymous «
Anonymous »
So i need to install Qt Creator 3.2.0 and build a project. But, when i try to open the project right now, it is saying Could not find qmake configuration file default .
Вы можете начинать темы Вы можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы можете добавлять вложения