Search:

Type: Posts; User: Xanth

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,318

    How does windows pass data to drivers?

    Hi all!

    Does anyone know how (and/or where I can find more information) on how windows passes data to drivers?

    What I'd like to do is put a hook between windows and my audio driver. Basically...
  2. Replies
    3
    Views
    951

    Limits of long doubles

    Hi,

    I wrote this little program to help with figure out convergence/divergance of series... However, for not very large values of a, the program gives the answer (run-time error?) -1.#IND

    I'm...
  3. Replies
    7
    Views
    1,717

    Ah, I get it now.... When the file reaches EOF,...

    Ah, I get it now.... When the file reaches EOF, it sets an EOF flag, and clear gets rid of that flag, making it possible to open the file again.

    Thanks!!
  4. Replies
    7
    Views
    1,717

    Yeah, it's assumed to exist, and is either filled...

    Yeah, it's assumed to exist, and is either filled with

    Height: 5-9 Age: 33
    Weight: 212 lbs Born: May 15, 1969, Pensacola, FL
    Pos: Running Back Drafted: Selected by the Dallas Cowboys with the...
  5. Replies
    7
    Views
    1,717

    One last question..... I fixed the code...

    One last question.....

    I fixed the code (below) and now the input file won't open for reading (in the menu section, when it's read to the screen).... I can't figure this out for the life of me why...
  6. Replies
    7
    Views
    1,717

    Ahhh! Bloody typos! Thanks a ton!!

    Ahhh! Bloody typos!

    Thanks a ton!!
  7. Replies
    7
    Views
    1,717

    Illegal use of IOS error

    Hi all!

    Can anyone explain to me why this code is giving me an "illegal use of IOS" error for the fstream objects hexwrite, vowel, and consonant?

    Thanks!!



    #include <iostream>
    #include...
  8. Replies
    2
    Views
    1,566

    Infinite loop problem

    Hi all!

    This program seems to get stuck in an infinite loop anytime someone enters an octal number and then tries to display it as a a hexadecimal one... I've been scratching my head for hours--...
  9. Replies
    4
    Views
    1,196

    Disregard this thread! I'm an idiot! :P ...Every...

    Disregard this thread! I'm an idiot! :P ...Every class needs to have a ';' at the end!
  10. Replies
    4
    Views
    1,196

    Whoops! There are a few other errors in this code...

    Whoops! There are a few other errors in this code from a cut-and-paste job. Here's the corrected version!



    #include <iostream.h>
    #include <string.h>
    #include <stdlib.h>
    #include <math.h>
    ...
  11. Replies
    4
    Views
    1,196

    Classes won't compile

    Hi all!

    I was just wondering if anyone could figure out why this won't compile... I grant you main does nothing right now, but the code should still compile (I think!)

    For every class member...
  12. Replies
    10
    Views
    4,246

    Aha! Found the getline issue! Darn MS VS 6.0 and...

    Aha! Found the getline issue! Darn MS VS 6.0 and it's bug! :P

    Thanks for the help/clarification, guys. You rule!

    -Sean
  13. Replies
    10
    Views
    4,246

    Ah, I see the light and once again am humbled...

    Ah, I see the light and once again am humbled (read: feel like an idiot!) ;) One last question, since I can't seem to find the answer to it anywhere: is there anyway to prevent the need to hit return...
  14. Replies
    10
    Views
    4,246

    Wait, do you mean to say that cin is leaving a...

    Wait, do you mean to say that cin is leaving a newline in the space? (eg "Bob Bobo" would be "Bob'\n'Bobo" instead of "Bob'\0'Bobo")

    As I understand the getline function, with three parameters it...
  15. Replies
    10
    Views
    4,246

    As someone who used to program exclusively in C,...

    As someone who used to program exclusively in C, I know char arrays ;) but I wanted to try a C++/STL approach-- besides, when you can append, modify, and basically do whatever you want with strings...
  16. Replies
    10
    Views
    4,246

    Program gets stuck in infinite loop

    Can anyone figure out why this program gets stuck in certain instances? ...Whenever you enter a destination with more than one word for the city name (eg "San Antonio") it goes into an infinite loop...
  17. Replies
    11
    Views
    2,722

    Awesome! That worked perfectly... Thanks guys!!

    Awesome! That worked perfectly... Thanks guys!!
  18. Replies
    11
    Views
    2,722

    Thanks for the suggestion, but one of the...

    Thanks for the suggestion, but one of the reqiurements of the assignment is that it be passed by reference (no pointers).
  19. Replies
    11
    Views
    2,722

    Thanks... I didn't see the functions missing the...

    Thanks... I didn't see the functions missing the passing of final! The errors I'm getting though are syntax errors that I just don't see!

    Here's the log:

    --------------------Configuration: lab4...
  20. Replies
    11
    Views
    2,722

    What's wrong with this code??

    Hi,

    I wrote this for a CSC 160 level class... Can anyone tell me why I'm getting compiling errors (specifically, why are the functions that use address referencing getting errors)? I can't figure...
Results 1 to 20 of 20