Thread: compiler is not supporting data type long long and unsigned long

  1. #1
    Registered User
    Join Date
    Oct 2010

    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 int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    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.

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, 04: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, 03:07 AM
  4. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  5. Replies: 16
    Last Post: 10-29-2006, 05:04 AM