Гость » 09 мар 2024, 16:23
Последнее сообщение Гость «
Гость »
I have two classes: a Parent class and a Child class (inheriting from the Parent class). I would like to know if it is possible to cast/transform a Child** to a Parent** with reinterpret_cast or something else. Is such a thing possible?
Below is a...
Гость » 09 мар 2024, 16:09
Последнее сообщение Гость «
Гость »
I was able to run this c++ program in linux without any errors.
This time I am trying to run a c++ program named epa in Linux using cmd but this time time , I am facing some errors....
Гость » 09 мар 2024, 16:09
Последнее сообщение Гость «
Гость »
I'm currently working on a project where I need to monitor the value of a variable stored within another process's memory. I don't have access to the source code of the target process, so I'm looking for advice on the best approach to achieve this....
Гость » 09 мар 2024, 15:59
Последнее сообщение Гость «
Гость »
I am creating an application which displays the market data and uses it in some other forms too. I store market data in a map say
std::map . Let me give one used case of how this map can be used.
Anonymous » 09 мар 2024, 15:54
Последнее сообщение Anonymous «
Anonymous »
Is it possible to use C++ language in making a game and use Python for artificial intelligence of NPCs?
In my country, this question has not been answered in my own language. I will be very happy if you answer.
This text is only to fill the minimum...
Anonymous » 09 мар 2024, 15:34
Последнее сообщение Anonymous «
Anonymous »
I declare a struct in a header file. I use this struct in two compilation units. One is compiled with -std=c++11 and the other with -std=c++20. The sizeof my struct is different in the two compilation units.
Is it allowed to mix any -std=c++20 and...
Anonymous » 09 мар 2024, 15:32
Последнее сообщение Anonymous «
Anonymous »
I have two classes a Parent class and a Child class (inheriting from the Parent class) I would like to know if it is possible to cast/transform a Child** to a Parent** with reinterpret_cast or something else?
Or such thing is not possible
Below is a...
Гость » 09 мар 2024, 14:56
Последнее сообщение Гость «
Гость »
I have downloaded and extracted the latest opencv-4.9.0 and installed latest code blocks-20.03.
When I tried to use the opencv functions like waitKey(), imread, imshow() to load an image and to display, after including the paths in the build...
Гость » 09 мар 2024, 14:54
Последнее сообщение Гость «
Гость »
I'd like to understand better why choose int over unsigned ?
Personally, I've never liked signed values unless there is a valid reason for them. e.g. count of items in an array, or length of a string, or size of memory block, etc., so often these...
Гость » 09 мар 2024, 14:53
Последнее сообщение Гость «
Гость »
I'm trying to understand the basics of C++ classes and the different forms of copying a class to another one, I made a simple class that use a table as a stack and i created simple function for stacking/unstacking integers pileInt.h :
Гость » 09 мар 2024, 14:53
Последнее сообщение Гость «
Гость »
float b; printf( give us the float nummber \n ); scanf( %f ,&b); printf( the value of the float is %f\n ,b); I intered the value of a float and expect from the C code to give it back to me exactlly how it is
Гость » 09 мар 2024, 14:45
Последнее сообщение Гость «
Гость »
I'm using msvc, now I need a logger function that can:
acquire the caller's name automatically can receive variadic args just like fmt::format or std::format
I tried the following:
use macro, it works, but it's not easy to encapsulate into a...
Гость » 09 мар 2024, 13:55
Последнее сообщение Гость «
Гость »
I'd like to understand better why choose int over unsigned ?
Personally, I've never liked signed values unless there is a valid reason for them. e.g. count of items in an array, or length of a string, or size of memory block, etc., so often these...
Вы можете начинать темы Вы можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы можете добавлять вложения