Search:

Type: Posts; User: jdm

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    2,473

    Executing C++ Code at Runtime

    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...
  2. Replies
    4
    Views
    4,053

    Ok, so I see that MFC has some classes dedicated...

    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...
  3. Replies
    4
    Views
    4,053

    Oh, by the way, I don't need to add any actual...

    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.
  4. Replies
    4
    Views
    4,053

    Developing database management software

    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...
  5. Simple controls--properties, methods, values...

    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...
  6. Replies
    6
    Views
    5,766

    For starters, you might change all those nested...

    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...
  7. Replies
    11
    Views
    2,636

    Thanks major, and everybody! I understand...

    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...
  8. Thread: recursive function

    by jdm
    Replies
    11
    Views
    7,414

    Ok, I'm pretty new to C++ myself, so here's my...

    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...
  9. Replies
    11
    Views
    2,636

    Ok--that makes a bit more sense. But as I read...

    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
    ...
  10. Replies
    11
    Views
    2,636

    Understanding Headers and Inclusions

    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...
  11. Although these types of books catch a lot of...

    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,...
  12. Replies
    1
    Views
    1,719

    Finalizing Projects in Visual C++ 6.0

    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...
  13. Replies
    13
    Views
    2,536

    By the way, here's the program I'm working on....

    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...
  14. Replies
    13
    Views
    2,536

    Huge Numbers in C++

    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 >...
Results 1 to 14 of 14