compiler is not supporting data type long long and unsigned long

This is a discussion on compiler is not supporting data type long long and unsigned long within the C++ Programming forums, part of the General Programming Boards category; plz help me, I am using a turbo c++ and dev-c++ 4.9 ver compiler now i want to declare a ...

  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    1

    compiler is not supporting data type long long and unsigned long

    plz help me,
    I am using a turbo c++ and dev-c++ 4.9 ver compiler now i want to declare a variable as date type long long or unsigned long because the variable may be 20 digits in length which means 64 bits of binary plz help me which compiler to use is there any method to change the data in the header file limits.h

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,417
    Well you're screwed if you want to do this with TurboC. It's a 20 year old 16-bit compiler!
    Someone is wasting YOUR TIME AND MONEY if they're teaching you with this crap.


    You should also ditch dev-c++ in favour of Code::Blocks
    It at least uses a more up to date version of GCC, so you should be able to use long long quite happily.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling C in Visual Studio 2005
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-16-2009, 03:25 AM
  2. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  3. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 02:07 AM
  4. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  5. Replies: 16
    Last Post: 10-29-2006, 04:04 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21