I am having a difficulty with special characters in C ++. I watched some videos about printing special characters on the console, until then okay I can print everything except ã and õ. After several attempts I realized that the same accents do n...
Hello. I'm using the following code to draw the background of the window and the progress bar:
case WM_PAINT: {
PAINTSTRUCT ps;
HDC hdc = BeginPaint(hWnd, &ps);
BITMAP bm;
HDC hdcMem = CreateCompatibleDC(hdc);
HBITMAP...
The file makefile.win gives an error while trying to compile my project. A warning appears asking to reload the file, after pressing YES and trying to compile again it again appears the same warning (an infinite loop);
Error line:
$(CPP)...
I made the whole procedure to use SDL2, but when I compile the following error occurs:
[Error]SDL/SDL.h: No such file or directory
This is the content of the line where the error occurs
<SDL/SDL.h>
What should I do ?? I research...
I have a protection for the University for a programming chair. One of the goals is the evaluation of inserted projects (the insertion part is already working), my problem is that when I evaluate , I do not know how but it deletes the list >....
How do I load a jpg image from a directory and then show it in the following window?
int WINAPI WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
WNDCLASSEX wcex;
wcex.cbSize = size...
I am creating an app which to do communication with my server I need to create a hash variable that depends on the class, function and parameters I am sending. the server validates this information and only then continues its process.
Tod...
Shortly in a programming contest I came across the problem of having to put more than 250 Inputs into one problem.
I would like to know if there is any way to put Inputs other than 1 by 1, by hand!
Do you know the Qhull ? It does a delaunay triangulation.
I have a set of points in a file and I want to generate the vertices, but I can not put the commands in the program.