I got this code from notes about file handling. From what I understand about this code, I want to get characters till x is reached in the file using this code.
The GNU MP manual specifies the declaration of the function get_mpz_t: Function: mpz_t mpz_class::get_mpz_t () So I was expecting a mpz_t return type. But runn
This is the code for a ground object that gets rendered every frame in a game I'm making with c++ and openGl. Ground::Ground() { this->loadedObject = loa
I am trying to record the screen on macos, with ffmpeg. I would like to be able to select a section of the screen instead of the whole desktop. I tried to set s
As we can invoke the explicit cast operator, using static_cast, a C-style cast, or a constructor style cast. I am confusing how exactly the operator interpret t
I have a dev board (imx rt 1024) from nxp, which I write software for using MCUxpresso (nxp's IDE). For my project, I am asked to introduce position independent
I have a C++ program that waits for some text input with getline(), and it works well from the command line. However, I would like to call it from Python - send
I'm using time_point the first time. I want to parse datetime from string and found a difference when returning back to string from 1 hour. std::chrono::system_
I'm trying to create a linked list that has 2 data types and a function that inserts nodes. But in order to insert nodes, I have to create at least 1 empty node
hi I was writing a code where near the vectors it returns true if they are placed in ascending order otherwise false, when I try to start the
I am trying to understand how to send SOAP requests with JSON formatted data to docusign. Following this guide is only for pdfs: https://developers.docusign.com
I attempted to make my own mystrcpy() function, which takes the same arguments as the standard function. It is not responding. The array does not get copied. si
I came across this where one of the user comment says: A constructor cannot be called, it is not a function. It is invoked automatically when a new object is c
Could anybody please help me to convert YOLOv5 PyTorch model to ONNX or TensorFlow format to be able to use it with OpenCV C++ inference? I used this tutorial t
I am trying to build xalan-c (version 1.12) with icu in Ubuntu but it fails. Could anyone help me with this. Environment : Ubuntu 20.04 Steps to reproduce : Cl
Please see the error and help me. Its showing error. I just can't understand where is the problem?? I have resolved all the errors that could be solved but stil
So I've been asked to make a C++ program Double stack with linked list. I can't find any tutorial or example on Google, most of them use Array to do it. so I ha
In C++11 or higher regardless of compiler int myArray[10] = { 0 }; would initialize to all elements to zero. The question is would this also work in C++98 and c
I am finding the 'Sign in' text on the QWebEnginePage and then auto filling in the emailId in the input field if the correct page is displayed. The value of ema
In a simple vehicle routing problem solved by Google OR-tools library, two nodes (2, 3) are marked as optional with visiting penalty set to 0. The shortest path