Asperger
Hi I am completely IT challenged so apologies in advance! I would just like to know if it is possible to download the offline help files for Microsoft Visual C++ please and how? Many thanks. Kind...
View ArticleHomework Help
Help! I have a homework assignment due this afternoon and can not get it working. Here is a little more details about the assignment. Question3 (Strings & Files) (20 marks) Write a well-commented...
View Articlenew linked list error - undeclared identifier
I dynamically allocate a new list in the recMergeSort function which should run a constructor but when it get to the functions that use it, I get error C2065: 'otherHead' : undeclared identifier. I...
View ArticleC++ to put a message string through an algorithm / cryptography??
all, I'm looking for a resource (possibly CPP) for which I could do the following on a windows and linux machine: 1) type a string message into a GUI control (or some other input that can be accessed...
View ArticleNeed Help with 2D arrays and functions
Hey guys, I'm trying to do this problem set. You can read it here https://www.dropbox.com/s/uj2kd8a764...blem%20Set.pdf Basically I have already created the function that takes command line arguments...
View Articleno operator ""
I'm using the same type of write function for 3 classes. They all use the << operator. The Visual Studio error is giving me this error in my Date class but not in the other classes. I've been...
View ArticleURLDownloadToFile() not allowing the program to return value
Hello guys. I am new here, hope we will have good time together. I've been writing some code and this is part of it: Code: ... URLDownloadToFile(NULL, _T("http://something/something.txt"), path, 0,...
View ArticleProblems with implementing dlls
Hello, I know this is a simple question, but I'm really stuck here; I even bought a book and made what was written there, but it didn't help. I wan't to use the library wavelet2d from here. I'm using...
View ArticleIs it nessecary to display a array of bytes without converting to HBITMAP
I followed a tutorial to load a bitmap from file and convert it to a array of bytes to access it directly. Now to display the bitmap on screen do I have to convert it to a HBITMAP or can I display it...
View ArticleGetTextExtent don't detect the font size
Hi, I need use GetTextExtent and I don't understant why GetTextExtent always return the same value if I change some values of the selected font. This is my example: Code: LOGFONT lf;...
View ArticleHow to draw a 2D array of data in MFC
Hello, I have a circle of data that is represented as: vector<vector <unsigned char> >* data; The first dimension of this vector is the angle of the data so there are 360 angles, and the...
View ArticleQuestions about 3rd party library
This question is for experiences users. I have successful installed SDL library to MSVC 2010. It run fine with the first program. When I started with a new blank project and typed in #include...
View ArticleSTDMETHODCALLTYPE vs. __stdcall
I was implementing IDispatch, and I've run into the use of STDMETHODCALLTYPE which is equivalent to __stdcall. My question is, does the use of STDMETHODCALLTYPE serve any particular purpose other than...
View ArticleSTDMETHODCALLTYPE vs. __stdcall
I was implementing IDispatch, and I've run into the use of STDMETHODCALLTYPE which is equivalent to __stdcall. My question is, does the use of STDMETHODCALLTYPE serve any particular purpose other than...
View Article[RESOLVED] GetPixel won't pull from java programs?
Hey, I'm building a simple little program for minecraft to reduce the repetitiveness, and to help me along, I'm using getpixel, it's slow, but i only need to grab about 6-12 pixels. but the problem is,...
View Article[RESOLVED] Regarding member function
Hi, I was reading a c++ code written in embarcadero ide to add vertical colour text in popup menu. While reading the code, I had seen following instructions. private: Code: void __fastcall...
View ArticleAdding to .Pro file (Qt)
I created a new project in Qt Creator, the files included are the .Pro file, and the .Cpp file. Qt does not recognize the headers I try to reference in the .Cpp file. I am pretty sure it's because of...
View ArticleOnPaint() not being called for CWnd
Hello, I have a CWnd class, that is a child to another CWnd. The problem is that onPaint() is never invoked. Even when I call UpdateTest(), and the Invalidate() gets called, OnPaint() still does not...
View ArticleDirect 2d 1.1 access violation Need help
I am making a program in direct2D 1.1. I keep getting a access violation error when it reaches code dxgiDevice->GetAdapter(&dxgiAdapter); here is my header file Code: #pragma once #pragma once...
View ArticleSimple hangman game
Greetings to everyone! Firstly, I must apolagize for my English, I'm learning. What I have to do is the hangman game the simplest way as possible. This is the code I have at the moment: Code: #include...
View Article