Questions tagged as 'c++'

1
answer

Problems with ã and õ in C ++

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...
asked by 16.10.2015 / 23:16
0
answers

How to draw a progress bar?

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...
asked by 17.09.2015 / 01:33
0
answers

Makefile.win error while compiling the project

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)...
asked by 16.06.2015 / 02:27
0
answers

Error compiling in DEV-C ++ (SDL)

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...
asked by 15.06.2015 / 23:35
1
answer

Editing in Linked Lists

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 >....
asked by 24.05.2015 / 02:11
1
answer

Possible to implement KeyEvent in a class that inherits from Qwidget instead of QFrame

My class: class Jogador : public QWidget { Q_OBJECT public: Jogador(QWidget* parent = NULL); void draw(); void paintEvent(QPaintEvent* event); void keyPressEvent(QKeyEvent* event); private: int x,y,w,h; QVBoxLayout*...
asked by 30.05.2015 / 22:10
1
answer

Upload image JPG and show in window

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...
asked by 07.05.2015 / 20:04
0
answers

How to read a DLL with Cordova or Javascript

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...
asked by 18.06.2015 / 13:53
3
answers

Is there any way to put the Input automatically?

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!     
asked by 11.05.2015 / 16:23
0
answers

How to use Qhull

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.     
asked by 14.03.2015 / 21:16