Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged C++

0 votes
388 views
1 answer
    It's said that with polymorphism, we can access a derived class member field with it's base class object like this: #include <iostream> #include <string> ... tools vector member take Tool as it's type? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
414 views
1 answer
    I am banging my head on this one for a while so I figure I will post. I have two library projects where Project2 uses/references Project1 in the ... file: 'GraphCtrl.h': No such file or directory See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
413 views
1 answer
    I want to get the model from my SQlite Database, when I set the query in the QSqlQueryModel I can get the number of rows, number of columns, etc. ... delegate: Text{ anchors.fill: parent text: nombre } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
461 views
1 answer
    I need to copy the full filepath, without filename, into a QString from QFileDialog below. QString fileName = QFileDialog::getOpenFileName(this, tr("Select app to install" ... , tr("APK Files (*.apk)")); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
448 views
1 answer
    I have been having the following problem: std::tuple<Ts...> some_tuple = std::tuple<Ts...>(); for (int i = 0; i < 2; i++) { const int j = i; std: ... is in the const int j = i; vs. const int j = 1; See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
344 views
1 answer
    TL;DR On multiprocessors/multicores engines, more than one RT SCHED_FIFO threads may be scheduled on more than one execution unit. So thread with priority 60 and ... (); thr_divisor.join(); return 0; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
348 views
1 answer
    I made a game using SDL and OpenGL in C++, which is of course common for games. Windows 10 should be able to detect that it's a game and show the Game ... can I do to make Windows 10 detect it as a game? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
512 views
1 answer
    I have tried fallowing this tutorial and it did not work. I do not know why it is not working. I'm using Ubuntu 14.04 and GNU G++ ... to `glfwWindowShouldClose' collect2: error: ld returned 1 exit status See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
365 views
1 answer
    I need to display a list of ActiveX controls for the user to choose. It needs to show the control name and description. How do I query ... a way to differentiate controls from COM automation servers? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
541 views
1 answer
    When I run the example code, the wordLength is 7 (hence the output 7). But my char array gets some really weird characters in the end of it. wordLength ... behind it?? And how did it end up there? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
305 views
1 answer
    I'm trying to talk to a an usb device connected to an EasySync USB2-H-5004-M USB to RS485 converter at baud rate 3750000 but on OSX. I' ... communicate to the device using the FTDI D2XX library ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
485 views
1 answer
    I'm working in Android, writing some JNI code, and I'm looking for a way to query the Mobile Equipment Identifier (MEID) from the device. ... to have that permission. Dumpsys permission denial in java See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
434 views
1 answer
    There are numerous example on SO regarding the use of placeholders however I am still a little bit confused and would appreciate it if someone could explain the ... 2) then why the need of a placeholder ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
385 views
1 answer
    I'm trying to compile a project I recently started working on, and was asked to compile the code in clang instead of gcc. There is a CMake file for ... need to post any more info. Many thanks in advance! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
366 views
1 answer
    I am trying to avoid the situation described in this Stackoverflow entry: Debugging core files generated on a Customer's box. If I compile all the libraries ... I need another solution. Edit: fixed typo. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
458 views
1 answer
    say I have a std::vector with N elements. I would like to copy every n-th element of it to a new vector, or average up to that element then ... I would prefer not to use external libraries such as boost. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
622 views
1 answer
    I am new to COM and have to create a COM wrapper for a C++ dll, to make some functionality in it accessible for managed code. I mainly followed this ... dll? Or the DLL that tblimp.exe generates from it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
382 views
1 answer
    i have something like while(playAgain==true) { cout<<"new game"<<endl; //i know 'using namespace std;' is looked down upon while(playerCard!=21) { * ... loop when I want to break out of both of the loops See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
287 views
1 answer
    So I just had a question, In c++11 why do I have to specify the type of a static member to assign to it a value? Example: class Player { static ... 0; due to it being already declared? Thanks in advance. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
513 views
1 answer
    I am creating a keystroke logger for my personal interest, as well wanting to know how to capture and use them as functions (like key shortcuts). I ... example, pressing Ctrl+E to make the program exit. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
350 views
1 answer
    I want to use AES-256 encryption/decryption in my C++ code to do that I use cryptoPP library, I have implement encryption and ... ( StreamTransformationFilter: invalid PKCS #7 block padding found See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
454 views
1 answer
    I need to free the bitpointer, because this function is executed multiple times and memory usage is growing for a reason I don't understand and it crashes ... ,hdcTemp); delete []bitPointer; ///Error } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
674 views
1 answer
    I am trying to build a project by cmake 2.8.12 with visual studio 10 in 32bit architecture. But I am getting these error and cmake ... is unknown Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
332 views
1 answer
    What I wish to do is, after creating a dialog box with DoModal() and pressing OK in the box to exit it, to have a custom value returned. For ... a couple of strings the user would input in the dialog. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
973 views
1 answer
    I am trying to write a program to solve a quadratic equation whose coefficients' values do not exceed 100 by absolute value and it is guaranteed that if any roots ... SO, but I don't believe it's a bug. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
389 views
1 answer
    I have problems linking against boost python. I am using Visual Studio 2017 and compiled the boost 1_64 package with the following command line: b2 ... set boost_python3...lib as linker dependency. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
264 views
1 answer
    I have a strange problem with a calculator made using boost::spirit. This calculator is supposed to take a string as argument representing a series of ... Any idea where this error comes from? Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
414 views
1 answer
    I have an in-memory sqlite database which I want to convert to a simple blob, and I want to do this preferably without using any serialization library. I ... any other way? (Development is done using C++) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

37.2k users

...