Questions tagged [C++] (5597)

1
answer

How to display count down time in label qt?

How to make a countdown was displayed in the label,that's what I did but I have displays the current time QTextStream in(&file); QTime start = QTime::currentTime(); while (!in.atEnd()) { QString line = in.readLine(); if (line.contains(v) || line.contains(s) || line.contains(k) || line.contains(m) || line.contains(q)...
juana_Predovic asked April 19th 20 at 12:45
1
answer

What is non-commercial (even conditionally) library for Visual Studio is best suited for creating graphics of a CAD program?

What is a non-profit library for Visual Studio is best suited for creating graphics CAD program. Interested in how the issue of rendering 2D graphics (lines, circles, elipse, text, smoothing, selection of significant objects for rendering and so forth), and a comfortable writing user interface of the application itself (mod...
Enrique.Murray73 asked April 19th 20 at 12:41
1
answer

How to get ip addresses of all running servers on UDP?

Deal with winsock and UDP. Write on one PC, no LAN. On the client send a broadcast request: sockaddr_in broadcast; // enable broadcasts int enableBroadcast = 1; setsockopt(ClientSocket, SOL_SOCKET, SO_BROADCAST, (char*)&enableBroadcast, sizeof(enableBroadcast)); broadcast.sin_family was = AF_INET; broadcast.sin_port =...
Julia42 asked April 19th 20 at 12:41
0
answer

How to get the type of the element in focus in any third-party application?

There is a virtual keyboard. You need to open it when the focus is in a text box. The problem is that this should work with any third-party applications. Tools: Qt, C++, Xlib
elbert_Tromp22 asked April 19th 20 at 12:37
1
answer

Books/tutorials on writing your own game engine?

Prompt, please, good books/tutroial to create their own game engine.
brennon_OConner asked April 19th 20 at 12:37
2
answers

Is it appropriate to compile a dll with a class inside it?

There is a very convenient Liba (Krat), I want to write over it a wrapper simplifying a lot of the routine and give in the form of a dll for writing software in c++. The pros have been uploaded yet class for working with him. Googled - like you, but (honestly) don't want to go and to stumble on a rake for nothing. How diffi...
Kameron_Grimes7 asked April 19th 20 at 12:35
2
answers

The meaning of the inscriptions, Ty, Alloc, Allocator in error?

Trying to remove the class object from vectors, and is displayed in a tip. It has such a record. What does it mean? there are no instances of overloaded function "std::vector<_Ty, _Alloc>::erase [with _Ty=A *, _Alloc=std::allocator]" Explain that because of _Ty_Alloc, c_Ty, _Alloc, allocator.
Mercedes_Gottlieb asked April 19th 20 at 12:34
1
answer

What is error c++?

izabella_Ortiz asked April 19th 20 at 12:34
2
answers

How to properly hash a large file?

Wanted to know about how to properly hash the file size exceeds the amount of RAM in the computer?
Kristopher asked April 19th 20 at 12:34
1
answer

What is the difference between #pragma once and guards inclusions?

Is there a difference between: #ifndef HEADER_H #define HEADER_H // code #endif and that #pragma once
norberto.Volkman asked April 19th 20 at 12:34