I am unable to connect Mapnik via cmake to my application. I tried to do like this: cmake_minimum_required(VERSION 3.1) project(MapnikTest) set(MAPNIK_LIB "/u
I am working in a project where I am on a specific file in a folder, the structure is like this: └─project_folder/ ├─ myFile.cpp
This question is due to insane curiosity rather than an actual problem. Consider the following code: template<typename...> struct type_list {}; template&
As the title said I can't install that specific version of g++ in my current ubuntu (20.04). I have been trying the usual things as: sudo apt install g++- (and
I have no choice but to read in 2 bytes that make up a half-float. I would like to work with this in the form of a 4 byte float. Ive done some research and the
What are undefined reference/unresolved external symbol errors? What are common causes and how to fix/prevent them?
I would like to configure protobuf to link MSVC runtime library dynamically. While this is supported by protobuf and seems trivial to do, I have not been able t
I'm currently working on a project where I want to be able to manipulate and graph data with relative ease in Excel. However, a lot of the data involved exceeds
I know my question doesn't really explain my problem all that well, but I'll try my best here. I have a graph program. It should add new vertices and edges, and
does c++ have similar measure like scanf("%1d) read only one digit in cin >> or only #include <cstdin> and use scanf I try to use setw() but it seem
The following code uses a structure inside a union inside a structure inside a union. #include <cstdio> union { char abcd[4]; struct {
A while back, I created a fork of the RDCOMClient package to keep it working with R 3.6 (https://github.com/dkyleward/RDCOMClient). People are now running into
i have a funcion 'button1_click' in the header 'MyForm1.h'. I want to use this function in another header 'MyForm.h'. How can i do this? i already included 'MyF
i am newbie, i don't know how to fix it? i don't know how to call function void bubblesort #include<iostream> using namespace std; vo
I have reduce and checked with SamplingInterval and PublishingInterval..values There is no impact. can you suggest any way? Let me know.
I am writing code that terminates by entering e or t , and I want everything to work under two minuets, but I cant get things to work once I include the delay o
So I know how the reduce, accumulator and how fold works in C++, Python, etc... But for some reason in Scade Suite it's kinda confusing to me. Scade Suite Examp
I have a vector with the following elements: std::vector<int> vectorOfInts{ 95, 137, 138, 139, 140, 156, 157, 158, 159 }; Problem: I'm trying to store eac
I'm trying to use cppflow library in windows 10 x64 machine in VS2019 C++. I want to inference my model for batch of images (vector <cv::Mat> ). I write a
I am building a project that will use Unreal Engine 4 to display protein models. Currently I cannot find a way to directly import PDB (Protein Data Bank) files