Hello Forum Gurus:
I am implementing a CONSOLE application vis-a-vis my SDI application. I can get a console to launch correctly and send output to the console.
My Problem:
I would like for the console to exit "gracefully" when the user hits the X-button or choses Close from the...
Hello Forum Gurus:
Does someone have an example of how to implement an OnDraw() function that will draw a series of polygons in a view such that regardless of how many polygons there are they will all be drawn in the current view size?
Assume that:
1) I can predetermine what the maximum and...
Hello Forum Gurus:
I am implementing a CONSOLE application vis-a-vis my SDI application. I found some code to do this, and I can get a win-32 style console to launch correctly and send output to the console.
My Problem:
I would like for the console to exit "gracefully" when the user...
Hello Forum Gurus:
I am trying to figure out how to implement a CArray of a structure that contains within it another CArray.
The outer structure desired is:
struct BASE
{
int BasePoly;
CArray <int,int> AdjTo;
};
and I can declare a member of this in my document:
class CMainDoc : public...
Hello Tek-Tips Forum,
Before describing my problem I should give a short background. I
am a forest research scientist and my applications have been stictly
command window programs. I am now trying to learn some C++ and
MFC so I can build some simple front-end user interfaces for future...
I am trying to create a generic function that will delete memory
I have created on the Free Store (using operator new). My idea
is to have a Switch statement inside the function that is
activated by an incoming parameter. My problem is that I am
using pointers within structures and I may be...
Does anyone have a good fail-safe method to parse out a text string that is column delimited (i.e. columns 1-4, which may have whitespace, is reserved for a particular variable). I have the following set up to read lines of input data that need to be parsed apart:
while((GetStatus =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.