{ALL PAGES}:
{Post List}:
SATELLITE CORP.
{USER PROFILES}:
{C++ RSS FEED}:
- by Nahidh NaseemI'm working on a NodeMCU project that uses an nRF24L01, SD card, MPU6050, and BMP280. Individually, both the SD card and nRF24 work fine, but when I plug in the SD card, the nRF24 stops working (doesn't send or receive data). Hardware Setup: NodeMCU ESP8266 nRF24L01 (CE: D4 (GPIO2), CSN: […]
- by Joe JI am trying to make a readonly folder and for that I am using the following code: #include #include bool MakeReadonly(const char* folderPath) { DWORD attrs = GetFileAttributesA(folderPath); return SetFileAttributesA(folderPath, attrs | FILE_ATTRIBUTE_READONLY) != 0; } int main() { std::string folderPath = "C:\\Users\\Username\\Desktop\\mydir"; if (MakeReadonly(folderPath.c_str())) { std::cout
- by Angle.BracketTake a look at this snippet: // test.cpp #include #include int main () { std::vector vec = {1,2,3}; std::println("vector: {}",vec); return 0; } From here I understood that the C++23 feature "support for the formatted output library " (P2093R14) had been added in GCC 14, Clang 18 and MSVC 19.37. […]
- by Mikhail ZimkaNeed to change video resolution on the fly via GStreamer. Here is its pipeline fragment: ... "! vaapih264enc name=encoder rate-control=cbr quality-level=7 keyframe-period=8 ", "! video/x-h264, profile=constrained-baseline, width=640, height=480 ", "! h264parse config-interval=1 ", ... AFAIK, the solution is to manage capsfilter between vaapih264enc and h264parse. I have managed to get […]
- by ChristeenI am working on a project where I need to extract individual frames from a multi-frame DICOM file and save them as separate single-frame DICOM files. I am using DCMTK to accomplish this, and the following is my approach: Registering Decoders : I register the necessary decoders (DJDecoderRegistration and DcmRLEDecoderRegistration) […]
- by pashaI have multiple classes C1, C2, etc, each has different members variables, ex: C1M1, C1M2, C2N1, C2N2. And I have a pointer to data that could be an object of C1, C2 based on initial bytes. Is there a way to write a method/template method to which I can specify, […]
- by ILikeToLearnI'm trying to define a reusable formatter for a class, let's say cv::Point_ from OpenCV. The code compiles fine on its own but when I use this formatter I get compilation errors. Here is the code: template struct fmt::formatter : fmt::formatter { template auto format(const cv::Point_& point, FormatContext& ctx) const […]
- by Fantastic Mr FoxImagine i have some structure like this: template struct ag_init { T a, b; }; The creation of this is nice to write and pretty straight forward thanks to designated initializers: ag_init a1{.a = 1, .b = 2}; Imagine now that i have some custom types that can implicitly convert […]
- by mrneedhelpI just included tchar.h and I'm getting this error, why? Severity Code Description Project File Line Suppression State Details Error C3861 '_tcscmp': identifier not found yeet C:\Users\user\source\repos\yeet\yeet\Helper.h 13 Here's additional information: DWORD GetModuleBaseAddress(TCHAR* ModuleName, DWORD PID) { // MAKES SNAPSHOT OF ALL MODULES WITHIN A PROCESS TO FIND THE ONE […]
- by alex mirandaI am trying to build Simula67 parser, in QT 5.14.2 in the Qt Creator. It depends on LjTools, and luajit, I am using LuaJIT 2.0, running Kubuntu 22. I did have to modify LjTools and Simula to make them work in my exact setup. My working directory is set up […]
{BREADCRUMBS}:
Home » All Groups
[url=https://coins-cccp.ru/]coins-cccp.ru/[/url] - Доступ к услугам, которые помогут выделить вашу продукцию.
Harry Kane is one of the best strikers in modern football | How many trophies does Harry Kane have? Find…
The stats of Harry Kane prove why he is considered a world-class striker | The transfer of Harry Kane was…
The stats of Harry Kane prove why he is considered a world-class striker | How many trophies does Harry Kane…
Hi i am kavin, its my first occasion to commenting anywhere, when i read this article i thought i could…