Search:

Type: Posts; User: 809AreaCode

Search: Search took 0.01 seconds.

  1. Once again, I've done all of these things......

    Once again, I've done all of these things... well, hand is an array, not a class because I'm too lazy, but... yeah.

    What I want is someone to shed light on how I might determine the value of a...
  2. Replies
    9
    Views
    2,822

    Yep, it all has to do with virtual methods. Since...

    Yep, it all has to do with virtual methods. Since your vtable points to B::yay(), you get a "1" when you call valp->yay(). This is just the nature of polymorphism.

    If you want to call A's yay(),...
  3. I've already created a main function and set...

    I've already created a main function and set retVal to a null filled string. The whole thing works as expected.

    cCompare accepts pointers... I guess because I just felt like using pointers. It's...
  4. A Poker Game... Sounds easy enough, right?

    Well... here I am, making a Card class, thinking I'll make yet another useless poker game or something. Making a card class is easy. Just put a couple of variables in there, some accessors, and throw...
  5. Replies
    1
    Views
    1,276

    "Page" class, CGI Programming

    Not a question, just thought I would share it. I've been using C for cgi programming for a while, I'm just now getting a real grip on C++. Anyway, I'm working on a "page" class, with methods that...
  6. Thanks for the speedy answer. It works!

    Thanks for the speedy answer. It works!
  7. CGI Programming: Reading from STDIN for POST method

    Having trouble reading from STDIN using fread(). The environment variable CONTENT_LENGTH is used to tell the program the length of the input in bytes. I can use atoi(getenv("CONTENT_LENGTH")) just...
  8. Replies
    5
    Views
    2,539

    Actually, I forgot to mention... struct ord was...

    Actually, I forgot to mention... struct ord was rewritten:



    struct ord{
    char dan[512];
    }ords[ORDNUMMER]; //no eng words here for simplicity
  9. Replies
    5
    Views
    2,539

    Reading Hex Values to Strings from File

    Hey, I'm trying to write a program that teaches you basic Danish vocabulary. Anyway, I originally had an array of structs with const chars for the dan word and eng word like so...



    struct ord{...
Results 1 to 9 of 9