Need Array Help Here..

public class number
public static void main(String[]args)
{int a,b,g;
double box[] = new double[1000];
System.out.println("Enter a number");
a=Console.readInt();
System.out.println("Enter a number");
b=Console.readInt();
System.out.println("Enter a number");
g=Console.readInt();
initbox(a,b,box);
System.out.println("Your answer is"+intx2zero(a,b,box[],g));
public static void initbox(int a, int b , double box[])
{int k;
k=a-1;
     while (k<b)
     {k=k+1;
     System.out.println("Enter next integer");
     box[k]=Console.readInt();
public static int intx2zero(int a, int b, double box[],int g)
{int k,l;
boolean found;
k=a;
l=1;
found=false;
{if (box[k] == g)
     found=true;
     System.out.println(":"+l);
     k=k+1;
     l=l+1;
     else
     k=k+1;
     l=l+1;
im trying to write a code that will look at an array of numbers and output the "index" of the number that matches g, so say if G is 5 it would scan the array for which numbers match 5 in the array and print out the number which they were entered.
Heres what I tried to do I know it's wrong, but I got the first program to initialize the array and let the user enter the numbers the second would check if g == k if it did the boolean function gets true Then it would print out the number it came in then from there add one to k and one to l . So that the function would check the next number, and l would go up on cause thats the index of the next number. Now I was thinking what if the if statement was false then we just would go up one and try that one it sounds solid to me but on we go eh? Any points to be made to dont hold back ..

eep!
Wow, that's some... interesting code you've written there. That compiles?
You seem to be lacking a basic grasp of block-structured coding. I suggest looking at some examples of other people's programs, particularly at the way they "format" their code -- the way they group instructions which logically go together, and the way they indent to make it more readable.
More toward answering your question, take a look at the for keyword. It lets you do something repeatedly (like examining numbers), and provides a handy way of counting the number of times you do it (so you can examine all the numbers in an array, then stop.) Here's an example:
for(int i = 0; i < 10; ++i) {
   // do something
}Notice there are three statements inside the parentheses. When this code runs, it starts of by executing the first statement. In this case, it sets i to 0. Then it checks if the second statement is true, and if it is, it executes all the commands inside the block (between the curly braces). In this case, 0 < 10 is true, so it would execute the commands. Then, it executes the third statement in the parenthesis. In this case, it increments i by one, so now i == 1.
It continues evaluating the second statement (i < 10), executing the commands if it is true, and executing the third statement. It repeats this process until the second statement is no longer true. In this case, it will happen when i reaches 10.
What makes this really useful is that you can use the value of i to do different things inside the command block. For example, this for loop will print out the numbers 0 through 9:
for(int i = 0; i < 10; ++i) {
   System.out.println("i == " + i);
}From here, it's a small step to using the size of your array of numbers as the limit (i < array.length) and checking the numbers inside the loop, using the value of i as the index into your array.
Another thing... you shouldn't name your variables "a", "b", "g", etc. This is a terrible habit I learned from programming in Apple BASIC back in grade school, and trust me, the sooner you break it the better. Name your variables something meaningful.
Good luck...
Krum

Similar Messages

  • Hi, Someone Know why my charger is not working properly but always it was been working good but now when conect my iphone (3gs) shows a yellow triangle saying : Charging is not supported with this accessory. Please I need some help here. Thanks =D

    Hi Someone Know why my charger is not working properly but always it was been working good but now when conect my iphone (3gs) appears a golden triangle saying :Charging is not Supported with this accessory. Please I Need Some Help Here. Thanks =D

    sounds like the cable or the iphone connector are somehow damaged

  • Need some help here on the proper settings for quicktime exporting from imovie that won't degredate the footage from my handycam

    need some help here on the proper setting for quicktime exporting that won't denegrate my footage from handycam canon fs200

    What are the existing settings iMovie?
    Al

  • Cannot get slide show in full screen mode to come up on secondary monitor regardless of how I set up show it always opens on primary screen.  Need some help here.

    Slide show in PowerPosint for mac 2011 on iMac will not open full screen mode on secondary monitor.  Regardless of how I set the slide show preferences it always opens on primary monior with secondardy monitor having totally balck screen.  Need some help if anyone else has run into this problem.

    You should contact Microsoft for Mac Support  and/or post in their forums.

  • I need some help here

    hi, ^-^, i was programming the Caesar encription method, this one:
    import java.io.*;
    public class lol {
              public static void main (String args[]) throws Exception{
                   int seleccion, longi, w, x, y, z;
                   String sel, texto, encrip="";
                   boolean a=false, b=false;
                                                      System.out.print("Enter a text to encript: ");
                                                      DataInputStream entrada3 = new DataInputStream(System.in);
                                                      texto = entrada3.readLine();
                                                      w=1;
                                                      z=0;
                                                      for(x=1;x==texto.length();x++){
                                                           if(texto.substring(z,w)!= (" ")){
                                                                encrip = encrip + texto.substring(z,w);
                                                                z++;
                                                                w++;
                                                           } else{
                                                                z++;
                                                                w++;
                                                      w=1;
                                                      z=0;
                                                      if ((encrip.length()/2)==0){
                                                           longi = ((encrip.length()^(1/2))+1);
                                                      } else{
                                                           longi = ((encrip.length()^(1/2)));
                                                      String crip[][] = new String[longi][longi];
                                                      texto = "";
                                                      for(x=0;x==longi;x++){
                                                           for(y=0;y==longi;y++){
                                                                crip[y][x]=(encrip.substring(z,w));
                                                                w++;
                                                                z++;
    for(x=0;x==longi;x++){
    for(Y=0;y==longi;y++){
    texto=texto+crip[x][y];
                                                      System.out.println("your ecripted text is: " + texto);
    all it do, is: read the text, decompose it, so it dosnt have any spaces, and then, it create an array whit the dimension of the text^1/2 +1 if the text/2==true or the other writted there; then it fills the array (0.0, 1.0, 2.0....,0.1,1.1,...etc), and then it show u the encripted text. My problem here its that the program dosnt go trought any "for bucle" O_o, dunno why.. any help would be apriciated, thx
    Message was edited by:
    [email protected]

    I'm sorry but my Babel fish isn't working. bucle == loop (like English buckle, I guess)
    @OP:
    The second part of a for-loops (bucle) is a condition that must be true.
    So you should write//for(x=1;x == texto.length(); x++) { //<--  not this
    for(x=1;x < texto.length() + 1; x++) {
        // etc
    }and the same for the other loops.
    Strings are compared using the equals() method, not ==. So//if(texto.substring(z,w)!= (" ")){ // <-- not this
    if(!texto.substring(z,w).equals(" ")) {
        // etc
    }Exponentiation (potencia) in Java does not use the ^ operator, you have
    to use Math.pow()//longi = ((encrip.length()^(1/2))); // <-- not this
    longi = Math.round(Math.pow((double)encrip.length(), 0.5));longi will be a long, not an int (but can be used the same way in your
    code).

  • I need some help here please!

    i am working on a website thats going to be a friend loop
    such as facebook myspace classmate etc. im in the proccess of
    making the site now and i was wondering what i need to to to enable
    useres to be able to login and create a profile page on my site?
    how can i do this using DW2004 what am i looking at here? also
    anyone who would be interested in helping e-mail
    [email protected] we have the site up on a server but we are
    far from done

    > such as facebook
    > myspace classmate etc. im in the proccess of making the
    site now and i was
    > wondering what i need to to to enable useres to be able
    to login and create a
    > profile page on my site?
    hire a team of skilled programmers, put them in a cage and
    toss money at
    them.
    or spend a lot of time learning how to do it yourself.
    or try a free or commercial pre-written application
    http://www.hotscripts.com/search/?q=myspace&cat=All&page=1&sort=&license_typ
    e=free
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Need Some Help Here From The Pros....

    Hi all...Im new here you see. I have some questions here..
    1) May I ask if anyone could just tell me how to actually create a partition like Windows do in Mac OS? I need the partition to do my backups and save some of my important documents.
    2) Can we actually create a password to secure certain of my files so that anyone wants to browse it will have to enter the password? Is it possible to do that?
    3) Im also trying to use Visor(i cant remember the name, it's a software to enable Mac to run windows without the boot camp) but i tried on my friend's Macbook, I cant use the MSN camera function... Anybody have any idea??? Or it's not compatible with the camera built-in.
    4) I want to use "3D Studio Max", its it compatible with Mac OS??? and will it be laggish if i uses macbook 13" white?
    Please help....

    Hi!
    1) May I ask if anyone could just tell me how to actually create a partition like Windows do in Mac OS? I need the partition to do my backups and save some of my important documents.
    With your external drive attached, open Disk Utility, found in Applications/Utilities. Choose your drive on the left, and use the Partition tab to set up the number and type of partitions. Partitioning will delete all data on the drive.
    2) Can we actually create a password to secure certain of my files so that anyone wants to browse it will have to enter the password? Is it possible to do that?
    Don't forget that the Mac, just like Windows, is multi-user. You can set up a user for yourself and one for guests or specific people. Nobody can see anybody else's files. You can lock your computer when you go away from the desk if you want absolute privacy.
    Or, you can create an encrypted disk image (also using Disk Utility) to store private files if you really want to stick with one user account.
    3) Im also trying to use Visor(i cant remember the name, it's a software to enable Mac to run windows without the boot camp) but i tried on my friend's Macbook, I cant use the MSN camera function... Anybody have any idea??? Or it's not compatible with the camera built-in.
    Do you mean VMWare Fusion? I believe iSight support is included in the VMWare Tools - when you're running Fusion, there's a menu option to install/update those tools.
    4) I want to use "3D Studio Max", its it compatible with Mac OS??? and will it be laggish if i uses macbook 13" white?
    I believe it's Mac only, so you should check the Windows specs (RAM requirements, graphic card VRAM, etc) to see if you can run it within a virtual Windows on your Macbook.
    Matt

  • Can't get into OSX! Need serious help here!

    So I've seen some folks have had this problem but I haven't found a solution in any previous posts about this. Anyway, I have a bootcamped MBP. Everything has worked fine for the past 3 months but today I restarted my computer, booted to Windows, did some stuff there, restarted and booted to OSX. I got to the blue screen and the "Starting OSX" box popped up for a quick second and then dissappeared, leaving me with a pointer and a blank blue screen. I've tried everything I've seen in other posts about this. It does the same thing when I boot in safe mode as well. I booted up in verbose mode and it stops on the login app. I booted to the install disk and reselected the Mac HD to no avail. Windows still boots fine and it boots to disk fine, but refuses to start up OSX. Is there a way to reinstall OSX without losing my 3+ months of data that I've aquired? That would suck so bad to lose everything on my HD. ANY help would be appreciated. Thanks for reading!

    Restart with the left Shift key held down and see if you can get to the login window; if you can't, perform an Archive and Install of Mac OS X, which won't delete items you've added to the computer. If you can get to the login window, restart with the Command and S keys held down. Enter the following:
    mount -uw /
    cd /Users
    mv username/ olddata/
    exit
    Replace username with the short name of your account in line 3, unless you've moved your home folder, in which case you will need to change the paths in lines 2 and 3; your computer should then start up and log in, but your account's data will have been reset to the defaults. To get your data back, open the Users folder on your hard disk followed by olddata, and then drag documents and other items outside of the Library/Preferences/ folder to your current home folder. One of the items in Library/Preferences/ was likely responsible for the issue.
    If you are able to get to the login window but can't log in after moving your home folder, reset the NetInfo database and then move the entire home folder, including Library/Preferences/, to the current home folder.
    (14823)

  • Hey Guys, I need some help here

    Im doing some create view and create procedures for my work.
    In creating view, its just done perfectly.
    However with create procedures work, I got some problem with the result.
    So here is the coding:
    create or replace
    PROCEDURE "USP_EDW_CASH_MARGIN"
    result_cursor          OUT     TYPES.cursor_type
    AS
    CURSOR v_cursor IS
    SELECT
    to_char (CM100,'99999999999999.99'),
    to_char (CM101,'99999999999999.99'),
    to_char (CM200,'99999999999999.99'),
    to_char (CM300,'99999999999999.99'),
    to_char (CM301,'99999999999999.99'),
    to_char (CM310,'99999999999999.99'),
    to_char (CM320,'99999999999999.99'),
    to_char (CM400,'99999999999999.99'),
    to_char (CM401,'99999999999999.99'),
    to_char (CM402,'99999999999999.99'),
    to_char (CM500,'99999999999999.99'),
    to_char (CM720,'99999999999999.99'),
    to_char (CM730,'99999999999999.99'),
    to_char (CM740,'99999999999999.99'),
    to_char (CM999,'99999999999999.99')
    FROM VW_CASH_MARGIN a;
    v_id varchar2(100);
    v_row varchar2(4000);
    v_clob CLOB;
    v_buffer varchar2(10000);
    BEGIN
    v_id := 'EDW_CASH_MARGIN';
    DELETE FROM TBL_INTERFACE_DATA WHERE cd = v_id;
    INSERT INTO TBL_INTERFACE_DATA (CD,INT_DATA,DT_CREATED)
    VALUES (v_id,EMPTY_CLOB(),(SELECT CURR_PROC_DATE FROM TBL_PROC_DATE));
    SELECT INT_DATA INTO v_clob
    FROM TBL_INTERFACE_DATA
    WHERE CD = v_id
    FOR UPDATE;
    OPEN v_cursor;
    v_buffer := '';
    dbms_output.put_line(LENGTH(v_buffer));
    LOOP
    FETCH v_cursor INTO v_row;
    EXIT WHEN v_cursor%NOTFOUND;
    if (length(v_buffer) + length(v_row)) < 10000 or v_buffer is null then
    v_buffer := v_buffer || v_row;
    else
    DBMS_LOB.WRITEAPPEND(v_clob, LENGTH(v_buffer), v_buffer);
    v_buffer := v_row;
    end if;
    END LOOP;
    if LENGTH(v_buffer) > 0 then
    DBMS_LOB.WRITEAPPEND(v_clob, LENGTH(v_buffer)-1, v_buffer);
    end if;
    CLOSE v_cursor;
    OPEN result_cursor FOR
    SELECT 'success' AS status FROM dual;
    END;
    After i run this coding.
    I got these errors :
    1)Error(46,5): PL/SQL: SQL Statement ignored.
    2)Error(46,5): PLS-00394: wrong number of values in the INTO list of a FETCH statement
    It says that the error is with this code "FETCH v_cursor INTO v_row;"
    Can someone please help me.

    ok let me explain with emp table.
    DECLARE
    CURSOR c IS SELECT ename,sal FROM emp;
    v_ename VARCHAR2(2000);
    BEGIN
    OPEN c;
    LOOP
    FETCH c INTO v_ename;
    EXIT WHEN c%NOTFOUND;
    Dbms_Output.put_line(v_name);
    END LOOP;
    CLOSE c;
    END;Here i'm selecting 2 columns in the cursor and getting into one variable.
    So i'm getting error like this
    ORA-06550: line 7, column 1:
    PLS-00394: wrong number of values in the INTO list of a FETCH statement
    ORA-06550: line 7, column 1:
    PL/SQL: SQL Statement ignored
    DECLARE
    CURSOR c IS SELECT ename,sal FROM emp;
    v_ename VARCHAR2(2000);
    v_sal NUMBER(10);
    BEGIN
    OPEN c;
    LOOP
    FETCH c INTO v_ename,v_sal;
    EXIT WHEN c%NOTFOUND;
    Dbms_Output.put_line(v_ename||v_sal);
    END LOOP;
    CLOSE c;
    END;Here i'm selecting 2 columns in the cursor and getting into two different variables.so no error.
    DECLARE
    CURSOR c IS SELECT ename,sal FROM emp;
    v_row c%rowtype; -->record type declaration
    BEGIN
    OPEN c;
    LOOP
    FETCH c INTO v_row;
    EXIT WHEN c%NOTFOUND;
    Dbms_Output.put_line(v_row.ename||v_row.sal);---> Here i'm mentioning which column to be printed
    END LOOP;
    CLOSE c;
    END;Same thing i'm getting all columns variable into the records so no error.
    and also pls read this
    How to ask question
    SQL and PL/SQL FAQ

  • I need a help here to choose...

    Hello guys.
    I'm new here.
    I have 2 main objecti'ves.
    - Play MP3 ( of course )
    2 - Store Photos - Its a nice idea when you are treveling.
    There are meny problems.
    The Xtra it's nice and have a huge HD 60Gb or 30Gb this is good enought. But need a driver to install in onther PC, Right?
    The IPOD PHOTO 60GB is too expensi've, have a less quality of music. BUT there is a option to get one Flash Card Adapter. Then you only need you Camera, Ipod and Adapter. This is a dream.
    You guys know any ohter option of player?
    Thanks

    evdutcos wrote:
    Noob question.
    What's MTP?
    Media Transfer Protocol. Which is a standard used to communicate various players to a computer without the use of drivers.
    You need to have an MTP device to have subscription services is one common example of its use.
    But thats just skinning the surface of what it does and can do.... There is alot more to it, but in the end thats what it boils down too...

  • Need some help here

    Ok here's whats going on:
    I'm making a portfolio using XML and AS3. Loading the XML is
    all fine, I put images in a loader using a for loop.
    However, i would like these images to be buttons and set a
    TextField.alpha at 1 when hovering the image.
    The problem I'm having here, is whenever I hover an image,
    all the set textfields will show up. How do I change this? I've
    been trying to put it into an Array with no result.
    Zjetzn

    There are quite a few things that seem wrong with the way
    you're doing things. To begin with, read up on
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,loadedhandler),
    you can use that instead of the enterframe to know when the Loader
    is loaded.
    Getting back to your question, you have this:
    for (i = 0; i < mijnXml.record.length(); i++) {
    if (e.currentTarget.name == i) {
    overArray
    .alpha = 1;
    That would be a Boolean test to see if the name is equal to
    i, and for all cases except zero, that would come out as true.
    There may be one of your text fields that does change its alpha.
    That function could change to this, and still work I think:
    private function onMouseOver(e:MouseEvent) {
    e.currentTarget.alpha = 1;

  • Really need some help here to try and get Fios services in my building

    I have been trying to convince my landlord for months to get Fios in the building.  Here is a recent email exchange with him.  Does anyone know if any of this is true, about the install damages?  If it is true, then Verizon needs to get their act together! 
    Here is the email exchange. 
    D-
    I am sorry but we have no plans to let Verizon in to this building. They do
    a lot of damage to the building and do not make the repairs after or pay for
    any damages they do.
    Thanks,
    Steven
    -----Original Message-----
    From: D
    Sent: Tuesday, April 24, 2012 12:19 PM
    To: {edited for privacy}
    Subject: Question
    Hey Steve,
    Could you please do me a favor and speak with the building owner once again
    about Fios?  I know you mentioned he wasn't to keen on the idea of them
    doing the install but it would really make a big difference.  As of right
    now my iPad's cellular connected internet is faster for $30/mo than the
    $120/mo I'm paying Time Warner.  On top of that, I can't even watch HD
    movies on demand.  I've had TWC out here twice in the last four months and
    every time they claim nothing is wrong.  Its very frustrating.  I'll do
    almost anything I can to assist in this.  Please let me know if you can do
    anything.
    Thank you as always!

    james211 wrote:
    I have been trying to convince my landlord for months to get Fios in the building.   
    If your landlord doesn't want FIOS in the building, then it's not going to happen.
    Vote with your wallet and move.

  • I need some help here. someone please respond with some type of idea.

    okay, here's the deal
    when i take the Ipod out of the usb, i cut it on, and it's just a constant green light in the front that wont go away. it wont play, and wont have any affect on the buttons or anything. it's just a steady green light.
    it wont show my battery life until it's cut off.
    do you have any idea what's going on?
    i'm so uber angry it isn't funny.
    P.S.- I've had this ipod for like, almost a year.

    okay, here's the deal
    when i take the Ipod out of the usb, i cut it on, and
    it's just a constant green light in the front that
    wont go away. it wont play, and wont have any affect
    on the buttons or anything. it's just a steady green
    light.
    it wont show my battery life until it's cut off.
    do you have any idea what's going on?
    i'm so uber angry it isn't funny.
    P.S.- I've had this ipod for like, almost a year.
    See if this helps:
    http://docs.info.apple.com/article.html?artnum=303332

  • GS60 2PE Hopeless really need some help here!!!

    Hey MSIer, I just did a complete wipe on my hard drive and  now there's totally nothing left on the drive like really nothing so what I wanna ask is that how do I get back all the pre installed software including windows 8.1 itself, how?
    Does anyone out there don't mind taking some time to help list down a guide on how to get back to how the laptop originally was(all the pre installed software including windows 8.1 iitself)? Your help is really much much much muchhhh appreciated!!! T_T

    Quote from: Syrellaris;112053
    You should be able to restore using the Recovery Discs you made(if you made them..) or by pressing the F3 key during bootup.
    Though, if you wiped all partitions on the hard drive, including the normally hidden recovery partition you are kind of screwed.. in that case you need to send it in for repair, but it will not be fixed under warranty.(if you dont have Recovery disc's)
    Quote from: JakeSully;112055
    Yeah best option when getting a new laptop it is to create a recovery dic or USB recovery and atleast .iso recovery to that way incase you wipe everything on hard disk you can restore every partitions that was wiped including recovery partition that has copy of windows 8.1 64 bit that comes pre-installed.
    I didn't do any recovery disc and have yet to try the F3 button that you mention. So let say even if the F3 is not working I'm totally screwed right?

  • VOICE over UDP need some help here

    I have attached a vi i have been working on and i am having a litte trouble.  I want to do somethink like voice over ip.  Currently i have a setup that broadcasts the data to a client.  The mic is sent over udp to the clients speakers and vice versa. I ingore anything that comes from one's one ip address.  This works just great,  but the problem is i need more than 2 on at a time.  I dont want to mess with entering specific ip address ect. At most i only want to have to enter ones own ip address as i have in the example.  
    When i start running 3 of these vi's on separate machines, i can probe the address which the data is being received, and it seems to only get data from one address, not two like i would expect.  Is there a buffer being cleared when read or something?   Any help would be appreciated.
    Thanks
    Dave
    Attachments:
    UDPVOICE.vi ‏70 KB

    Here is how I have dealt with the port problem in the past (albeit, not
    in labview, but lets hope LabView's usage of UDP is consistent with
    other programming languages ) is you always have clients connect to
    a listen port on the server.  You will have a thread watching for
    incoming connections on that port.  When one is detected, you
    create a new "personalized" connection for that client to use to
    communicate with the server.  Part of this process involves
    assigning that conenction a new port.  This assignment is
    dynamic--the server just assigns some random available port (so in
    other words, you don't have to hard code one in).
    So once a client connects, the server responds from the new port, the
    client receives that datagram and checks where it came from (address
    and port) and sends all future messages to that port on the server.
    Does this make sense?  I'm afraid I won't be much help with
    anything aside from theory as I haven't actually played with the
    network functionality in labview--all my network programming comes from
    C and Java. 
    As to combining the sounds, I'm afraid I don't know.  I think the
    simplest system would be a half-duplex system whereby clients can only
    send data when they are not receiving it (or rather, 1 person talks at
    a time).  I can understand how this isn't ideal.  I wonder
    how this is accomplished in other, similar voice-chat programs?
    One final thought: I'm not sure, but I'd be willing to make a wild stab
    in the dark and say you might run into bandwidth problems if you're
    transmitting an unencoded (uncompressed) voice signal.  This is
    undoubtably more complex than you want to get, but you might look
    around for ways to reduce the amount of bandwidth you're going to
    use.  And if you'd like examples of programs that will allow this
    kind of chat go check out Teamspeak (http://www.teamspeak.org/) or
    Skype (http://www.skype.com/).  Both these programs allow
    multiuser voice chat (teamspeak is intended for chatting with your team
    in video games).  Skype is a very professional, very high quality
    voice chat program that works more or less the same, with higher
    quality voice.  Oh and both are free
    --R

Maybe you are looking for

  • IPhoto Library won't open after upgrade to mountain lion

    One of my iPhoto libraries (stored on a WD Pasport Studio) won't open properly after upgrade to Mountain Lion 4oo5 open ok. One opens but disc symbol keeps spinning and Iphoto stops responding. Any ideas?

  • Document upload in portal

    Hi, We need to upload 2 documents in enterprise portal. The record in the document should be visible to only the specific users. eg: 5 documents for 5 different users . We need to display the documents thru an iview. Please suggest ASAP. Thanks in ad

  • ID6 -- Problem with ordinals in legacy documents

    I recently acquired CS6, and am experiencing a strange problem with documents created in the original Indesign CS.  I typically leave the ordinal flag turned on in the OpenType menu.  This used to work just fine -- it recognized when a string of char

  • Confused.

    I'm having a problem with my vector of train cars... RailCar = Base Class > Boxcar > PassengerCar (Derived classes) I Initialize the train here: public void readInput()           Scanner keyboard = new Scanner(System.in);           System.out.println

  • Exporting Subtitle from DVD Studio Pro

    Is there a way to export subtitles from DVD Studio Pro or Is there a tool somewhere that will generate an STL file from a DVD Studio Pro subtitle stream? Thanks for your help!