Microsoft Visual C++ is a C and C++ compiler for Windows. The most recent version of the compiler is Visual C++ 2012, which is available in both commercial editions and in a free Express Edition. The compiler supports the following languages: C: Only the C90 standard is supported; there is ...
0
votes
0answers
9 views
Dequeue iterator is not derefrencable
my basic visual c++ program opens a shared memory which has a queue of void pointer. Then I create 5 integers dynamically and put their addresses to queue. After each insert I print the size of queue ...
0
votes
1answer
31 views
simulate vectors as 2D arrays
I know that we can't have multi dimensional vectors. But I thought about defining the cells of the vector as pointers and this way simulate a two dimensional vector. Here's the code:
const char* ...
-2
votes
1answer
27 views
Creating a fully functional MP3 player in Windows
How do i create a MP3 player for windows? I need a good GUI.
My main question is:
1) Which is better Win32 API, QT, MFC, or anything else ?
2) I am good in Java, but i cannot develop this project in ...
0
votes
0answers
10 views
How to *reliably* install the VC++ redistributable on end-user computers
Best practices from Microsoft dictate that we link dynamically to the VC++ runtime for security reasons, and it sure would be nice if our application automatically picked up hotfixes without requiring ...
0
votes
0answers
18 views
HAVI undefined error when creating AVI files
I'm trying to create an AVI file from a series of BMP images and am using Lucian Wischik's source code from http://www.wischik.com/lu/programmer/avi_utils.html however when I
#include "avi_utils.h"
...
-9
votes
0answers
56 views
Search a string in folder which contains different types of files (e.g.- .pdf,.txt,.doc,.xls,.xlsx,.zip.rar and many more) [on hold]
I have created a folder which keeps the all the attachments from the outlook. i have to search any particular string in all the files of the folder, Like Windows Desktop Search which search in all the ...
0
votes
0answers
11 views
LNK2001 error when compiling on command line, but not in IDE
I have a large VC++ project developed in Visual Studio 2010 that I need to be able to build from the command line using CL.exe. In the IDE, the project builds successfully, but I haven't been able to ...
0
votes
0answers
14 views
Programming Embedded/External Microcontrollers with VC++
The microcontroller I am suppose to program controls a Lattice FPGA. I've never programmed a controller with VC++ (only C up to this point), and I am currently deciding over two design routes I could ...
-6
votes
0answers
27 views
injecting a hex array to a new file created in c++ [on hold]
I want to write a program that creates a new file and injects a hex array in it, I create new file:
HANDLE hFile3 = CreateFile("C:\\a.exe", GENERIC_READ | GENERIC_WRITE, 0, NULL, CREATE_NEW, ...
1
vote
1answer
68 views
what is fastest way for Visual-C++ DLL to copy 2-3Mega-Bytes to a C# buffer?
And what kind of C# buffer can handle this?
I need my C# solution .exe to get about 2-3MB of data, up to 60 times a second, from a Visual-C++ DLL that is generating live video frames (up to ...
0
votes
4answers
94 views
Why float taking 0.699999 instead of 0.7 [duplicate]
Here x is taking 0.699999 instead of 0.7 but y is taking 0.5 as assigned. Can you tell me what is the exact reason for this behavior.
#include<iostream>
using namespace std;
int main()
{
...
0
votes
0answers
8 views
Intel's IPP to create images from arrays
I am working in C++ and I have a vector container of float values. I want to write an image file to disk where the pixel values of the image are the values from the array.For instance I have 40,000 ...
0
votes
0answers
7 views
Can't figure out reason for this particular error
I'm attempting to access a "Windows global memory buffer" created by a third-party library for managing data being transfered from quickly sampling analog-to-digital I/O cards. The third-party library ...
0
votes
2answers
66 views
Rewrite C code into C# completely or write DLL? [on hold]
Can anyone tell me what would be more efficient: A large program is written in visual-C++ years ago is now intended to be written in C#. What would be better, re-writing the whole code of visual-C++ ...
0
votes
1answer
22 views
Visual Studio C++ option warn if class member is not initialized
Is there an option in the Visual Studio 2012 C++ compiler to make it warn if you use uninitialized class members?
The RTC-Checks are not compatible with managed C++ (/clr)