Questions tagged as 'c++'

0
answers

Oauthcpp: Undefined reference to OAuth

I am using the following code. Which can be obtained from here . I am looking to make a twitter from a program, I am using codeblocks in raspbian SO. Below are the errors that mark me when compiling. I also followed the instructions shown...
asked by 11.08.2017 / 23:41
1
answer

How to fill a combobox in c ++ mfc with id and description?

I have this function that fills the combobox in C ++ mfc but I do not know how to save the id and the description in the combobox, since it currently does it with the pure description. In c # a pairvalue object is used to do this, but I do not f...
asked by 23.08.2017 / 01:09
1
answer

What's in it for QT_BEGIN_NAMESPACE and QT_END_NAMESPACE

Studying the examples included in Qt-5.9.1 I find the following code that I can not understand: QT_BEGIN_NAMESPACE class QAction; class QMenu; class QPlainTextEdit; class QSessionManager; QT_END_NAMESPACE class MainWindow : public QMainWindow...
asked by 22.08.2017 / 22:14
1
answer

Why do these errors come out?

Class code "linkedStackType" #define LINKEDSTACKTYPE_H #ifndef LINKEDSTACKTYPE_H #endif #include "NodoStack.h" #include <cassert> template < class TYPE > class linkedStackType { public: bool isEmptyStack() const; bool isFu...
asked by 21.08.2017 / 21:12
0
answers

Using QUndoStack with several widgets

Imagine a Widget with two buttons Undo and Redo and two QTextEdit , called Editor1 and Editor2 We know that every QTextEdit has its method undo() and redo() So far all I see, and I am able to do, is that whe...
asked by 16.08.2017 / 12:03
0
answers

When compiling in Qt I have a "g ++" error

When compiling in Qt I get this error and can not execute.    Project ERROR: Can not run compiler 'g ++'. Maybe you forgot to setup the environment? 15:22:23: The process   "C: \ Qt \ 5.9.1 \ mingw53_32 \ bin \ qmake.exe" exited with code 3...
asked by 13.07.2017 / 17:17
2
answers

Stacks with fixes in c ++

I need to make a code that meets these conditions: I already made the program using linked lists: #include<iostream> using namespace std; struct nodo{ int dato; nodo *sig=NULL; }; void apilar(nodo *&inicio,int x);...
asked by 24.07.2017 / 19:27
0
answers

Tesseract c ++, error in SetImage

I am applying tesseract to individual character images sequentially, the first character is detected correctly, but when processing the second the program stops as shown in the image The problem is that Tesseract is not able to clean th...
asked by 07.07.2017 / 17:18
2
answers

Show the contents of a QList

Hi, I've been working with the Qt library on C ++ for a while now and I'm getting the following problem: Given a class named "project.h" I define a list as follows QList<Capa*> datosCapas; . Following this, I proceed to load th...
asked by 29.06.2017 / 20:41
1
answer

How can I solve this exercise? C ++ Cycle for

Start programming with for cycle, would you help me try to solve this exercise? Thanks ... Create a program that allows you to enter an entire number from 1 to 12 and show me the multiplication table of that number. #include<stdio.h> #in...
asked by 27.06.2017 / 22:30