Questions tagged as 'c++'

0
answers

What type of cycle to create to validate a text file with xml.C ++ tags

Good evening this exercise has me quite worried, I'm supposed to do a program in c ++ where I verify a text file that has an xml tag structure. You want to develop a program in C ++ that allows you to validate in a text file with XML content...
asked by 20.10.2017 / 04:24
1
answer

How to make an .exe in linux and qt

Last mistake I get when doing make: I've already done the mxe root and the make thing but when doing the make it gives me this    make [1]: i686-w64-mingw32.static-g ++: The program was not found   Makefile.Release: 333: failure in the instru...
asked by 15.12.2016 / 03:42
0
answers

error when compiling

I get an error when compiling several files, these are the errors:    93 20 [Error] request for member 'get_aceptacion' in '((nfa *) this) -> nfa :: statements_.std :: vector :: operator [] > ((( std :: vector :: size_type) i)) ', which i...
asked by 17.10.2017 / 02:33
0
answers

How can I stop giving me error in execution time in this binary tree?

At the moment of executing it, it adds and deletes me well except when I want to delete a node without children, I do not understand why I get an error and the program goes bankrupt I would like to know if someone could help me giving me a tip,...
asked by 17.10.2017 / 03:05
0
answers

Problem with XAMPP, CGI and C ++. How to enable cgi?

I'm trying to make a small CGI with C ++ (all for practice) in which I try to take the data from a form in HTML and then print it on a new screen. The fact is that following the tutorial, at the time of executing the .exe, what it does is downlo...
asked by 23.10.2017 / 06:07
0
answers

Valgrind errors in compilation and execution

When I run a program with the valgreend I get the following: ==6153== Invalid read of size 4 ==6153== at 0x401620: estado::n_transiciones() (estadoNFA.cpp:31) ==6153== by 0x401C82: nfa::mostrar(std::ostream&) (NFA.cpp:96) ==6153==...
asked by 18.10.2017 / 02:49
1
answer

Problem, with file type .txt fstream

Hello my problem is the following, I use a readdir to read all the files in a directory and it does it perfectly, it reads all its files without problem but the problem lies when I use the ifstream to open and print certain information that ther...
asked by 24.11.2017 / 02:23
1
answer

c ++, declare a struct as a global variable

C ++, when declaring a struct as a global variable, later I can not access it from an object (class) ... The development environment consists of three files: the 1st file contains the main pgm, so the variable is defined: struct stXXX {...
asked by 25.10.2017 / 04:01
0
answers

Mysql Connector C ++ 1.1.9 conflicting declaration "typedef long int int32_t"

After all the morning investigating, I still do not solve this problem. I am trying to link mysql and codeblocks 16.1 and a type declaration error occurs, the declaration is repeated in 2 files .h in config.h (library that comes with Mysql co...
asked by 03.10.2017 / 23:16
2
answers

I do not see the Win32 option in c ++ in Visual Studio 2017

Could you help me? Why do not I see the win32 option in c ++? I have installed all development for desktop and uninstalled and reinstalled but still not displayed. Here I leave an image. I hope you can help me. link     
asked by 22.09.2017 / 06:01