I'm trying to play a video for a DirectX texture via Media Foundation by searching I did not find much about it except for this example of # later test and adapt to other situations (instead of playing direct audio, processing audio,...
I'm trying to use c ++ boost library.
Reading a tutorial on their website, I came across this and do not know how to do it.
It is said that I have to include #include <boost/test/unit_test.hpp> and make a link with this lib: libunit...
The program does not have any errors in the build, but when I run the code it has the following message:
libopencv_core.so.3.4: can not open shared object file: No such file or directory
The .pro file looks like this:
QT += c...
What's the difference in calling a function in the following ways:
The first way to create a thread.
Example:
DWORD WINAPI Metodo1(LPVOID)
{
// Meu código aqui...
return NULL;
}
int WINAPI DllMain(HMODULE hModule, DWORD dwReaso...
I could not find a better way to describe the title of the topic, if it is not good enough, I ask that moderation edit it for me.
I have some questions regarding an effective anti-cheat gaming system. Yes, I know the best anti cheat comes dir...
I'm not able to insert elements into a list vector. The program prints the variable amount_of_vertices and then a run-time error occurs.
#include <iostream>
#include <list>
#include <vector>
#include <stdio.h>
using nam...
I installed SFML in CodeBlocks using the instructions here
link
Then I compiled the example code from there, which should display a window with a green circle:
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWind...
I'm using pthread.h and using the following functions:
//
// Cria A thread
//
thread_argsPP[contthreadsPP] = contthreadsPP;
pthread_create(&threadsPP[contthreadsPP], NULL, ReceivePinPad, (void *) &thread_argsPP[cont...
I'm migrating a project in MFC from Visual Studio 2010 to 2015.
In this process I discovered that _outp, among other commands, have been permanently removed.
In the MSDN (_outp, _outpw, _outpd) report that "These functions are deprecat...
I'm developing an application in C ++, where I need to use a library I've developed before with CMake. But I do not want to call the binary directly because each platform will have to have a binary separately, and it's annoying to have to compil...