Thread: "Floating Point : Overflow" ??

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    37

    Question "Floating Point : Overflow" ??

    My program runs and compiles perfectly fine on Visual C++, but when i test it on Turbo 4.52 (coz school is gonna use that to test the program)

    ... it runs and compiles but when I type a float it gave me that error message.

    "program.exe Floating Point: Overflow" then exits.

    Okay Should I b worrying ? Does it have anything to do with the executable part of my program, my computer? or the compiler?
    Last edited by mellisa; 02-15-2003 at 04:07 PM.

  2. #2
    samurai warrior nextus's Avatar
    Join Date
    Nov 2001
    Posts
    196
    1)visual c++ is a windows compiler and turbo is a console compiler
    2) probably depending on the bits of the compiler they have different ranges..like a int in visual c++ is 4 bytes (goes up to 2.1 billion) but it might not be same for other compilers because in older compilers i think an int was 2 bytes....so probably you need to change it to double?
    nextus, the samurai warrior

  3. #3
    Registered User
    Join Date
    Apr 2002
    Posts
    37
    even when i change it to a double ... same thing

  4. #4
    samurai warrior nextus's Avatar
    Join Date
    Nov 2001
    Posts
    196
    hmm can i see the code pls
    nextus, the samurai warrior

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help realy needed
    By ZohebN in forum C++ Programming
    Replies: 2
    Last Post: 04-08-2008, 09:37 AM
  2. Getting a floating point exception
    By SnertyStan in forum C Programming
    Replies: 13
    Last Post: 03-25-2008, 11:00 AM
  3. How to monitor process creation?
    By markiz in forum Windows Programming
    Replies: 31
    Last Post: 03-17-2008, 02:39 PM
  4. instantiation point discussion
    By George2 in forum C++ Programming
    Replies: 1
    Last Post: 03-08-2008, 03:48 AM
  5. overloading operator help
    By syrel in forum C++ Programming
    Replies: 8
    Last Post: 09-30-2004, 10:49 AM