Please help, im so confused

im trying too make a till for a shop but im getting the error 'operator * cannot be applied to int,Price total += tempItemAmount * (tempItem.getItemPrice());'
     private int printItemReceipt(ArrayList tempItems) {
         // Clone the tempItems list so that it can be picked apart
         ArrayList tempReceipt = (ArrayList)tempItems.clone();
          * Print a list of the items in a receipt format (to be sold)
          * This is done by searching through the list, when an object
          * is found, a search for other objects of the same type is
          * run, when one is found, the ammount of the object is increased
          * then the instance is removed from the list until there are no more
         // Hold the total item cost tally
         int total = 0;
             for(int i = 0; i < tempReceipt.size(); i++){
              Item tempItem = (Item)tempReceipt.get( i );
              int tempItemAmount = 0;
                  while(tempReceipt.contains(tempItem)){
                   tempItemAmount++;
                   tempReceipt.remove( tempItem );
               System.out.println( "\n" + tempItemAmount + " x " + tempItem.getItemName() );
               System.out.print(" $" + tempItem.getItemPrice() + "(x" + tempItemAmount + ")");
               System.out.print("   $" + (tempItemAmount * (tempItem.getItemPrice())) );
               total += tempItemAmount * (tempItem.getItemPrice());   <===  just here
          System.out.println("\n\nItem total = $" + total);
          System.out.println();
          return total;
      * null
      * @param tempItems
     private void checkout(ArrayList tempItems){
}and i dont know why or how to fix it any and all help is welcomed

its a big bit of code (well for a newbie like me any way) but here it is
import java.io.*;
import java.util.ArrayList;
import java.io.Serializable;
import java.text.StringCharacterIterator;
import java.util.*;
* This is the main class - the program is run by java Shop
public class Shop implements Serializable {
     public Shelves theShelves = new Shelves();
     public Till theTill = new Till();
     transient BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
     int balance; //holds the value from getQuatity
      * Using startUp an owner can add various goods to the system.
         * We can then can add an item, set the price and set the stock level.
     public void startUp() {
         // Stores the user's menu choices
             int choice = 0;
             String tempChoice;
     try{
                 do{
                      System.out.println("\nWelcome to the item menu. Do you wish to:");
               System.out.println("1: Add a new item");
               System.out.println("2: Set an item price");
               System.out.println("3: Set an item stock level");
               System.out.println("Esc: Back to Main Menu");
               System.out.print("\nPlease chose an option: ");
               tempChoice = buf.readLine();
               // Check for an Esc symbol and return if found
               if( tempChoice.charAt(0) == 27 ){
                   return;
                 }while(true);
               // Convert the tempChoice string to a more managable integer
               choice = Integer.parseInt( tempChoice );
               switch(choice){
                      case 1:
                                   // Create a new item which will be added to the shelves
                       createItem();
                           break;
                   case 2:
                          // Provide the user with a list of existing items to chose from, along with an index
                       System.out.println("\nPlease enter the number of the item you wish to change the price of...");
                       System.out.println( theShelves );
                       System.out.print("\nEnter number here: ");
                       // Call setItemPrice and pass the item number input from the user
                       setItemPrice( Integer.parseInt( buf.readLine() ) );
                           break;
                            case 3:
                                   // Provide the user with a list of existing items to chose from, along with an index
                       System.out.println("\nPlease enter the number of the item you wish to change the stock level of...");
                       System.out.println( theShelves );
                       System.out.print("\nEnter number here: ");
                       // Call setItemPrice and pass the item number input from the user
                       setItemStockLevel( Integer.parseInt( buf.readLine() ) );
                           break;
                            default:
                                   System.out.println("\nPlease enter a valid option");
                                       break;
          catch (IOException e){
                  System.out.println("\nThe till has suffered an IO exception "+e);
          catch(NumberFormatException e){
                  System.out.println("\nPlease enter a number only");
      * Using startTill, an owner can add the various
     * monies to the till specifying the name, value
         public void startTill(){
             // Stores the user's menu choices
              int choice = 0;
              String tempChoice;
                   do{
                          System.out.println("\nWelcome to the monies menu. Do you wish to:");
                    System.out.println("1: Add a new money type");
                    System.out.println("2: Add more of an existing money");
                    System.out.println("3: Remove monies");
                    System.out.println("Esc: Back to Main Menu");
                    System.out.print("\nPlease chose an option: ");
                           tempChoice = buf.readLine();
                    // Check for an Esc symbol and return if found
                    if( tempChoice.charAt(0) == 27 ){
                        return;
                    // Convert the tempchoice string to a more managable integer
                        choice = Integer.parseInt(tempChoice);
                    switch(choice){
                        case 1:
                                     createMoney();
                                         break;
                              case 2:
                                     setMoney(choice);
                                         break;
                              case 3:
                                     setMoney(choice);
                                         break;
                  while(true);
      * Using runTill, an owner can sell items.
         * Customers put in their order, the system
         * then tells her how much to charge.
     public void runTill() {
            // Stores the user's menu choices
             int choice = 0;
             String tempChoice;
             // Stores the list off items to be sold
             ArrayList tempItems = new ArrayList();
             while(true){
              try{
                      System.out.println("\nWelcome to the sales menu. Do you wish to:");
                   System.out.println("1: Enter name or number of item to be sold");
               System.out.println("2: Show current Receipt");
               System.out.println("3: Complete sale");
               System.out.println("4: List all items");
               System.out.println("Esc: Back to Main Menu");
               System.out.print("\nPlease chose an option: ");
                   tempChoice = buf.readLine();
               // Check for an Esc symbol and return if found
               if( tempChoice.charAt(0) == 27){
                   return;
               // Convert the tempChoice string to a more managable integer
                   choice = Integer.parseInt( tempChoice );
               switch(choice){
                            case 1:
                                   // Stores the temporary item name or number
                       String tempItemName;
                       int tempItemNumber = 0;
                       // Creates temporary storage for an item, presets to null
                       Item tempItem = null;
                       // Ask the user for the name of the item to be sold
                       System.out.print("\nPlease Enter the Name or Number of the item to sell: ");
                       tempItemName = buf.readLine();
                       // Attempt to parse an array index value (int) from the user input
                       // if a number format exception is caught the input must be a string
                       // so a different call the theList should be made to find the item
                           try{
                               if(tempItem == null){
                                tempItemNumber = Integer.parseInt( tempItemName );
                           catch (NumberFormatException e){
                               //bubble sort
                           finally{
                               if( tempItem == null ){
                                // Find the item by its indexed number
                                tempItem = theShelves.getItemByPosition( tempItemNumber );
                           // Ask the user for the number of the item(s) to be sold
                           System.out.print("\nPlease Enter how many " + tempItem.getItemName() + "(s) are to be sold: ");
                           int tempItemAmount = Integer.parseInt( buf.readLine() );
                           // For the number of items, add the item to the item ArrayList
                           for(int i = 0; i < tempItemAmount; i++){
                                tempItems.add( tempItem );
                                            break;
                            case 2:
                                   // Call printItemReceipt to print a receipt from the passed Item ArrayList
                       System.out.println("\nReceipt of current items being sold:");
                       printItemReceipt( tempItems );
                           break;
                   case 3:
                                   // Pass the item list to checkout for calculation of money totals
                       checkout( tempItems );
                                       break;
                   case 4:
                                   // Print a list of all item names along with indexes
                       System.out.println( "\n" + theShelves );
                           break;
                   default:
                                   System.out.println("\nPlease enter a valid option");
                           break;
              catch (IOException e){
                  // Print an error message to handle the IO Exception
               // (Error in receiving user input)
                   System.out.println("\nThe till has suffered an IO exception "+e);
              catch(NumberFormatException e){
                   // Print an error message to handle the NumberformatException
                   // (User has entered a none int value)
                   System.out.println("\nPlease enter a number only");
      * Using getChange, an owner can tell the systen how much of
         * each denomination she has been given by the customer and
         * the till tells her what to giveback.
       public void getChange(){
        * Using getBalance it tells the owner what is left in the
        * till and how much money has been made during the day
       public void getBalance(){
          Monies tempMonies = new Monies();
            balance = tempMonies.getQuantity();     //getQuantity returns a int value
        * runMenu provides the main menu to the shop allowing a
        *  user to select their required operation
       public void runMenu() {
           // This is the main menu which runs the whole shop
           // Stores the user's menu choices
           int choice = 0;
            String tempChoice;
            while( true ){
                    try{
                     System.out.println("\nWelcome to the main shop menu. Do you wish to:");
                 System.out.println("1: Add / Edit items");
                 System.out.println("2: Add / Edit money types");
                 System.out.println("3: Sell Items");
                 System.out.println("Esc: Exit shop program");
                 System.out.print("\nPlease chose an option: ");
                     tempChoice = buf.readLine();
                 // Check for an Esc symbol and return if found
                 if( tempChoice.charAt(0) == 27 ){
                     return;
                 // Convert the tempChoice string to a more managable integer
                     choice = Integer.parseInt( tempChoice );
                 switch(choice){
                     case 1:
                                  // Call startUp for adding and editing new items
                      startUp();
                                      break;
                           case 2:
                                  // Call startTill for adding and editing money types (coins&notes)
                      startTill();
                                      break;
                           case 3:
                                  // Call runTill for selling items
                      runTill();
                                      break;
                           default:
                                  System.out.println("\nPlease enter a valid option");
                                      break;
            catch (IOException e){
                 // Print an error message to handle the IO Exception
                 // (Error in receiving user input)
                     System.out.println("\nThe till has suffered an IO exception "+e);
            catch(NumberFormatException e){
                    // Print an error message to handle the NumberformatException
                    // (User has entered a none int value)
                    System.out.println("\nPlease enter a number only");
      * // LEAVE ALL THE CODE BELOW UNTOUCHED UNLESS YOU KNOW WHAT YOU ARE DOING
    // DON'T TOUCH THIS - YOU HAVE BEEN WARNED!!!
    // Open a file and write out object
      * @param fullPathOfFile
      * @exception IOException
     public void writeToFile(String fullPathOfFile)throws IOException
        // Lets get a handle on the file to write to
        File myFile = new File (fullPathOfFile);
        ObjectOutputStream myStream = new ObjectOutputStream(
                                        new BufferedOutputStream(
                                        new FileOutputStream(myFile)));
        System.out.println("Writing to the file now....");
        myStream.writeObject(this);              // Write the object to file
        myStream.close();                             // Don't forget this!!
      * Open the file and read in object
     * DON'T TOUCH THIS - YOU HAVE BEEN WARNED!!!
     * This needs to be static - an object cannot read in itself
      * @return Shop
      * @param fullPathOfFile
      * @exception IOException
     public static Shop readFromFile(String fullPathOfFile)throws IOException
        // This will hold our new object
        Shop theShopContents;
        // Lets get a handle on the file to read in
        File myFile = new File (fullPathOfFile);
        if ((!myFile.isFile()) || (!myFile.canRead()))
            // Let's leave
            throw new IOException("Path is not valid ....");
        ObjectInputStream myStream =
            new ObjectInputStream(
                new BufferedInputStream(
                new FileInputStream(myFile)));
        System.out.println("Reading from the file now....");
        // Read the object from file - it needs to be cast
        try
            theShopContents = (Shop) myStream.readObject();
        catch(ClassNotFoundException e)
            throw new IOException("Objects of incorrect class");
        catch(InvalidClassException e)
            throw new IOException("Class definition changed");
        myStream.close();
        return theShopContents;
      * @param args
     public static void main(String[] args) {
         // Don't touch any of this code
         Shop betsy;
         try {
              betsy = Shop.readFromFile("./Betsy.data");
              betsy.buf = new BufferedReader (new InputStreamReader(System.in));
         catch (Exception e) {
             // Something went wrong so start a new shop
             betsy = new Shop();
         betsy.runMenu();
         try {
             betsy.writeToFile("./Betsy.data");
         catch (Exception e) {
             System.out.println("Sorry but we just lost everything");
      * Creates a new item, and adds it to the shelves
     private void createItem() {
            try{
             // Ask the user for the name of the new item
          System.out.print("Please enter the name of the item to be created: ");
          // Create the new item with the name the user has given
          Item tempItem = new Item(buf.readLine());
          // Add the item to the shelves
          theShelves.addItem(tempItem);
          // Call the setItemPrice function
          setItemPrice(tempItem);
          // Call the setItemStockLevel function
          setItemStockLevel(tempItem);
         catch (ShelfExceptionFull e){
             // Print an error message to handle the ShelfExceptionFull
          // (No more room on the shelves to add new item)
              System.out.println("\nThere is no more room to add an item to the shelves "+e);
              // Return to the root menu
                  return;
         catch (IOException e){
             // Print an error message to handle the IO Exception
          // (Error in receiving user input)
              System.out.println("\nThe till has suffered an IO exception "+e);
      * Changes the price of an item using the passed item object
      * @param tempItem
     private void setItemPrice(Item tempItem){
         boolean done = false;
             while( done != true ){
                 try{
                  // Ask for the input of the item price
               System.out.print("Please Enter the price of the item: $");
                  // Set the item price
                  tempItem.setItemPrice(Integer.parseInt (buf.readLine()));
               // Set the loop to finish
               done = true;
              catch (IOException e){
                   System.out.println("\nThe till has suffered an IO exception "+e);
              catch(NumberFormatException e){
                   System.out.println("\nPlease enter a number only");
      * Sets the stock level of an item using the passed item number to locate the object
      * @param itemNumber
     private void setItemStockLevel(int itemNumber){
          Item tempItem = theShelves.getItemByPosition( itemNumber );
          // Create 'done' to hold the condition of the following while loop
          boolean done = false;
              while(done != true){
                  try{
                    // Ask for the input of the item stock level
                 System.out.print("Please Enter the stock level of the item: ");
                 // Set the item stock level
                 tempItem.setQuantity( Integer.parseInt( buf.readLine() ) );
                 // Set the loop to finish
                 done = true;
               catch (IOException e){
                   // Print an error message to handle the IO Exception
                // (Error in receiving user input)
                    System.out.println("\nThe till has suffered an IO exception "+e);
               catch(NumberFormatException e){
                       // Print an error message to handle the NumberformatException
                    // (User has entered a none int value)
                    System.out.println("\nPlease enter a number only");
      * Sets the stock level of an item using the passed item object
      * @param tempItem
     private void setItemStockLevel(Item tempItem) {
         // Create 'done' to hold the condition of the following while loop
         boolean done = false;
             while(done != true){
              try{
                  // Ask for the input of the item stock level
               System.out.print("Please Enter the stock level of the item: ");
                  // Set the item stock level
               tempItem.setQuantity( Integer.parseInt( buf.readLine() ) );
               // Set the loop to finnish
               done = true;
              catch (IOException e){
                  // Print an error message to handle the IO Exception
               // (Error in receiving user input)
                   System.out.println("\nThe till has suffered an IO exception "+e);
              catch( NumberFormatException e ){
                   // Print an error message to handle the NumberformatException
                   // (User has entered a none int value)
                   System.out.println("\nPlease enter a number only");
      * Decrements the stock level of a passed item object
      * @param tempItem
     private void DecItemStockLevel(Item tempItem){
         // Get the current item stock level and store locally
         int tempQuantity = tempItem.getQuantity();
         // Set the new item stock level to the current level - 1
         tempItem.setQuantity( --tempQuantity );
      * null
     private void createMoney(){
       Monies tempMonies = new Monies();
         System.out.print("\nPlease enter the name of the coin/cash type you wish to create: ");
                tempMonies.setCoinName(buf.readLine());
         System.out.print("\nPlease enter the numerical value of the new money type: ");
                tempMonies.setValue(Integer.parseInt(buf.readLine()));
        private void setMoney(int quantity){
            Monies tempMonies = theTill.getMoniesByPosition(quantity);
            boolean done = false;
                while(done != true){
                    try{
                        // Ask for the input of the till money
                        System.out.prinln("Please enter the amount of money in the till ");
                        // Set the till money
                        tempMonies.setQuantity(Integer.parseInt(buf.readLine()));
                        // Set the loop to finish
                        done = true;
                    catch (IOException e){
                   // Print an error message to handle the IO Exception
                // (Error in receiving user input)
                    System.out.println("\nThe till has suffered an IO exception "+e);
              catch(NumberFormatException e){
                       // Print an error message to handle the NumberformatException
                    // (User has entered a none int value)
                    System.out.println("\nPlease enter a number only");
      * Prints a list of items from an ArrayList in receipt format
      * (List must only contain type 'Item')
      * @return int
      * @param tempItems
     private int printItemReceipt(ArrayList tempItems) {
         // Clone the tempItems list so that it can be picked apart
         ArrayList tempReceipt = (ArrayList)tempItems.clone();
          * Print a list of the items in a receipt format (to be sold)
          * This is done by searching through the list, when an object
          * is found, a search for other objects of the same type is
          * run, when one is found, the ammount of the object is increased
          * then the instance is removed from the list until there are no more
         // Hold the total item cost tally
         int total = 0;
             for(int i = 0; i < tempReceipt.size(); i++){
              Item tempItem = (Item)tempReceipt.get( i );
              int tempItemAmount = 0;
                  while(tempReceipt.contains(tempItem)){
                   tempItemAmount++;
                   tempReceipt.remove( tempItem );
               System.out.println( "\n" + tempItemAmount + " x " + tempItem.getItemName() );
               System.out.print("                  $" + tempItem.getItemPrice() + "(x" + tempItemAmount + ")");
               System.out.print("   $" + (tempItemAmount * (tempItem.getItemPrice())) );
               total += tempItemAmount * (tempItem.getItemPrice());
          System.out.println("\n\nItem total = $" + total);
          System.out.println();
          return total;
      * null
      * @param tempItems
     private void checkout(ArrayList tempItems){

Similar Messages

  • Please help with SYNC confusion

    I have not wanted to use sync because of the following:
    I keep my CD-ripped music on an external hard drive, and i don't want to have itunes erase my ipod (all 32 gigs of it), if i attach it when the hard drive is not hooked up, say to sync to new apps, etc.
    However, i wanted to get the album art onto my Touch, and was told that the only way to do it was to sync the music after downloading the art. So, i thought, i can temporarily synch it to get the art on there. BAD IDEA. I tried a test to get it to sync one playlist and it erased all the music i spent 2 days putting on there! (obviously checking the box which promised to warn me if any of the data was changed...doesn't work)
    Now, I'm trying to build a folder for my sync operation, so i point the itunes library to that. But trying the sync (early test), it goes into a major operation syncing hundreds of files -- which are not in the library folder.
    Turns out i have a bunch of playlists in itunes, and sync seems to be somehow finding the songs in those playlists. Is this how it works?? Hmmm, i think, maybe that's good, it will get all my songs back this way, and i won't have to search through the hard disk to find them all again.
    BUT, these are old playlists, and i don't want to use them permanently. But now, if i delete the playlists, will the next sync also delete the SONGS from those playlists?
    If i switch to manual mode, and add new songs, will i not be able to get the album art to go on the ipod after downloading it? Is the only way to get album art to be in sync mode?
    If i have to stay in sync mode, is there a way to get everything that's syncing now (from the old playlists) into one main syncing folder, so i can delete songs from the ipod, and have them just removed from that sync folder, and not from the main music folders on the external drive (where they are apparently syncing from now)
    I am so confused and the manual has nothing about this. I've even searched on apple website and everything i've found is simplistic and doesn't explain these things.
    If anyone can help me i'd sure appreciate it.
    thanks,
    NJ
    PS I've deleted all the old playlists from itunes, restarted, and STILL the itunes library is including albums which are NOT IN THE FILE PATH. WHY? How can I stop this? How can i control the sync process if i don't even know why it is syncing these songs???

    I have been searching all day and I finally found something! 
    Its the maual way but its better than nothing! 
    Hope it Helps!
    http://docs.blackberry.com/en/smartphone_users/deliverables/19056/Manually_link_friends_with_BB_cont...

  • HT1420 Please help

    If i deactivated my computer how would i be able to activate it again so i can listen to my music? Please Help Im so confused.

    If the computer's running Mac OS X, move the cursor to the very top of the computer's screen, click on Store, and choose Authorize this Computer.
    If the computer's running Windows, press the Alt and S keys and choose Authorize this Computer, or click here, follow the instructions, click on Store in the menu bar, and choose Authorize this Computer.
    (90770)

  • How can I create a new iCloud account on a preowned phone (with that persons account signed on) without deleting their whole account entirely (on all devices)? Totally confused, please help:-(

    My mum has upgraded to the iPhone 5, she has given me her 4S with a new contract etc. the problem is all her contacts are still on here and calendar dates etc . All from her iCloud account. I have my own account but I don't know how to get my phone on that without deleting her iCloud account entirely and from all devices and her new phone. Please help, I'm probably confusing things more but I really need some help

    Just delete her iCloud account from (now) your iPhone 4s - doing so will delete it from your phone and your phone only.  It will do nothing to any of her devices with her iCloud account set up on them.
    Then login in with your iCloud account login to set up your iCloud account on that iPhone 4S.
    If you want to set up the iPhone 4s with a clean slate, just delete her iCloud account, then go into general settings, under the reset tab and select "erase all content and settings".  Then run through the activation and setup dialogues with your own information.

  • HT1338 I have a Mac OS X Version 10.5.8. Just updated my iphone 5 & can not back anything up from itunes because my software on my mac is not up to date. What software should I now have to be up to date? Im so confused by all that is offered! PLEASE HELP

    I have a Mac OS X Version 10.5.8. Just updated my iphone 5 & can not back anything up from itunes because my software on my mac is not up to date. What software should I now have to be up to date? Im so confused by all that is offered! PLEASE HELP ME.

    Hi
    You need to upgrade to the next OS 10.6 Snow Leopard by purchasing the DVD online.
    http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
    and once installed, use Software Update
    - to update to 10.6.8
    - and update your iTunes.

  • I have installed the new up to date itunes which i can open on my PC, however when i connect my ipad or iphone i get an error saying i cannot use the device as the require software isn't installed?? I'm very confused please help......

    I have installed the new up to date itunes which i can open on my PC, however when i connect my ipad or iphone i get an error saying i cannot use the device as the require software isn't installed?? I'm very confused please help......

    Let's try a standalone Apple Mobile Device Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of why it's not installing under normal conditions.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleMobileDeviceSupport.msi (or AppleMobileDeviceSupport64.msi) to do a standalone AMDS install.
    (If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleMobileDeviceSupport.msi again.)
    Does it install (or uninstall and then reinstall) properly for you? If so, can you get a normal iTunes install to go through properly now?
    If instead you get an error message during the install (or uninstall), let us know what it says. (Precise text, please.)

  • :s confused with my iPod, PLEASE HELP!?!

    Okay, well this is how it goes; My brother is good with electronics, and fixed this iPod for his friend. His friend didn't want the iPod mini anymore, so my brother gave it to me. The problem is the battery needs to be charged to turn on, but it's showing up the low battery sign, but it's not showing that it's charging. I have no idea if it's charging or not, yet it's plugged into my computer, so I'm kind of confused and mad, and it's not showing up on my computer or iTunes.I can't take it back because I don't even know when he got it. Please help me out here!
    Thanks,
    Ujenna.

    First of all, try another port on your computer. Some ports are not connected direct to the motherboard and do not recognize the iPod as well as those that are. Reset the iPod each time you connect it to another port.
    Then try with the iPod in forced disk mode.
    Putting iPod into disk mode.
    Still no joy, see these.
    iTunes 7 doesn't recognize the iPod.
    Your Windows PC doesn't recognize iPod.
    iPod appears in Windows Explorer but does not appear in iTunes.
    iPod does not appear in iTunes.
    Fast user switching in Windows XP is not supported.
    My iPod won't turn on.
    iPod battery doesn't charge.

  • I want to swap my 3rd generation 64gb 3G ipad, for the same as a mini. However cellular is confusing me, can I get 3G on a cellular ipad? Please help

    I want to swap my 3rd generation 64gb 3G ipad, for the same as a mini. However cellular is confusing me, can I get 3G on a cellular ipad? Please help.  Want to put the sim I take out of the ipad into the mini. On the apple shop website, the cellular model is £100 more expensive then the 3G one, however in currys it only sells cellular. I do not want to make a mistake it's a lot of money.

    3G and cellular are different ways of referring to the same thing, they can use the mobile networks for data. The cellular/3G models are £100 more than the wifi-only version.
    The 3rd gen iPad uses a micro-sim card, the Mini iPads use smaller nano-sim cards, so you won't ba able to use the same sim card.
    Sim cards used in each device : http://support.apple.com/kb/HT5554

  • I downloaded a song on iTunes, it won't play (it's name is grey), it shows up in purchased and says "play", but it won't play, I can't delete it, and I can't re-download it.....this is confusing please help!!

    I downloaded a song on iTunes, it won't play (it's name is grey), it shows up in purchased and says "play", but it won't play, I can't delete it, and I can't re-download it.....this is confusing please help!!

    Hello CTGame,
    Welcome to Apple Support Communities.
    It sounds like there’s a grayed out song in your iTunes library that can’t be played or downloaded again like other past purchases. Try taking a look at the article linked below and verify the computer is authorized to play that content.
    How to troubleshoot iTunes Match - Apple Support
    Songs appear to be missing
    Songs containing DRM (Digital Rights Management) might not appear in iCloud, or might appear grayed out. This can occur if your computer is not authorized to play that content. Try authorizing your computer, then manually update iTunes Match. To determine what Apple ID your computer needs to be authorized for to play a specific song:
    Locate and select the song in your iTunes library.
    Choose File > Get Info.
    In the Summary tab, locate the Account Name field in the right column. Write it down.
    Click OK.
    Choose Store > Authorize this Computer.
    Type in the account name from the Summary field and enter its password. Click Authorize.
    Choose Store > Update iTunes Match.
    So long,
    -Jason

  • Protocol Confusion of freeTDS jdbc driver, please help!

    I use freeTDS jdbc driver to connect to MS SQL 2000. In my programme, firstly I need to select sth out, and base on this update the other field in the same table. TOC will like that
    Statement stmt1 = conn.createStatement();
    ResultSet rs1 = stmt1.executeQuery("select sth from table");
    stmt1.executeUpdate("update table set field1 = 'xxx'");
    exception throw: java.sql.SQLException: Protocol confusion. Got a 0x79 packet
    I checked from the source of TDS driver, this exception throws when the sql query output is not a resultset.
    These 2 querys are prefectly okay individually, I tried to reverse the order, doesn't work neither. Even I disconnect the DB Connection and reconnect it before running the 2nd query, it won't help.
    Please help!

    I haven't used freetds, but seems like defaul version is 5.0. Try it with 7.0 and see it works better. By the way, JDBC driver's readme says that it was only tested with MSSQL 6.5 and 7.0.
    ---- FAQ from freetds.org ----
    Do I need to configure anything?
    When you untar the package you will need to run:
    $ ./configure
    You also have the following options you can add to the configure statement:
    --with-tdsver=VERSION
    specify the TDS version to use
    (4.2, 4.6, 5.0, or 7.0) [default is 5.0].
    --enable-msdblib
    enable Microsoft APIs and behaviour for DBLib
    --enable-dbmfix
    rename dbopen() to tdsdbopen() as a work around for dbm name conflict
    --with-gnu-ld
    assume the C compiler uses GNU ld [default=no]
    --enable-shared
    build shared libraries [default=yes]
    --enable-static
    build static libraries [default=yes]
    IMPORTANT You must build with TDS version 4.2 to access a MSSQL server or Sybase prior to 10.0! TDS 7.0 may also be used to talk to MS SQL 7 and above.

  • Hello , I have installed adobe illustrator CS5 and when i open it..tool bar isnt working.. when i click at rectangle/pen tool the sub options on it dont appear though black sign comes.. am confused wat to do?? i have windows 8 as OS.. please help soonest.

    Hello ,
    I have installed adobe illustrator CS5 and when i open it..tool bar isnt working.. when i click at rectangle/pen tool the sub options on it dont appear though black sign comes.. am confused wat to do?? i have windows 8 as OS.. please help soonest.....thankyou

    charmi,
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • My iPod camera won't work. The shutter doesn't open at all. I backed up and restored my iPod but it didn't make it work. Now I'm so mad and confused. Please help.

    My iPod camera won't work. The shutter doesn't open at all. I backed up and restored my iPod but it didn't make it work. Now I'm so mad and confused. Please help.

    If you restored to factory settings/new iPod via iTunes (Not via Settings>General>Reset>Erase all Content and Setting) and still have the problem that indicates a hardware problem.
    Make an appointment at the Genius Bar of an Apple store..
    Apple Retail Store - Genius Bar

  • Need help please!im getting confused!

    Hi,im trying to create a simple prog that would give me lollipops (10p) and doughnuts(20p) enough to spend 1 pound (100p) in random order using math.random and methods...Im getting very confused with
    the combination of these and my code according to the book seems fine,but im getting an error of <identifier> expected at the "private double myMoney" line and ')' expected at the same line...
    Here's the code:
    import java.awt.*;
    import java.applet.Applet;
    public class Lollipop2 extends Applet {
              private double myMoney (MoneyGiven){
              int MoneyGiven = 100;
              int MoneyPaid = (int)(Math.random() * 2) + 1;
         return MoneyPaid; }
    public void paint(Graphics g) {
         if (MoneyPaid = 1 || MoneyGiven = 10 && MoneyGiven >0){
    drawLollipop(g, 10, 10, 30, 60);
    g.drawString("10p", xPos, yPos);
         MoneyGiven -= 10;}
    if (MoneyPaid = 2 && MoneyGiven >0){
    drawRing(g, Color.magenta,40,40,30,12);
    g.drawString("20p", topX, topY);
         MoneyGiven -= 20;}
    private void drawLollipop(Graphics gIn, int xPos, int yPos, int width, int height){
    gIn.drawRect(xPos, yPos, width, height);
    gIn.drawRect(xPos+width/2, yPos+height, 4,15);
    private void drawRing(Graphics gIn, Color ringColor, int topX, int topY, int diameter, int thickness){
    gIn.setColor(ringColor);
    gIn.fillOval(topX,topY, diameter, diameter);
    gIn.setColor(Color.white);
    gIn.fillOval(topX+thickness,topY+thickness, diameter-2*thickness, diameter-2*thickness);
    gIn.setColor(Color.black);
    Can someone please help me???

    Im getting very confused with
    the combination of these and my code according to the
    book seems fine,Nope, your code is not according to the book, starting by the name conventions, your variables should start with lowercase and each word inside the var name should start with uper case and your brackets use is disturbing, the closing brackets should be on its own line.
    Besides that:
    import java.awt.*;
    import java.applet.Applet;
    public class Lollipop2 extends Applet {
    private double myMoney (/* here you should havae the type of money given, like: int, long, float, double, BigDecimal, etc. */MoneyGiven){
    int MoneyGiven = 100; /* here you are reusing the parameter name as a local variable. */
    int MoneyPaid = (int)(Math.random() * 2) + 1;
    return MoneyPaid; } /* Your method signature is double but you return int, it may give you a warning. */
    public void paint(Graphics g) {
      /* Bellow in the condition:
       * 1 - there is no MoneyPaid or MoneyGiven vars anywhere to code to use.
       * 2 - You are using attribution(=) to the variable instead of comparation (==)
    if (MoneyPaid = 1 || MoneyGiven = 10 && MoneyGiven
    0){drawLollipop(g, 10, 10, 30, 60);
    g.drawString("10p", xPos, yPos);
    MoneyGiven -= 10;}
    if (MoneyPaid = 2 && MoneyGiven >0){
    drawRing(g, Color.magenta,40,40,30,12);
    g.drawString("20p", topX, topY);
    MoneyGiven -= 20;}
    private void drawLollipop(Graphics gIn, int xPos, int
    yPos, int width, int height){
    gIn.drawRect(xPos, yPos, width, height);
    gIn.drawRect(xPos+width/2, yPos+height, 4,15);
    private void drawRing(Graphics gIn, Color ringColor,
    int topX, int topY, int diameter, int thickness){
    gIn.setColor(ringColor);
    gIn.fillOval(topX,topY, diameter, diameter);
    gIn.setColor(Color.white);
    gIn.fillOval(topX+thickness,topY+thickness,
    diameter-2*thickness, diameter-2*thickness);
    gIn.setColor(Color.black);

  • Very confused with trade in, please help!

    I ordered a iPhone 6 today through my local Verizon store, I have a iPhone 5 to trade.. The whole process was done very fast so I didnt ask to many questions. I am confused though, am I mailing my phone in once the iPhone 6 gets to my verizon store? Or are they going to give me a $200 dollar credit so I can trade it in right then? I did already get a conformation about my order saying it will ship by 10/31. Please help!! Thanks!!

    Well it depends on what posts you read on this subject.
    Some customers have stated that if you buy or pick up in store they can look at your device and credit you on the spot.
    Others have said that you get a mailer that you send the phone back in which many have claimed the amount promised was reduced to $36 because the iPhone was not deactivated or wiped absolutely clean. See if the store will take it first before you mail it back.
    Good Luck

  • HT5278 I want to update my iOS 5.1.1 from iOS 7.1.1  .... But I'm confuce because, I'm from Bangladesh , my I phone 4s is country unlocked from USA .... So my confusion is , if I update my I phone iOS , can be it lock again? Please help me.

    I want to update my iOS 5.1.1 from iOS 7.1.1  .... But I'm confuce because, I'm from Bangladesh , my I phone 4s is country unlocked from USA .... So my confusion is , if I update my I phone iOS , can be it lock again? Please help me.

    You apparently aren't listening or don't understand English well enough to understand the responses you're getting.
    An unlocked iPhone will remain unlocked. Updating a legitimately unlocked phone does NOT affect the locked/unlocked status.
    It will only lock IF the phone was hacked or jailbroken to unlock it.

Maybe you are looking for

  • My computer crashed how do i sync

    my windows 7 computer crashed, so I had to re-install itunes, i can sync the stuff I brought from itunes. How do i get my old files (which are saved on an external hard drive) into the new itunes.

  • Can I pair two iPads using Bluetooth?

    I have an ipad2 and an iPad and would like to connect the two via Bluetooth for the purpose of playing games.  No matter what I do the two units will not find each other, even though each says it is discoverable and searching and within a meter of ea

  • Can we share books?

    I'd like to share my books can we share with other iBook members?

  • Flash Pro CS 5.5 Runtime Sharing Bug - Fonts

    I have an issue with an apparent bug in Flash Pro CS5.5 I have recently upgraded to CS5.5 Master Collection from my previous version of 4.0 The bug is when I create a fonts FLA file with fonts embedded in it that I want to use throughout an entire si

  • How do see what lens I used?

    I was doing a photo shoot and used many lenses but now as I am going through the pictures a few weeks later I cannot remember which pictures were with which lens. How can I get Aperture to tell me what lens I had on the camera? I know it's in the met