Category "c++"

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

Understand Hooked syscalls - Do win32 api always call system ones in ntdll.dll?

I wrote a keylogger that hooks keystrokes. I learned about the AV's detection with hooked syscall and wanted to know if my keyboard hook is si

More efficient way to get indices of a binary mask in Eigen3?

I currently have a bool mask vector generated in Eigen. I would like to use this binary mask similar as in Python numpy, where depending on the True value, i ge

Edit Voice data on onEditPlaybackVoiceDataEvent(teamspeak)

How can i access & modify the voice data at the "onEditPlaybackVoiceDataEvent" event, i want to add voice filters over the voice of other users. TS Docs: vo

Dynamically allocated structures are well initialised?

For POD structure, could new Demo_Class[CONST_NUMBER]() guarantee the dynamically allocated structures are well initialised(i.e. not garbage) in C++11 and after

Emulating Polymorphism without virtual pointers/overhead

Before reading I must emphasise I have demanding performance requirements (not premature optimization- processing millions of messages and need to design with p