Search:

Type: Posts; User: ustuzou

Search: Search took 0.00 seconds.

  1. Thread: MP3 and DOS

    by ustuzou
    Replies
    10
    Views
    1,476

    There is a CD playing program on my DOS drive,...

    There is a CD playing program on my DOS drive, and it
    works fine. I imagine an MP3 program wouldn't be that
    much more difficult.

    Miki
    [email protected]
  2. Then you need to have the input routine before...

    Then you need to have the input routine before you declare
    the array. As I said before, you can't have an
    unspecified array size upon declaration. If the compiler
    doesn't know how big the array...
  3. You haven't defined the size of MAXPLAYERS, so...

    You haven't defined the size of MAXPLAYERS, so [MAXPLAYERS
    +1] isn't defined either. The stuff in square brackets is
    the array dimensions, and those have to be set whenever
    you declare the array....
  4. Replies
    16
    Views
    1,589

    The non-bulletproofed input for degrees, minutes,...

    The non-bulletproofed input for degrees, minutes, and
    seconds would be something like:

    char inputString[9];

    cout << "Input degrees, minutes, seconds, separated by
    commas ";...
  5. Replies
    0
    Views
    1,193

    strange behaviour by rhide

    When I use mouse clicks to click the "build all" item,
    rhide performs okay, although it does insist on the -g
    switch. When I hit <F4>, it compiles and links okay, then
    gives me a dialog box...
  6. Replies
    3
    Views
    1,459

    Thanks. I have two more questions. First,...

    Thanks. I have two more questions.

    First, does that code round up in case of a third decimal
    place that is 5 or more?

    Second, can you use <cstdio> instead of <stdio.h> in C++
    programs, as I...
  7. Replies
    3
    Views
    1,459

    rounder routine

    Do people have a usual function they use when rounding
    floats off to two decimal places (in order to represent
    monetary amounts)?

    I am asking because my program takes a percentage of a
    dollar...
  8. Replies
    4
    Views
    1,019

    bulletproofing question

    The cin command is problematic, because there is no
    checking for variable type. If you specify an integer and
    the user inputs a character, you get garbage. The
    solution seems to be to use gets()...
  9. Thread: Header files

    by ustuzou
    Replies
    14
    Views
    4,173

    So what's the way to compile several .cpp files...

    So what's the way to compile several .cpp files together
    at once? I actually tried this and it didn't work. (I'm
    using DJGPP, by the way.)

    Miki
    [email protected]
  10. Replies
    2
    Views
    2,075

    Thanks. Would I install Windows first, then put...

    Thanks. Would I install Windows first, then put the DOS
    system files in the extended partition and boot off floppy
    with reference to that partition? I don't think DOS would
    care where...
  11. Replies
    2
    Views
    2,075

    DOS booting variations

    My Windows HD is the primary master and my DOS HD is the
    secondary master. The Windows HD is FAT32 (yes, I know, I
    got it from someone else). To boot Windows, which I do
    rarely, I just power up...
  12. Replies
    2
    Views
    2,138

    Thanks. The program compressed my 246,000-byte...

    Thanks. The program compressed my 246,000-byte .exe to a
    90,000-byte .exe, and the program still works perfectly.
    Unfortunately, it will probably work only on a 32-bit
    system, since that is what...
  13. Replies
    2
    Views
    2,138

    DJGPP still produces bulky exes!

    Even after I use the -s switch in compiling my C++ code in
    DOS, a 2,500 byte .cpp file turns into a 250,000 byte
    .exe. Any tips on reducing the size of the .exe beyond
    what Mr. Delorie suggests...
  14. Replies
    0
    Views
    3,102

    a simple algorithm and questions

    As a test of my programming ability, I tried to write a
    little program that inputs the diagonal of a monitor and
    calculates the viewable area. It then optionally inputs
    the diagonal of another...
  15. Replies
    9
    Views
    1,417

    Thanks. I wish I had asked you before I bought...

    Thanks. I wish I had asked you before I bought it - it
    was about $50 Canadian.

    As for the Deitel book, do you have the ISBN number? I am
    certain I can get it if it's still in print.

    Thanks...
  16. Replies
    9
    Views
    1,417

    comment on C++ books, please

    I am a beginner and have the following books:

    - "Teach Yourself C++" by Jesse Liberty
    - "C++ from the Ground Up" by Herbert Schildt
    - "Debugging C++" by Chris S. Pappas
    - "The ANSI/CIO C++...
Results 1 to 16 of 16