Range of Long type doesn�t fit

Hi!!!
I am trying to assign the following value to a variable of type long
long A = -140737488355327;
The compiler tells me that such integer number is too large. I can�t assign it to A.
Sun�s tutorial tells that long variables can hold a minimum value of
-9,223,372,036,854,775,808. In my case it is not working... Somebody help??

Yeahhh it worked...
But why the L in the end???
ThanxssssIt means long. Without it, it'll be interpreted as an int (which doesn't fit).
Note that Annie's already posted the correct answer, but the buggy forum software eats the trailing L from within code tags (if you quote her reply, you'll see the L again).

Similar Messages

  • Long text doesn't fit the window exactly

    Hi friends,
    in PO smartforms i have included the header text of PO.
    the problem is the long text doesn't fit to the window exactly i.e.,
    when we enter the text in PO in the header a line can contain only 60 characters approximately where as in my smartforms it can contain more than that.
    so in the display of smart form i get lot of space in the right side and i get the remaining part of text in the next line.
    regards,
    Saravan raj

    hi,
    what u have told is correct but we can't expect the end user to do it each time when they paste the long text.
    is there any option to bring it by default.
    regards,
    saravan raj

  • The new power cord I ordered for my macbook air doesn't fit, too long; my computer is three years old. have they changed the powercord?

    I have a three year old macbook air. I ordered a new powercord from amazon (two, actually), and it doesn't fit.
    The cord connection is too long for my computer.
    Is the new powercord a new size, and if so, is there any adapter?

    Yes, there is a new style adapter called MagSafe2, you need the original MagSafe adapter.

  • Mini Display to VGA adapter doesn't fit

    I have an older(2008) MacBook and the MIni display to VGA adapter I purchased doesn't fit my book. Is there one that I can buy that will fit?

    The Late 2008 model 5,1 Aluminum Unibody and the Late 2009 model 6,1 and Mid 2010 model 7,1 White Unibody have a Mini DisplayPort. The Early 2006 model 1,1 through Early 2008 model 4,1s plus the Early and Mid 2009 model 5,2s have Mini-DVI ports.
    Here's the various types of Mini-DVI to VGA adapters on Amazon.com http://www.amazon.com/s/ref=nb_sb_ss_c_1_15?url=search-alias%3Delectronics&field -keywords=mini-dvi+to+vga&sprefix=mini-dvi+to+vga%2Caps%2C272

  • Rack mount kits doesn't fit the depth of Agilent rack

    I have a PXI 1085 Chassis which I want to mount in an Agilent rack.  I purchased the front and rear rack mount kits, the height and width are great, but the depth of my rack doesn’t allow me to use both the front and rear rack mount kits.  Is there some kind of adapter I can buy which will extend the rear rack mount so that it can reach the back?

    Hi Chall,
    Unfortuantely we only offer the kits for a certain size range. If this does not fit your rack then you will have to create a custom rack mount.
    Regards,
    Kaitlin N.
    National Instruments
    Applications Engineer

  • Adapter doesn't fit Mac air.

    Guys, I purchased an adapter from apple for my Mac air 11 from an Apple store.  Long story short, adapter seems to be new gen and doesn't fit.  What's up,with that?

    Return it, and get the correct one.

  • Car charger doesn't fit with bumper case!!!!!!!!!

    Hi
    Just got my new bumper case on the free offer and it look great BUT my car charger doesn't fit with the case on ( I have tried 2 different types)
    The house charger fits fine.
    The car chargers were bought of the net, will I need one form the apple store to get it to work.
    Has anyone esle had this problem?
    This is my first I phone and its brilliant but this case fiasco is annoying!!!!
    Cheers Sandy

    Hi,
    This is an unfortunate fact. Some aftermarket products don't fit. I have an iTrip and I had to modify the plug to fit in. Simple with a dremel tool. File will work too. Cheaper than buying a new charger/FM transmitter.

  • PCI Card doesn't fit?!

    Hey guys,
    I need firewire 400 for my audio mixing desk. I was advised to not buy an adaptor and use the current Firewire 800 ports, but to instead buy a Firewire 400 PCI Card.
    Well, I did that and it doesn't fit. Obviously I have made a mistake. Would I be correct in saying the full length card I have is PCI and I need to buy one that is PCI Express?
    Any Firewire 400 PCI Express card I can see online seems to be very short and not contain enough gold connections for the rather long looking PCI-e slots inside my mac pro.
    http://www.jigsaw24.com/product-details/x538awa
    A little help please?

    Yes I did. I forgot about getting back to you, I am very sorry. I have been extremely busy and stressed trying to start up this new business. This recent hickup is one I really didn't need and can not afford to repeat so I need to make sure I am getting the correct product this time.
    Thanks for the website link but I am in the U.K.
    Its proving very hard to find any PCI Express Firewire 400 cards. I find a lot of cheap ones by Startech. I have no idea if that company is any good. Perhaps this is something that I do not need to spend a lot of money on?
    The apple store online doesn't appear to have any.

  • DVD Burner Doesn't Fit!! Any others?

    Just bought a LaCie 16x LightScribe internal DVD+-R double layer burner since it was recommended on this site, and now come to find it doesn't fit by millimeters due to the mirrored doors.
    Any other DVD burner suggestions? I mean, a size that actually fits the mirror-doored Mac?
    Thanks for taking the time to read this!

    You'd think that all optical drives would be the same size, but they're not. I found that one out several years ago..
    If the drive is indeed too long to mount in the drive carrier and seat fully into the chassis (you say by only a few millimeters) and you've done the obligatory step of removing the tray bezel, the next step would be to remove the entire faceplate of the drive. Depending on the drive, there are usually at least four tabs on the faceplate that hold in the drive chassis. Simply press in the tabs with a small screwdriver while prying the faceplate forward. That may give you the clearance you need to get the drive to fit.
    -Douggo

  • T510i eSATA/USB3.0 combo port: eSATA cable doesn't fit

    Hello,
    my T510i has a eSATA/USB3 combo port. I assume that an eSATA plug should fit in there. But the eSATA cable I bought doesn't fit. (It fits into my external hard drives eSATA port, though.)
    Can you help me with this, please?
    Thanks a lot in advance!
    Ben
    Solved!
    Go to Solution.

    Hi wt510,
    could you please post the Type and Model Number of your T510 along with the manufacture date, (shown after the s/n on the label), please do not post your s/n.
    Thanks in advance
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • T61, OCZ Agility 3 doesn't fit in the HDD cage

    Hi all
    So, I finally bought myself an SSD for my old ThinkPad. Works wonderfully - except that it doesn't fit quite right. 
    The OCZ Agility 3 is slightly too wide for the HDD cage, on the bottom of the drive. Recall that the drive sits bottom side up in the ThinkPad, and that the cage sits on that side. My drive doesn't fit that way, however it does fit beautifully with the HDD cage turned upside down (obviously you can't screw the drive to the cage this way, but that is not a problem)
    Now for my question: there is two metal tongues in the top of the HDD compartment, that I'm quite sure should be in contact with the HDD cage - which they now are not. Is my drive now not electrically shielded the way it should be, or what is the purpose of these?
    I could cut some plastic off from the drive and make it fit the right way, but I'm pretty sure that would void the warranty of the drive, something I don't want to do. The ThinkPad on the other hand, is long out of warranty. Answers, information and suggestions is greatly appreciated.
    Sincerely /O8h7w 
    A few thoughts that fled from the head of O8h7w
    Solved!
    Go to Solution.

    That is strange that the drive is wider than a normal drive!
    You don't really need the cage. You can get away with just sliding on the rubber boots, and put a piece of wide tape folded over on the drive so that you can pull it out if needed.
    Enjoy the SSD!
    T61p T7500, Quadro FX 570M, 4GB, 60GB Patriot Pyro, XP Pro
    X61t Tablet, L7300 Centrino vPro, Windows 7 Home 64-bit
    tpfancontrol installed on all systems

  • I ordered some RAM but it doesn't fit inside the slot.

    http://www.newegg.com/Product/Product.asp?Item=N82E16820146575
    I discussed purchasing some RAM and was told that this product would work for my G5. However upon recieving the product I discovered that doesn't work and doesn't even fit inside the slot!
    My question to you is what is the problem... and what type of RAM do I really need to order. Thanks...

    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/73003/wo/lP7qZK0 JgAeD2WWTHCg10bLNXZ6/0.SLID?nclm=PowerMac&mco=586014F6
    I have the newest model for the Powermac G5's and its the 1999$ model. So its Dual 2.0 Ghz. The part that doesn't fit is the little "u" in the center where it has to correspond for the slot. That "u" is maybe a centimeter off from being in the correct spot. It would be nice if someone could just post a link on newegg.com of RAM that is known to work and is 2x 1 GBs chips.

  • Apple Mini-DVI to Video Adapter doesn't fit my aluminum iMac

    I previously had a 17" white iMac (pre-Intel) machine, and about 6 months ago I bought the mini-DVI to video adapter so I could connect it to my television. Worked like a charm. But I recently bought a new aluminum iMac, and the adaptor doesn't fit into the mini-DVI port in the back of the machine. It appears the adaptor and port are both male ends.
    Has the port changed on the aluminum iMacs? The product description for the adaptor on Apple's website says it works with iMac (Intel Core Duo). Isn't the aluminum iMac an Intel Core Duo? I can't figure out why it doesn't fit and which cable I'm supposed to be using instead.
    Any advice would be appreciated!

    Hi Paul
    Yes the Intel iMac [Spec's|http://support.apple.com/specs/imac/iMacMid2007.html] call for the (M9319G/A) Apple Mini-DVI to Video Adapter!
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore?productLearnMore=M93 19G/A
    The iBook, eMac, or iMac G5 use the Mini-VGA to Video adapter.
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=722 C6629&nplm=M9109G%2FA
    Dennis

  • My thunderbolt to firewire adapter doesn't fit the firewire???

    I bought the apple store "Thunderbolt to FireWire Adapter" today.  I'm trying to put my old iMac in Target Mode and move old files.  The firewire cord doesn't fit into it???  I'm sitting here feeling pretty stupid and stumped?

    Your firewire cord is the wrong size.  Apple's cord is 800 port.  What size is your cord? 

  • I can no longer type after typing a URL and autocomplete not finding a matching URL. How to fix that?

    After I open Firefox I start typing the URL. After each letter I see autocomplete suggestions. Imagine I type "g", then "o" (google is shown as autocomplete), but then I enter "a". Since I have no pages that begin with "goa", autocomplete is hidden and the problem is, I can no longer type anything. All my key strokes are now ignored (backspace, enter... it dosen't matter). But I still see the cursor blinking after "goa".
    I have discovered that Firefox must be focused on some other interface element (not in the address bar), because if I press the TAB key, the focus is again shifted to the address bar and I can continue typing. Sometimes I have to press TAB 2 or 3 times while entering an address to be able to write what I want. It looks like every time autocomplete is closed, the program focus leaves the address bar.
    I've been having this problem for at least 4 or 5 versions of Firefox and it does not happen on every Firefox session. It can be solved by closing Firefox and opening it again. Pressing the TAB key has become kind of a reflex, so it's just annoying and I can work around it.
    But why is this happening?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • Why is network connection asking for WEP password all of a sudden?

    Just recently, my airport or wireless network seems to have gotten weird on me. I've used the same wireless network flawlessly for years and tonight, I noticed my internet seemed down. I tried connection doctor to determine if it was my ISP or my net

  • How to clear IPAD2 's add-on APP Cookes?

    How to clear IPAD2 's add-on APP Cookes, Ex: QQ HD,Map...not for Safira.

  • Numpad 789 and 123 not working in Quick Apply[ctrl+enter] window.  [CC2014.1]

    Hi guys, We recently switched to CC2014 from CS5.5 and one of the feature we had been using a lot before was the Quick Apply window.  However when we want to use the Quick Apply feature in CC2014.1 with the numpad, the numbers 789 and 123 don't work,

  • Flash and PHP for login status

    Hello and thank you in advance for taking the time to read my question. I currently have a login utility that is the front end of a multi page site. The individual logs in and is then granted access to what ever their "authorization level" is. I wish

  • Voltage and messing up my computer

    I have a mac computer from the United States, but I moved to Europe now and I would like to know if I buy a European mac charger for my mac, will it do any damage to my computer or is it safe. The voltage is different and I dont want to ruin my compu