Category "c++"

A basic C++ recursion question I can't wrap my head around

I am learning the basics of CPP programming. I came across this basic recursion question which I'm unable to understand. The output is 1 2 3 4 5 but I don't und

Remove row from the model

There is a client (company). The client has contacts. You can link any number of contacts to a specific client. Let's say you open the client you need. Then you

C++ unpack variadic template arguments with the next function returns nothing [duplicate]

I'm trying to expand arguments to a variadic function. Code below works perfectly fine template<typename T> int printMy (const T& f)

Finding bar graph showing the percentages of two different entities in c programming using graphics.h header file from user input

I want to implement this code by finding user input data of male and female percentage of a school. But I found some difficulties finding the calculation of mal

How to use grpc c++ ClientAsyncReader<Message> for server side streams

I am using a very simple proto where the Message contains only 1 string field. Like so: service LongLivedConnection { // Starts a grpc connection rpc Conn

How to create a response from a file that has CJK filename

I'm trying to load a file to be a HTTP response with Boost.Beast, but it doesn't work on Windows. My code is similar to this: typedef boost::beast::http::respon

What does std::filesystem::is_regular_file(path) mean on Windows?

About std::filesystem::is_regular_file(path), cppreference.com says: Checks if the given file status or path corresponds to a regular file […] Equivalen

Get temp path with file name

I want to get path to file like this > %ENV%/%FILE_NAME%.docx But c++ doesn't make sense at all and nothing works.. I would use std::string but it's not comp

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

Terminate called after throwing an instance of 'std::invalid_arguement'

I'm trying to create a program that has the user select a starting location from a list of vectors, select a destination from that same list using vec.push_back