Adding arrays - confusing question

I am in the process of writing a java program where I have to add arrays. The question asks:
This program asks you to assume that your computer has the very limited capability of being able to read and write only single-digit integers and to add together two integers consisting of one decimal digit each. Write a program that can read in two integers of up to 40 digits each, add these digits together, and display the result. Test your program using pairs of numbers of varying lengths. You must use arrays in this problem.
I think I understand up to there is says"Write a program that can read in two integers of up to 40 digits each" from there I am lost.
Can anyone help explain what is needed?
This is what i have so far:
import java.util.*;
public class add
    public static void main(String[] args)
      Scanner in = new Scanner(System.in);
      int x = in.nextInt();
      int y = in.nextInt();
        int[] a = {x};
        int[] b = {y};
        int[] ab = new int[a.length + b.length];
        System.arraycopy(a, 0, ab, 0, a.length);
        System.arraycopy(b, 0, ab, a.length, b.length);
        System.out.println(Arrays.toString(ab));
}

Yeh, sorry about that didn't have the time to go ahead and drag some of the code over when I first found this forum, first thing I tried a quick compile and run just to see what problems I'd get and I got this runtime error of: Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 7
     at java.lang.String.charAt(String.java:687)
     at Joseph_Ryan_P2.main(Joseph_Ryan_P2.java:36)
I threw in some print statements to see how far it gets before the error occurs and it seems to be right before the for loop(see code below)
In this program I'm reading in from a text file that will read two numbers from the same line that are seperated by a space and eventually add them, is the best way to do that by using a tokenizer or some sort of space delimiter? Or is there an easier way? If the tokenizer is best how would i go about that I haven't learned too much about them besides the fact that they exist so far.
Thanks for any help you or suggestions you guys can give.
//Joseph_Ryan_P2.java
//Big Integer Program
//Description:
//     Design and implement a BigInteger class that can add and subtract integers with up to 25 digits. Your
//     class should also include methods for input and output of the numbers.
// Must Use Arrays
import java.io.*;               //neccessary imported libraries
import java.util.*;
public class Joseph_Ryan_P2          
     public static void main(String[] args)          //the programs main method
          try
               Scanner scan = new Scanner(new File("BigInts")); //Scanner to read in from plaintext file
          String numline = scan.next();
          int x=0;
          int [] big1 = new int [numline.length()];
          System.out.println(numline);
               int [] big2 = new int [numline2.length()];
               String numline2= scan.nextLine();
               System.out.println(numline2);
          for(int i = numline.length() - 1; i >= 0; i++)
          char current = numline.charAt(i);
          int d = (int) current - (int) '0';
               big1[i] = d;
          }//end for loop
          }//end try
          catch(FileNotFoundException exception)
System.out.println("The file could not be found.");
catch(IOException exception)
System.out.println(exception);
} //end catch statements
     }//end main
}//end class

Similar Messages

  • HT201303 The Itunes store constantly asks me to Improve Apple ID Security by adding three secret questions but won't accept my valid password.  I have tried to reset the password, update the billing info and it still won't let me make any purchases.

    The Itunes store constantly asks me to Improve Apple ID Security by adding three secret questions but won't accept my valid password.  I have tried to reset the password, update the billing info and it still won't let me make any purchases.

    I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
    The old email address no longer exists - I haven't used it in a year probably and I no longer have the account.  I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there.  On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back.  Every 2 seconds I am asked to log in using the old non-existent email.  The device is currently useless.
    The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
    Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option?

  • Adding custom challenge questions in OIM 11gR2

    Friends,
    Can you please let me know the process to add new custom challenge questions in OIM 11gR2?
    Thanks

    Detailed steps have been given in my blog at the below url.
    http://srini-bellamkonda.blogspot.com/2012/11/adding-custom-challenge-questions-in.html
    Have a look and let me know if you have any questions.

  • Oracle BI Mind Confusing Questions

    Hi,
    I am new to Oracle BI. I have been reading documents, tutorials, oracle by example guides and watching some videos.
    But I cannot answer some questions which are confusing my mind.
    1-) Why we have 3 repository layer? In the tutorials, they are dragging objects from physical layer to business model and mapping layer. In this layer they are renaming table names. Then they are dragging objects from Business Model to Presentation Layer. In this layer they are renaming table names again and they are deleting some columns. I think that we can use just physical layer and presentation layer. In presentation layer we can rename table names and remove some columns.
    2-) In physical layer, we are importing objects from data sources. We can import tables, views and foreign keys. What is the best practice for designing business model?
    I created a test repository. I imported tables, views and foreign keys from database. But when I try to check consistency ( afte preparing presentation layer), I took error messages about self joins in the physical layer. Can I solve self join problem?
    3-) Should I import only tables and views from database in physical layer? I think that if I do not ceate joins manually after import operations, Oracle BI Server may not prepare correct sql statements.
    We have a big database (maybe 500 tables), so if I dont import foreign keys, manually creating foreign keys will be a massive manual process. I also do not know which foreign keys are mandatory for a well designed business model?
    4-) When database tables changed( for. ex. added new column), are these changes automatically updated to the physical layer?
    Thank you..
    Edited by: user4030266 on Mar 24, 2011 1:58 PM

    3-) Should I import only tables and views from database in physical layer? Yes you need to import tables, you can create views on those tables if you want in physcial layer.
    I think that if I do not ceate joins manually after import operations, Oracle BI Server may not prepare correct sql >statements.Yes you need to give proper joins between fact and dimension tables in physical and bmm layers.
    We have a big database (maybe 500 tables), so if I dont import foreign keys, manually creating foreign keys will be a massive manual process. I also do not know which foreign keys are >mandatory for a well designed business model?Need to do datamodeling(ETL process first).Convert OLTP to OLAP(into facts and dimesnions) so that you will come to know regarding table and join conditions.
    In BMM layer we write logics,create our own logical tables with logical columns,hierrarchies.We use only columns that we need in this layer and write logics upon them.
    Refer : http://www.oraclebidwh.com/2010/10/obiee-bmm-layer-design-principalsbest-practices/
    Regards,
    Srikanth

  • Copying arrays, performance questions

    Hello there
    The JDK offers several ways to copy arrays so I ran some experiments to try and find out which would be the fastest.
    I was measuring the time it takes to copy large arrays of integers. I wrote a program that allocates arrays of various sizes, and copy them several times using different methods. Then I measured the time each method took using the NetBeans profiler and calculated the frequencies.
    Here are the results I obtained (click for full size):  http://i.share.pho.to/dc40172a_l.png
    (what I call in-place copy is just iterating through the array with a for loop and copying the values one by one)
    I generated a graph from those values:  http://i.share.pho.to/049e0f73_l.png
    A zoom on the interesting part: http://i.share.pho.to/a9e9a6a4_l.png
    According to these results, clone() becomes faster at some point (not sure why). I've re-ran these experiments a few times and it seems to always happen somewhere between 725 and 750.
    Now here are my questions:
    - Is what I did a valid and reliable way to test performances, or are my results completely irrelevant? And if it's not, what would be a smarter way to do this?
    - Will clone be faster than arraycopy past 750 items on any PC or will these results be influences by other factors?
    - Is there a way to write a method that would copy the array with optimal performances using clone and arraycopy, such that the cost of using it would be insignificant compared to systematically using one method over the other?
    - Any idea why clone() can become faster for bigger arrays? I know arraycopy is a native method, I didn't try to look into what it does exactly but I can't imagine it's doing anything more complicating than copying elements from one location in the memory to another... How can another method be faster than that?
    (just reminding I'm copying primitives, not objects)
    Thanks!
    Message was edited by: xStardust! Added links, mr forum decided to take away my images

    yeh, everyone thinks that at some point. it relies,
    however, on you being perfect and knowing everything
    in advance, which you aren't, and don't (no offence,
    the same applies to all of us!). time and time again,
    people do this up-front and discover that what they
    thought would be a bottleneck, isn't. plus,
    the JVM is much smarter at optimizing code than you
    think: trust it. the best way to get good performance
    out of your code is to write simple, straightforward
    good OO code. JVMs are at a point now where they can
    optimize java to outperform equivalent C/C++ code
    (no, really) but since they're written by human
    beings, who have real deadlines and targets, the
    optimizations that make it into a release are the
    most common ones. just write your application, and
    then see how it performs. trust me on this
    have a read of
    [url=http://java.sun.com/developer/technicalArticles/I
    nterviews/goetz_qa.html]this for more info anda chance to see where I plagiarized that post from :-)
    Thanks for that link you gave me :)
    Was usefull to read.
    About time and money of programming, that is not really an issue for me atm since i'm doing this project for a company, but through school (it's like working but not for money).
    Of course it should not last entirely long but I got time to figure out alot of things.
    For my next project I will try to focus some more on building first, optimizing performance later (if it can be done with a good margin, since it seems the biggest bottlenecks are not the code but things outside the code).
    @promethuuzz
    The idea was to put collection objects (an object that handles the orm objects initialized) in the request and pass them along to the jsp (this is all done through a customized mvc model).
    So I wanted to see if this method was performance heavy so I won't end up writing the entire app and finding out halve of it is very performance heavy :)

  • Copy Array Quick Question

    Just a quick question.
    Say I have an array A = [1,2,3,4,5]
    B = new int[5]
    I understand to copy the elements of A into B we could use a for loop.
    But can somebody explain to me why you can't just go B = A?
    Does this just cause B to point to A?
    So how do arrays work exactly? Is it like in C where each element is actually a pointer to the data, or does Java copy the data directly into the array element?

    Kayaman wrote:
    JT26 wrote:
    Array A=[1,2,3,4,5] ----> Here A is a reference variable which points to memory locations A[0],A[1],A[2],A[3],A[4] which could not be continueous.Actually no. What you have there is a syntax error. And please don't confuse people by talking about non continuous memory locations. That's simply wrong.And 100% irrelevant for the question at hand.
    >
    B = new int[5] -----> Here B is another reference variable points to an array which could hold 5 elemets.That is correct, basically.
    All the five element holders of B could be physically any where in the memory, thus copying the the elements is done via a for loop.No, Java is smart enough to store arrays sequentially in memory. And the smart way to copy large arrays is System.arrayCopy().Or java.util.Arrays.copyOf.

  • The arrays class question

    consider the code below
    int[] list = {2, 4, 7, 10};
    java.util.Arrays.fill(list, 7);
    java.util.Arrarys.fill(list, 1, 3, 8);
    System.out.print(java,util.Arrays.equals(list, list));i understand line 2, it gonna fill 7 into the array,so the output would be Line 2: list is {7, 7, 7, 7}
    my question is line 3, how come the output would be {7, 8, 8,7} what does 1 and 3 represent in a arrary?
    the line 4 output would be {7, 8,8,7} again why?
    Thank you guys whoever is gonna take to respond me questions

    zerogpm wrote:
    but which 2 lists were comparing ? since i have list list with the same name1) You're not comparing lists, you're comparing arrays.
    2) You're comparing a single array with itself.
    3) Objects, including arrays, do not have names. Classes, variables, and methods have names. Objects do not.

  • Solaris 10 01/06 (grub booting) on HP DL360 - adding array drivers to DVD

    I'm trying to install to a DL360. This has been successful using the DU diskette for the HP Smart Array. However, I want to automate the install from DVD so that it loads the drivers without using a floppy (or another CD/DVD).
    I have modified the /boot/x86.miniroot using root_archive to extract the miniroot, then adding the smart array drivers. This was then re-packaged and a new DVD made using mkisofs.
    This works - it boots from DVD, starts the install, and the array disk is visible. The install continues as normal.
    However, after a reboot I get the grub menu and it doesn't work. The failsafe works - presumably because this is just a copy of the x86.miniroot on the DVD - but the Solaris 10 install on disk does not boot - it starts to boot, I get the
    Generic_118844-26 i86pc i386 i86pc
    message and then the server reboots - I am assuming this is the point at which it switches to using the disk and it is not found.
    I have seen from the grub menu that it is attempting to load /platform/i86pc/boot_archive, and this file is installed/updated by the installation, but why are the Snart Array drivers not being loaded?
    Does anyone have any ideas?

    Hi Asgorath,
    Unfortunately I do not have an answer for you but I
    am experiencing the identical problem on a HP
    Proliant BL25p Blade Server. Here is my hardware
    config:
    CPU - Dual Opteron 2.6 Single Core
    Memory - 16gb
    Controller - HP Smart Array 6i
    Logical drives - 1 (2x72gb RAID1+0)
    I have tried the same things as you and I still get
    intermittant boots. Power on and off does not always
    work as the system still hangs. It's totally hit or
    miss. Once it soes boot it seems to work fine. I have
    also installed the latest Solaris 10 for x86 Patch
    Cluster in hopes that some of the kernal patches
    would fix the problem. So far no luck as the system
    continues to hang...HARD!! HP was out to my site
    today and the Eng. is going back to the group that
    qualified Solaris10 on the HP Blades and see if they
    have any input. If I receive anything back I will
    post it here. I know this post is late and if you
    have resolved please post your fix.Hi doc42755,
    I have not come up with a solution as of yet, if I do come up with a solution i will most certainly post it here.
    However, if you find the solution could you let us know in this thread aswell.
    Thanks
    Asgaroth

  • Array Module Question

    Hi,
    I am currently working on designing phase for an Array Module. We are planning to track the Array information and store it's content to database. Currently I am finalizing the data model and I have following question.
    --We need to track the Geneology of the Sample through out the whole system (Especially the results of Transfers). Is it better to have all that relationship in one flat table with columns for location (like PlateWell, GelLane…..) and columns for Content (Column like . LocationType  LocationId   ContentType ContentId) or is it better to store all the content of location as a ArrayType? Or is there any other option available in the Market?
    In the first case database rows for that table will increate very very fast plus to find out the geneology of the location in Array , I have to use Connect By Prior which will take good amount of time(Is there any other option available?). I don’t have much idea about second option but I think retrieval individual content is going to be a problem.
    Any help is really appreciated.
    Thanks in Advance
    Raj

    Made a complete example:
    String searchKey = "Juice";
    TreeMap tm = new TreeMap();
    tm.put("soda", "coke");
    tm.put("Juice", "orange");
    tm.put("SODA", "7-up");
    Set set = tm.entrySet();
    Iterator iterator = set.iterator();
    while( iterator.hasNext() ) {
    Map.Entry entry = (Map.Entry)iterator.next();
    if(entry.getKey().equals(searchKey)){
    System.out.println("searchKey '"+searchKey+"' value is: "+entry.getValue());
    What do you think? Anything obvious that can be improved?

  • Array processing question

    Hello,
    I am somewhat new to JNI technology and am getting a bit confused about array processing.
    I am developing a C program that is called by a third party application. The third party application expects the C function to have a prototype similar to the following:
    int read_content(char *buffer, int length)
    It is expecting that I read "length" bytes of data from a device and return it to the caller in the buffer provided. I want to implement the device read operation in Java and return the data back to the C 'stub' so that it, in turn can return the data to the caller. What is the most efficient way to get the data from my Java "read_content" method into the caller's buffer? I am getting somewhat confused by the Get<Type>ArrayElements routines and this concepts of pinning, copying and releasing with the Release<Type>ArrayElements routine. Any advice would be helpful... particularly good advice :)
    Thanks

    It seems to me that you probably want to call the Java read_content method using JNI and have it return an array of bytes.
    Since you already have a C buffer provided, you need to copy the data out of the Java array into this C buffer. GetPrimitiveArrayCritical is probably what you want:
    char *myBuf = (char *)((*env)->GetPrimitiveArrayCritical(env, javaDataArray, NULL));
    memcpy(buffer, myBuf, length);
    (*env)->ReleasePrimitiveArrayCritical(env, javaDataArray, myBuf, JNI_ABORT);Given a Java array of bytes javaDataArray, this will copy length bytes out of it and into the C array named buffer. I used JNI_ABORT as the last argument to ReleasePrimitiveArrayCritical because you do not change the array. But you could pass a 0 there also, there would be no observable difference in the behavior.
    Think of it as requesting and releasing a lock on the Java array. When you have no lock, the VM is free to move the array around in memory (and it will do so from time to time). When you use one of the various GetArray functions, this will lock the array so that the VM cannot move it. When you are done with it, you need to release it so the VM can resume normal operations on it. Releasing it also propagates any changes made back to the array. You cannot know whether changes made in native code will be reflected in the Java array until you commit the changes by releasing the array. But since you are not modifying the array, it doesn't make any difference.
    What is most important is that you get the array before you read its elements and that you release it when you are done. That's all that you really need to know :}

  • Math / array / matrix-question

    Hallo everybody,
    first of all: it's not a indesignscripting-  but general math-javascriptquestion. please be patient
    I've got a first (matrixlike-)array (won't change)
    var containers = [
    'container11', 'container12', 'container13', 'container14', 'container15',
    'container21', 'container22', 'container23', 'container24', 'container25',
    'container31', 'container32', 'container33', 'container34', 'container35',
    'container41', 'container42', 'container43', 'container44', 'container45',
    'container51', 'container52', 'container53', 'container54', 'container55'
    and I've got a second array:
    ["container14", "container25", "container34", "container44", "container54"] //this array may contain 3 up to 8 items
    My aim is to check if a part of 5 to 3 items of the second array is part of or equal to a row or column of the matrix-like-array.
    For example: "container34", "container44", "container54" or "container11", "container12", "container13", "container14" (as part of second array) would be a result I#m looking for. Note: I only want to find the 'biggest charge'!
    Hope it's getting clear and one of the math-cracks will have a idea.
    Addittional: there's no MUST to work with arrays. I can also store the data to a object or mixture ... and may fill it with numbers instead of strings ...
    To get it visible:
    https://dl.dropboxusercontent.com/spa/3ftsuc9opmid3j4/Exports/fourWins/fourWins.html
    Items can be dragged and dropped. After every dropp the arrays have to be compared ... and I#m searching for a nice and elegant solution
    May be someone's interested
    Hans

    Hi Hans,
    Just a quick note although your question is solved.
    Provided that your matrix is 5×5 you could easily map any element to a single character in the set { A, B..., Z } (for example).
    Then your problem can be reduced to some pattern matching algorithm, that is, finding the longest part of the input string within a 'flat string' that just concatenates the rows and the columns of the search matrix in the form ROW1|ROW2...|COL1|COL2...|COL5
    And you can create RegExp on the fly to compute the solution(s) with almost no effort:
    const MX_ORDER = 5;
    const MIN_MATCH = 3; // We need at least 3 contiguous items
    var bestMatrixMatch = function F(/*str[]*/ROWS, /*str*/ND)
    // NB: No check is made on ROWS, so make sure you supply
    //     MX_ORDER strings, each being MX_ORDER-sized
        // Put in cache some subroutines
        F.RES_TO_STR ||(F.RES_TO_STR = function()
                return localize("'%1' found in %2", this.result, this.location);
        F.ROWS_TO_HS ||(F.ROWS_TO_HS = function(R, C,i,j)
                for( i=0,C=[] ; i < MX_ORDER ; ++i )
                for( C[i]='',j=0 ; j < MX_ORDER ; C[i]+=R[j++][i] );
                return R.concat(C).join('|');
        // Vars
        var haystack = F.ROWS_TO_HS(ROWS),
            candidates = ND &&
                haystack.match( new RegExp('['+ND+']{'+MIN_MATCH+',}','g') ),
            t, p;
        if( !candidates ) return null;
        // Sort the candidates by increasing size
        candidates.sort( function(x,y){return x.length-y.length} );
        // Grab the matches and keep the best
        while( t=candidates.pop() )
            if( 0 > ND.indexOf(t) ) continue;
            p = 1+~~(haystack.indexOf(t)/(1+MX_ORDER));
            return {
                result:   t,
                location: (p<=MX_ORDER)?('Row #'+p):('Col #'+(p-MX_ORDER)),
                toString: F.RES_TO_STR,
        return null;
    // =================
    // Sample code
    // =================
    var rows = [
        "ABCDE",
        "FGHIJ",
        "KLMNO",
        "PQRST",
        "UVWXY"
    var needle = "EKLMINSX";
    // get the result
    var result = bestMatrixMatch(rows, needle);
    alert(
        "Searching the longest part of '" + needle + "' in:\r\r" +
        ' '+rows.join('\r').split('').join(' ') +
        '\r\r===============\r\r' +
        (result || "No result.")
    @+
    Marc

  • SCJP confusing question

    Hello guys,
    Recently I came across one web-site with mock-up SCJP questions. One of the questions and especially provided answer to it really grabs my attention:
    Can one object access a private variable of another object of the same class?
    Answer: Yes.
    Private means "private to the class", NOT "private to the object". So two objects of the same class could access each other's private data.
    If it would be true it violates the encapsulation principle of OO. Can you please explain this question/answer because it is really confusing me.

    All kidding aside here - ask yourself: "Why would I want to make anything private in a class?". Then you might answer "Well, for one thing I do not want to be able to de-stabilize the class when I use it for what it is."
    An example of such use is any use of the API classes from SUN. No instantiated Object from these has access to the private members, unless though public methods - which control such access.
    But you might ask: "And why would I want to take that ability away from the class itself?" Well: "In answer you maight say that you would not want to, and continue by saying that's not what you mean."
    Well since one would need to build in that capability - the previous example used an inner class with a change method - this is not the same as allowing outside access. If you tried to do something like from another toplevel public class without any public alteration methods in the member class you couldn't do it - you'd get a "x has private access in y" type message.
    ~Bill
    .

  • Some Confusing Questions about SAPHCM !!!

    Dear specialists
    I am taking certifications exames next week and have some questions, which i couln't be able to solve, if some one can help me in solving these questions.
    I will be really obligied.

    Some employees leave early on Fridays and are required to enter their absence time. How can you ensure that quotas are not reduced for these types of absences?
    a)      Set the counting rule conditions to query the period work schedule variant
    b)      Set the counting rule conditions to full day absences
    c)      Set the counting rule conditions to query certain days
    d)      Set the counting rule conditions for partial day absences
         A customer wants to generate absence quotas based on seniority, and also reduce for any inactive employment periods. Where do you configure this?
    a)      Schema TQTA (Generate Absence Quotas)
    b)      Table T559L (Quota configuration u2013 Selection Rules)
    c)      Feature QUOMO (Determination of quota type selection rule group)
    d)      Report RPTQTA00 (Generate Absence Quotas)
         A Work Schedule Rule comprises of the following elements:
    a.     Public Holidays
    b.     Daily Work Schedules
    c.     Planned Working Time
    d.     Break Schedules
    e.     Daily Work Schedule Variants
    f.     Core times
    3.     Your employee is on vacation. In addition to entering a vacation at the attendance record on the same day, what do you assign to the absence and attendance type to prevent this?
    a.     Time constraint Class E the new record cannot be added system an ERORR Message.
    b.     Time constraint 1 u2013 the existing record is delimited and the new record is created.
    c.     Time constraint 2 -
    d.     Time constraint 3 u2013 the new record cannot be added and the system is issue and Error Message.

  • Array Cast Question Puzzling me

    The question below puzzles me. The answer states that the result is a class cast exception because o1 is an int [] [] not a int []
    But I thought the point of line 7 is to say "I know it is a 2D array but I want to cast it to a 1D array - I know I am losing precision here".
    Given:
    1. class Dims {
    2. public static void main(String[] args) {
    3. int[][] a = {{1,2,}, {3,4}};
    4. int[] b = (int[]) a[1];
    5. Object o1 = a;
    6. int[][] a2 = (int[][]) o1;
    7. int[] b2 = (int[]) o1;
    8. System.out.println(b[1]);
    9. } }
    What is the result?
    A. 2
    B. 4
    C. An exception is thrown at runtime
    D. Compilation fails due to an error on line 4.
    E. Compilation fails due to an error on line 5.
    F. Compilation fails due to an error on line 6.
    G. Compilation fails due to an error on line 7.
    Answer:
    3 C is correct. A ClassCastException is thrown at line 7 because o1 refers to an int[][]
    not an int[]. If line 7 was removed, the output would be 4.
    &#730; A, B, D, E, F, and G are incorrect based on the above. (Objective 1.3)

    While you could approximate casting a 2D array to a 1D array in C/C++ by just grabbing a pointer to your first array and then overrunning array bounds (relying on how C/C++ allocates 2D arrays and the lack of bounds checking), Java's strong typing and bounds checking makes this impossible.
    If you want to do something similar in Java, you will need to create a new 1D array of the proper size and copy the elements stored in your 2D array into this new array. That being said, a database is almost guaranteed to be a better solution.

  • Captiave 2 - Adding Buttons to Question Slides

    I need to use the Captivate Question Slide "maker" to create
    interactive questions with navigation back to the "Jeopardy-esque"
    main page. When doing so, the question slide maker prevents adding
    buttons/navigation, etc.
    Any work arounds, hints, suggestions?
    Thanks...

    Hi Beta Bob and welcome to our community
    As you have seen, you cannot insert interactive objects
    (Buttons, Click Boxes or Text Entry Boxes) on Question slides.
    The only workaround I can think of is to sort of simulate the
    question slide using these objects on a standard slide.
    Cheers... Rick

Maybe you are looking for

  • Motion menu not working

    I'm frustrated. In the menu, under Properties/Motion tab, I select the video that I want to set up as my motion menu and it's not working. All I see is a static image of the video clip. The audio works but not the video clip set for motion. Please he

  • Statistical Posting for PS settlement in Funds Management ECC 6.0

    Hi people Previously in 4.6C, WBS settlement (CJ88) will result in statistical posting in Funds Mgmt. But now after upgrade to ECC 6.0, it is now considered as actual posting. I know there is setting under FMCIA where you can set certain commitment i

  • Importing - tape vs. hard drives; do drives remove a lot of problems??

    I admit I am an infrequent user of FCE (current version 3.5.1) and I think the reason is the difficulties in importing. I have Tom's books, I follow the instructions and suggestions from this forum, but for the life of me, I normally have problems. U

  • GlassFish suddenly stopped working

    Hi there I am using NetBeans 6.7.1 on OS X 10.5.8. I have been busy coding all day today in Java Server Faces using Netbeans. This evening all of a sudden Netbeans would not allow me to run my program (which was working fine 10 mins previous). I deci

  • Able to bind to the same port on twice with  setSocketOptionReuseAddress

    Hi, I am not sure wether it is bug in API or lack in understanding. I have a server , using Java networking API and I have set "setSocketOptionReuseAddress(true)" for "java.net.ServerSocket". Now I am able to start more than one instances of server w