Questions tagged as 'c++'

0
answers

Error creating Windows Form in Visual Studio 2015 C ++

I created an empty CLR project I went to in project > > add new item > > UI > > Windows Form but he gives this error there, how to solve it?     
asked by 15.11.2016 / 02:16
0
answers

How to call a function from an already injected dll (c ++)?

How do I call a function inside a dll already injected into the process? example: I would like when I push a button on the form that I created, call the function asmFunction (); if I call the function inside the Main_Thread it works fine, but I...
asked by 22.01.2017 / 02:13
0
answers

How to draw frames on the console, along with accented words?

I use the BoxDraw function below to draw frames in a program with text-mode (console) output. I can not use this function if I use words with an accent, because when I include the <locale> library (for menu words like "Rep...
asked by 25.10.2016 / 06:31
0
answers

Project in Qt compiles in Ubuntu but does not compile in Windows

I have a project for college originally produced on linux platform using Qt Creator and I need to migrate it to windows. I tried to compile but the project has errors in a single header file and I do not understand why. Some of the errors are...
asked by 20.10.2016 / 20:30
0
answers

cmake source_group has no effect

I'm trying to organize the project generated in visual studio, so I'm using the source_group function to add the directories I want, but it does not seem to have any effect: set(CPP_FILES_REGEX "\b(\w|\d)+\b\.(hpp|cpp|c|h)") source_gro...
asked by 02.12.2016 / 01:33
0
answers

how to change include references in classes created by QxORM Editor?

I started programming today using QxORM for persistence layer for tests, and as I use eclipse for all my projects, I immediately created a first test project importing into Eclipse. But the classes created in the .cpp file refer to the...
asked by 07.11.2016 / 23:55
0
answers

How to zoom in an image with opencv and C ++?

I have to program an algorithm to zoom in on an image without using the opencv tools, but I can not do it. How to zoom in an image using for loops? Mat img = imread("copo.jpg", CV_LOAD_IMAGE_COLOR); Mat img2 = Mat::zeros(img.size(), CV_8UC3);...
asked by 07.11.2016 / 12:43
0
answers

Authentication router

I'm trying to get into my Dlink router using C ++ and I'm having trouble logging in! I can not interact with login and password correctly! Sometimes this error occurs or the code .html of the router page says that the username or...
asked by 16.10.2016 / 01:29
0
answers

Algorithm depth - graph - DEFS

When applying the algorithm list of adjacent in the depth search - DFS with a set of vertices and their adjacent ones, the algorithm presents a result, if it changes the order of the adjacents of at least one vertex, the result is another one. T...
asked by 23.10.2016 / 16:54
0
answers

Where does the C / C ++ eclipse generate the executable?

I want to use a relative to open a file to read in Eclipse C / C ++, but would need to know where eclipse runs the file to put the file in that directory and use the line of code: ifstream input ("file.txt"); instead of: ifstream input (...
asked by 23.10.2016 / 01:31