Hi everybody,
I'm looking for a way to let the user enter their own bit of code into the program, and then have the program evaluate that line. As a web designer I know that JavaScript has such a...
Type: Posts; User: jdm
Hi everybody,
I'm looking for a way to let the user enter their own bit of code into the program, and then have the program evaluate that line. As a web designer I know that JavaScript has such a...
Ok, so I see that MFC has some classes dedicated to database interfacing. Still, I have no idea how to set up a database to use with a Windows program, nor the needed code to pass data between the...
Oh, by the way, I don't need to add any actual images to the database, at least not at this point. At most there will be a field for the path to a file, but only simple text strings.
Hi guys,
I'm a professional photographer with a bit of programming experience. I know a lot about object-oriented programming from scripting languages (PHP, ASP, JavaScript), but not too much about...
Ok, I'm starting to get the hang of putting together MFC dialog-based applications with VC++6.0. I can put the basic controls (edit boxes, buttons, etc.) into a dialog box, and I have a vague...
For starters, you might change all those nested if...else statements into a switch block. I think that would make your code quite a bit simpler and more readable. I'm pretty new to C++ too, though...
Thanks major, and everybody!
I understand classes, objects, etc., as I'm coming to C++ from a web-based OOP background. It's the quirky C++ synax that I'm trying to get a grip on.
Now... on the...
Ok, I'm pretty new to C++ myself, so here's my hackish way of doing it. I'm sure there is a cleaner method, but this is my way. I encourage you to do it your own way, rather than copy my code...
Ok--that makes a bit more sense. But as I read more I've managed to become even more confused, particularly after browsing through the MSDN Visual Studio documentation. I found out that if I use
...
Ok, as some of you might know, I'm working with Visual C++ 6 as my IDE.
As I read through books, tutorials, and blocks of code, I'm confused with the different styles of including headers in my...
Although these types of books catch a lot of flak, I think the Sams Teach yourself Visual C++ in 24 hours is a great beginner's resource for Windows-specific programming. It lets you jump right in,...
Ok--I know how to compile and run basic console apps and dialog-based MFC programs in Visual C++ 6.0. But, although I can run the programs, the files are stored in a debug folder, which I assume is...
By the way, here's the program I'm working on. The goal is to figure out the probabity of 2 out of 100 people in a room sharing the same birthday. Right now, I'm trying to find the probability of the...
Hi guys...
I'm pretty new to C++. I'm working with Visual C++ 6.0 on Windows XP, doing mainly console apps at the moment.
My question deals with how C++ handles large numbers--like >...