Why can't I assign long myLong = 9223372036854775807 ?

Hi,
I can assign the max allowed value to int
     int i = 2147483647;by why not the same max value for long ?
  long l = 9223372036854775807;?
Also, Can i force unsigned data types ?
Thanks,
Rob

by why not the same max value for long ?
  long l = 9223372036854775807;?That should be:
  long l = 9223372036854775807L;
Also, Can i force unsigned data types ?
No
KajCode tags still eat the "L" at the end of these "long" values. :-(

Similar Messages

  • Why can my iPad no longer find my wireless printer?

    Why can my iPad no longer find my wireless printer? Anyone know? It is an HP Photosmart 5510 printer. I had no problem a couple of weeks ago when I first got the printer. Very annoying! Many thanks jonni

    Jonni-
    Did you make any changes to your system, like a new Wifi router?  Some are not compatible with AirPrint.
    One possibility is that you have a print job stuck in the print queue.  Double click your Home button, and a row of recent Apps will line up along the bottom of the screen.  Scroll across and look for the Print Center.  If it is there, you should be able to delete any stuck print job.
    Fred

  • Why can't I no longer watch movies from iTunes while they are downloading?

    Why can't I no longer watch movies from iTunes while they are downloading?

    Videos and movies purchased from the iTunes Store are by demand of the content owners copy protected and cannot be edited, regardless of what the software is you attempt to use. There is nothing anyone here can do to help you with that. If you need to be able to edit videos, you'll need to purchase and import the DVD - such importing is despite the content owners' efforts still legal for class use (as with any copyright issue, confirm fair use issues with your district's legal office) though we can't discuss methods here - which you'll then be able to edit.
    Regards.

  • Why can't you no longer restore trashed messages, all content is now lost?

    Why can't you no longer restore trashed messages, all content is now lost?

    At the top of the messages is Load Earlier Message, if they're not there they're gone. That's why mail has to be deleted twice.

  • Why can't i send longer than a 30 second video message?

    Why can't I send longer than a 30 second video message on my Droid Maxx?

    The text message application and system restricts the maximum size of the file transfers. The resolution of the phone camera also contributes to the size of the videos.

  • Why can't I assign applications to different desktops?

    Why can't I swipe with three fingers to go from application to application which are assigned to different desktops since moving from Lion to Mountain Lion?

    What I did: I used trackpad preferences and changed the settings to the following:
    1) 3 finger swipe to go to previous and next page
    2) 4 finger swipe to switch spaces.
    Works like a charm now.

  • Why can't I assign applications to spaces anymore?

    I used to have my different apps (Mail, iTunes, Safari) open in separate spaces and the SAME space every time.  I did this by right clicking on the open app icon in the dock and selecting options > Assign to > This desktop.  This no longer works.  Now applications ALWAYS open in the first space.  When I right click on the icon now there is NO OPTION to assign where the app opens.  The ONLY application I still have this option for is safari.  For all  the others it has disappeared.  For example now when I right click on the mail icon the only options I have are: Keep in Dock, Open at Login, Show in Finder.  There used to be the option to assign Mail to the current desktop, all desktops or none.  That option has now disappeared.  The same goes for iTunes and other apps.
    Please note that I was well aware of how to assign apps to desktops before.  Since 10.8.4 that option has now disappeared from my interface.  Mission control offers no way to assign apps to spaces either.  What happened?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, or by a peripheral device.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain iMacs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Why can't I assign hardware and guest os profiles to servers in the new SCVMM 2012 Service Templates?

    Trying to learn SCVMM 2012, but I'm confused about how Guest OS and Hardware Profiles work with the new 2012 Service Templates.
    I create a Hardware Profile and a Guest OS Profile. Then I open the Create VM Template wizard. In this wizard I can assign the Hardware and Guest OS profiles I created under the Configure Hardware and Configure Operating System steps in the wizard.
    If I open the new Service Template wizard, select a Single Tier Server (for example), open the Service Template Designer and go to the properties of the server I find under Hardware Configuration and OS Configuration I cannot assign my Hardware and Guest OS
    profiles to the server.
    Why is this? It seems like extra work to have not be able to assign these profiles to servers in a service template. Is there something fundamental I'm missing here?

    I have the same issues with the equipment I maintain. Two things are consistent that I see between this forum and my set up. I had 10.5 on all our Macs and each of them could connect with out issue to the shares on a windows xp machine. I have three Mac computers I am working with. 1. My main computer a MacBook Pro 2.4ghz core 2 duo, an Intel iMac, and an older Mac Pro G5 running OS 10.5 server.
    I have another server running kiosk or signage displays that is a windows xp machine. All of my macs could access the windows xp machine by clicking on it and authenticating to it and then the shares will show up.
    I upgraded my MacBook Pro first to 10.6 and have been unable to connect to the windows shares ever since. Keep getting Authenticatoin failure. So my work around is to transfer files to the 10.5 macs and then screen share one of them and access the windows share from them. Spoke with Apple support and they could not help and said it was a know issue but did not have a solution.
    Last week I upgraded the iMac to 10.6 and it too, now will not authenticate to the windows shares.
    Here are the strange things... I can take my macbook pro home and access all windows shares on my home networked computers. I even took the windows xp machine home from work to test it and I was able to connect to the shares without issue from my Macbook pro.
    Two things stand out ... you mentioned a Cisco router and we use a Cisco router at work. Also, both of us have upgraded to 10.6 and authentication fails at that time.
    Problem is between OS 10.6 and the Cisco routers I believe. I am not sure how to fix the issue though.

  • Why can't I no longer connect to the Internet via my AirPort Extreme Base?

    I suddenly can no longer connect to the Internet through my AirPort Extreme. Everything was fine until this morning. My Base Station is connected to a DSL modem and then my computer connects to the Internet wirelessly through the Base Station. The center light is on in the Base Station. The left light flickers telling me there is wireless activity. I can still access my printer through the Base Station. But the right light is no longer flickering. I have rebooted everything several times. Does anyone have insight into this problem. This is the second time this has happened. For over a month I could not access the Internet through the Base Station, and then suddenly and arbitrarily it started working again. This morning it just stopped again.

    I've had the same problem - mine started after I upgraded to 10.4.8 on my MacBook a week or so ago.
    I can see other networks around my home and when I travel, but can only connect via ethernet cable (and my ISP is comcast - I thought the upgrade was supposed to help make connecting with comcast better).
    My G3 has no problem connecting, so I don't think it's exactly a problem with my modem, or base station, or even comcast. I think it has something to do with my base station and upgrading to 10.4.8. Btw, dropping back to 10.4.6 hasn't helped.

  • Why can't I assign a particular color to an event?

    I've been using Entourage as my primary mail and calendar program for over ten years. I have an iPhone and Mobileme and think it's time to intergate everything into Mac.
    However, I've been disappointed by iCal. Unlike Entourage, it doesn't seem to offer any features in terms of categorizing/color coding specific events.
    I have created two calendars, one for work and one for personal. Problem is that the events in each calendar are automatically assigned the same color as the calendar, ie. all personal events are orange, all work events are blue. If you click on "Edit", there are no options available to change the color.
    I would like the ability to change the color of particular events. Can this be done?
    Also, what's up with the muted color palette in iCal? Is there any way to introduce some more interesting colors?
    Overall, I feel that iCal is pretty poor and certainly not up to the standards of other programs such as iWeb, iPhoto or iTunes. It needs a major overhaul.
    Any suggestions would be great, otherwise I'll stick with Entourage.

    You can create many calendars, each with its own colour, to try and differentiate events more easily, but you can't apply colours to individual events.
    You can get a wider colour palette by clicking 'other' in the colour chooser, which opens the full Mac colour options palette, allowing you set up any colour you want.
    But if you want/need to be able to colour individual events, that doesn't help much, I'm afraid.
    Generally, iCal is much more limited than Entourage, partly because it's not really designed as a PIM, more a simple calendar.

  • Why can't I assign CMD F7 key to macros?

    I use a product called iKey to create all sorts of macros. I have noticed that with both my iBooks (Late 2004 and Mid 2005) I cannot assign any macro to cmd F7, or Option F7, or Cntl F7, etc. (Fn F7 works fine.) Can anyone tell me whether there is something special about the F7 key?

    By the way, this isn't an iKey thing. If I go to the Keyboard & Mouse preference pane in Tiger and select the Keyboard Shortcuts tab, it too will not allow the assignment of any key combination involving F7 except for Fn F7. This is beginning to drive me nuts!
    Dave Burbank

  • Why can I not assign colour labels to some files

    When I try to assign a colour label to some files or folders, even icons, sometime it works, sometimes it doesn't.  I've tried from the contextual menu, from Get Info, from File > Label.  Sometimes, one method may work but it's puzzling when none works.  Why is this anyway. I never had this problem before ML.
    Colour me frustrated...

    I've been so used to working seamlessly from external drives (I had a MBPro 2.2, 120GB drive, tip-toeing around in Lion), that it never occured to me that it would be different in ML on my new Mac Mini.  So, yes, after further investigation, the problem seems to only occur on the ONE external drive which I used all the time for all my video files, photos, music and any other large folders. (I plan to migrate most of it to my main drive now that i have 1GB to play with, so it's a temporary hiccup at least.)  This probably also explains why I have to "authorize" any move or transformation on that drive, but WHY?  It doesn't happen on other drives and I even tried changing permissions to Read and Write for Everyone, to no avail.  Perhaps it's still tied in to the MacBook somehow, but then so would be the other drives.  ???
    Anyway, thank you for your time and for making me delve into this further.  At least now I know it doesn't affect the main system.

  • Re: Why can I not assign specific music to a slideshow?

    I thought that I had tried everything, until I came across this Thread:
    http://discussions.apple.com/thread.jspa?threadID=446667&tstart=0
    It was just the simple-dimple problem and once I followed the lori steps, I "found" the library music.
    So simple. So dumb.
    Thank You Very Much!
    Respectfully,
    Bill Gallagher
    Oh, is there any way to find the default music that comes w/slideshow. I'd like to use it in an iTunes folder together w/another song, as the default tune is too short. I know I have to put them both in the same folder/album, but I can't find that default music?
    Ok, found it. It's called "Acoustic Sunrise.aif" (yeah, I know it's lame but it fits in well with the first part of my slideshow), but I can't get to it. Any advice would be appreciated. Path='/Library/Audio/Apple Loops/Apple/iLife Sound Effects/Jingles

    Bill:
    The default music is located in the iPhoto (application package)/Contents/Resources/Music folder. You open the iPhoto package by Control-clicking on the application and selecting "Show package contents" from the Contextual menu. You can add tracks to that folder is you want a different default song.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

  • Why can't change the long text in Sales text view of materail master data?

    It give me a information: Please read the intructions carefully before you install, connect or switch the pump on.
    my R/3's version is 4.7 of IDES.

    What exactly means "can't"; what happens when you try?
    What is your operating system?

  • Why can't I no longer move bookmarks into some folders?

    Three times now I have attempted to move different bookmarks into folders, but Firefox will not allow me to do so. I believe this has happened under the last two Firefox versions. Until then I never had a problem. I need this fix to reorganize my bookmark folders.

    Does this happen in Safe Mode?
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    '''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    '''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    ;[[Image:SafeMode-Fx35]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

Maybe you are looking for