visual-c++-2005 Questions

12

Solved

How do I find the above without removing the largest element and searching again? Is there a more efficient way to do this? It does not matter if the these elements are duplicates.
Besom asked 11/9, 2009 at 19:7

14

Solved

class Test { public: SOMETHING DoIt(int a) { float FLOAT = 1.2; int INT = 2; char CHAR = 'a'; switch(a) { case 1: return INT; case 2: return FLOAT; case 3: return CHAR; } } }; int m...
Galvanotropism asked 31/8, 2009 at 17:22

7

Solved

Does anyone know an efficient way to right circular-shift a matrix? Btw, the matrix is binary but a method to solve a non-binary matrix is also fine. Right now, I'm thinking of implementing a circ...
Alloplasm asked 25/9, 2009 at 17:56

7

I created a C++ console app and just want to capture the cout/cerr statements in the Output Window within the Visual Studio 2005 IDE. I'm sure this is just a setting that I'm missing. Can anyone po...
Flashcube asked 16/9, 2008 at 14:59

1

Solved

I need to write to individual bytes of some integer types. Should I used reinterpret_cast, or should I use static_cast via void*? (a) unsigned short v16; char* p = static_cast<char*>(static...
Northwest asked 8/7, 2014 at 8:22

1

I bumped into a very serious error using visual studio 2005, running a C++ Win32 Console application. The problem will show when running the code below (simplified), using the following project pro...
Superhighway asked 18/9, 2013 at 11:34

5

Solved

Does anyone know a resource where we can obtain FREE C++ libraries for MATLAB functions? For example, linear algebra problems can be solved using LAPACK and BLAS. Also, MATLAB in a .NET proj...
Liberal asked 25/8, 2009 at 18:12

3

Solved

MSVC's "secure" sprintf funcions have a template version that 'knows' the size of the target buffer. However, this code happily paints 567890 over the stack after the end of bytes... char bytes[5]...
Radial asked 29/4, 2010 at 14:46

2

Solved

I'm reading from a file and parsing its contents. I need to make sure a CString value consist of only numbers. What are the different methods i could achieve it? Sample code: Cstring Validate(CSt...
Overage asked 8/10, 2012 at 7:13

3

Solved

The code below compiled in Debug configuration in VS2005 SP1 shows two messages with “ITERATOR LIST CORRUPTED” notice. Code Snippet #define _SECURE_SCL 0 #define _HAS_ITERATOR_DEBUGGING 0 #inclu...
Tendency asked 10/3, 2010 at 10:1

5

Solved

I'm experimenting with multithreading in Windows and was wondering whether I should use Win32 API use POSIX Threads for Windows Learning Pthreads would be useful if I tried to develop such appl...

4

Solved

How do I maximize the CPU usage for my application? I tried setting it to "Real-time" in the Task Manager, but there was no noticeable improvement - it's stuck at 50%. I'm working in Windows XP wi...
Abandon asked 27/10, 2009 at 21:40

3

Solved

As you might be aware an update to visual studio 2005 was auto updated on most machines last week. This update included a new version of the visual c runtime library. As a result any binaries built...
Cordwainer asked 6/8, 2009 at 13:6

1

I'm mostly new to Visual Studio, so I apologize if this is a basic problem. I have a solution which contains a number of projects. In project A, I have a pre-existing set of files that I added a ne...
Buddy asked 24/7, 2009 at 17:43

1

Solved

For testing purposes, is there some place in the Visual Studio IDE where you can specify the command line parameters that you want sent to your startup project when it's launched from the IDE? Tha...
Concertmaster asked 7/1, 2009 at 17:23

4

Solved

Can anyone point me in the right direction how to configure Visual Studio 2005 with our C++ console project how we can include a 'File Version' in the details section of the file properties. I've ...
Medial asked 21/11, 2008 at 9:59

7

Solved

Here's something I know is probably possible but I've never managed to do In VS2005(C++), While debugging, to be able to invoke a function from the code which I'm debugging. This feature is sometim...
Clements asked 7/11, 2008 at 2:18

3

Solved

I have intermittent crashes occurring in my ActiveMQ libraries due to the way I'm using the activemq-cpp API. It'd be much easier to debug the issue if I could observe every function being called l...

4

Solved

I'd like to use a different icon for the demo version of my game, and I'm building the demo with a different build config than I do for the full verison, using a preprocessor define to lockout some...
Chapell asked 16/9, 2008 at 14:17
1

© 2022 - 2024 — McMap. All rights reserved.