Questions tagged as 'visual-c++'

1
answer

Array of objects with the class 'vector'

I wanted to know how you could create an array of objects with the vector class and also call the constructor method of each vector object (array). What I have done so far is this: #include<iostream> #include<vector> using names...
asked by 16.06.2018 / 02:18
2
answers

Rename a txt file in C ++

I am programming in visual c ++ 2008 for smart device. I am trying to change the name of a txt file. I have a code taken from Microsoft msdn but it does not work for me. The code compiles well and does not give any errors, but does not change th...
asked by 27.07.2017 / 09:49
1
answer

Differences between C ++ and c ++ / cli

I am trying to make a windows form, and searching the web, I have seen that it is the c ++ / cli language, but I do not understand very well what this means. As I understand, it is a modification of c ++ by Windows, but I do not find any relatio...
asked by 07.07.2017 / 00:28
1
answer

Problem using cv :: Imread

I am writing a code to read all the images in a folder and then write the information of the images in a binary all together. The problem is that when I use the function cv::imread the field .data of the cv::MAT always remains null...
asked by 16.05.2017 / 13:37
1
answer

operate arrays from two different txt files

Hello! Good day :) I want to make a program (in Visual C ++) that makes several operations (with overloaded operators) with two arrays read from two different txt files. So far I have done this. typedef unsigned int uint; class matriz { privat...
asked by 16.04.2017 / 23:02
2
answers

Use of linked lists in Win32 (winapi) C ++

Good morning, I would like to know how to use double linked lists in Winapi, more specifically, where to initialize the list? and within the CALLBACK, how to use the list? (or simply by declaring it in the right place can it be used without prob...
asked by 07.06.2016 / 04:25
0
answers

Create, view, search, modify and delete a file.txt

The program fails in case 4 and 5. I appreciate if you can help me and see what is wrong. using namespace std; #include <iostream> #include <fstream> //guardar fichero int main() { int cedula,opcion,Bcedula,edad,telefono,Ntel...
asked by 08.02.2017 / 05:01
1
answer

Perform search in DataGridView using textbox c ++

Hi, I would like to know if someone can help me perform a search, in a DataGridView that from a TextBox when writing, that is, in the eventeo KeyPress the table will be refreshed to see the record. As you can see in the image in t...
asked by 10.05.2017 / 20:52
0
answers

User interface with c ++

Hello everyone I want to learn about user interfaces with c ++ but I can not find a complete tutorial I do not know if someone can help me with a PDF or course on YouTube about the creation of user interfaces with visual studio (Windows form) an...
asked by 10.10.2018 / 04:38
0
answers

Capture event Exited from the Process Visual C ++ class

I am using Visual C ++ from visual studio 2015 and I want to capture the moment when a process is closed. This is the outline of an initial code. I have consulted the Microsoft documentation but there are no examples to use this event with C ++....
asked by 29.08.2018 / 03:51