Thank you so much Dave. I had not thought about the nature of the OnBnClicked function; returning the new state that had just resulted from clicking the button that is. This was in fact the problem....
Type: Posts; User: MyglyMP2
Thank you so much Dave. I had not thought about the nature of the OnBnClicked function; returning the new state that had just resulted from clicking the button that is. This was in fact the problem....
Hello, I am somewhat new to windows programming and was wondering if someone could answer a question I have about some strange behavior. I have a row of check boxes that I am using to check...
I'm having a hard time figuring out how to rubber band a rectangle in a dialog. I've done this in a view by following some simple directions, and that took all of probably 3 minutes. The dialog seems...
Hello,
I have an MFC application that has many different classes which need to access a struct filled with particular values. All of the classes need to have access to these values so I thought...
First let me say I'm pretty new to windows programming and that I am using MFC in this application because that is what the previous programmers built it with. What I am trying to do is create a...
Thank you again Mats. I guess I should have been able to figure out from all the message maps that in MFC messages are handled differently on the surface, since it hides the details (I think). Thank...
Thank you Mats for the simple and concise answer. I appreciate it. I am however having a difficult time locating the event loop in this particular program. I am basically doing maintenance and bug...
I am pretty new to Windows programming, but not to C++ in general. I am trying to figure out how, in my program, I would be able to tell when a window is moved; as in the user just clicking the title...
cpjust:
I don't think they are in different namespaces, but Fl_widget is from a toolkit called FLTK, so they might be. I am not familiar enough with namespaces to know for sure. There are no...
Hey,
I tried to search and found a little, but it was not enough to help me. I am getting this error:
InputBox.h:8: error: expected class-name before '{' token
but I'm pretty sure the...
So, I have changed my code to this:
while (k < aSecondSubString.size()-1)
{
//cout << "newString" << k << " is " << newString << endl;
if (aSecondSubString[k] != ' ' &&...
So could i resize it and then try that? Or can I only assign variables in using the [0][0] syntax? Is there anyway I can assign something to the vector[0] position and the vector[0][0] positions...
I am having trouble putting values into a 2D vector. I'm trying to put the X into one spot and then have the 2 be in the other. so it will eventually be like this:
vector[0] = X
vector[0][0] = 2...
Hey, I am having trouble coming up with a way to simplify the arithmetic equations that I am creating using classes. The purpose of my program is to manipulate mathematical equations. It is built...
Is it called ADT dictionary? What is the difference between ADT dictionary and a hash table?
Does anyone know where there might be a good tutorial to explain the concept of an Table ADT. I'm sure it's easy to understand but I'm just not sure I totally get it. Or if someone would like to take...
Firstly, I appreciate help, and thank you for replies, but please try to be a little less insulting. Of course I know what return is and non-void. However I don't understand why it has nothing to do...
Hey guys. I am trying to access the members inside of my struct, which is inside of my class in the private section like this:
class someClass
{
public:
unsigned getNumber() const...
when I try to start up emacs, I get: " Connection lost to X server 'localhost:12.0' "
EDIT: ok I figured it out, I wasn't starting X server, ;)
by the way, nice avatar perspective. love WC3,...
I have heard some people saying it is possible to use an emacs GUI on a remote machine using a combination of SSH and X tunneling and maybe some other programs. Does anyone know how to do this? As of...
Ok, I figured that part out, it needed to be
if (in.peek() != '+' && in.peek() != '-' && in.peek() != '*' && in.peek() != '/' && in.peek() != '=' && in.peek() != '~' && in.peek() != '#' &&...
Daved, thank you very much, that was indeed the case. I overlooked that time and time again. However now I have a new problem. I have inplemented some checks to make sure all the values in the file...
I'm writing a program for a postfix notation calculator and I take in filenames on the commandline and then process them from there. However I can only ever process the first command. Can someone...
I'm basically trying to get this to read in a file called something like foo.dat using at the command line ./foo foo.dat foo.txt, where ./foo is the compiled program, foo.dat is the input file, and...
I think i've got it but not too sure, and If anyone knows any other way to do this how could i do it?
#include<iostream>
#include<cctype>
#include<string>
#include<fstream> ...