Programming physics

Okay so I'm a grade 12 student, and my physics course started last week. In a few weeks we are going to have to hand in a proposal for a project we will make with a partner. There is a list of topics, such as x rays, how LCD screens work, cat scans, the physics of roller coasters, and stuff like that.
Last semester I did my biology project as a program and my teacher told me that I was the first one to ever do such a thing and it turned out great.
So I was thinking of doing my physics project as a java program too.. and physics is a really suitable thing to do in Java.. I just need an idea of what to do though... We're going to learn about: Forces and Motion, Energy and Momentum, Electric, Gravitational and Magnetic Fields, The Wave Nature of Light
So far we've done a little bit of motion.. we did projectile motion (ie. shooting a cannon ball) and relative velocity and newton's laws...
Projectile motion is not too hard to show in Java, but I wanted to hear if you guys have any suggestions to things that I can make to be my project? One idea is to just show what the course covers in an applet, but some of you must have some mor original ideas...

you people sure know some physics... does that mean I'm going to have to take a lot of physics in my comp sci program?
well anyway that site with the java physics applet that you gave me, man!! he has some really cool applets there! and they look kind of simple but I know it will take me weeks to do any one of them... but they're really cool it showed me that I can do something like that... a game won't really be appropriate, but the kind of thing that German guy did will be very good
and that particle applet looks really nice but that's too much graphics and stuff.. I'll probably do something more simple looking like the German dude (I think he's German..)

Similar Messages

  • Setting module name in OCI program

    Hi,
    I have been struggling with setting the module name from my OCI program. Below is the code in which
    I create the environment, connect, attempt to set the module attribute, wait for key input, and clean up
    and exit after getting the key input.
    That I can tell, I have called OCISetAttr as the documentation says I should and none of my return values
    indicate a problem. Yet when I v$session, I get what I presume is the default value of the module
    and not the value I set in the code("moduletest").
    The programs physical filename is oci101.exe. It also connects to the Oracle instance as a user named
    oci101. I check v$session with this query:
    select username, module from v$session where username is not null;
    And the output is this:
    USERNAME MODULE
    OCI101 oci101.exe
    SYSTEM SQL*Plus
    I should see a MODULE column value of "moduletest" for the OCI101 user.
    Not sure what I'm missing. Any ideas?? Here is the code:
    // Begin code:
    OCIEnv* envhp;
    ub2 charset_id = 0;
    ub2 ncharset_id = 0;
    ub4 mode = OCI_DEFAULT;
    const sword env_rc = OCIEnvNlsCreate(
    &envhp, mode,
    (void*)0, // user-defined context for custom memory allocation
    (void* (*)(void*, size_t))0, // user-defined malloc
    (void* (*)(void*, void *, size_t))0, // user-defined realloc
    (void(*)(void*, void*))0, // // user-defined free
    (size_t)0, // extra user memory
    (void **)0,
    charset_id, ncharset_id
    OCIError* errhp;
    const sword err_rc = OCIHandleAlloc(
    (dvoid *) envhp, (dvoid **) &errhp,
    OCI_HTYPE_ERROR, (size_t) 0, (dvoid **) 0
    checkerr(err_rc, errhp);
    OCISvcCtx* svchp = 0;
    const sword l2rc = OCILogon2(
    envhp, errhp, &svchp,
    (const OraText*)zusername, (ub4)strlen(zusername),
    (const OraText*)zpassword, (ub4)strlen(zpassword),
    (const OraText*)zdatabase, (ub4)strlen(zdatabase),
    mode
    checkerr(l2rc, errhp);
    // Set the module attrbute
    // Extract the session handle into sessionhp.
    OCISession *sessionhp = 0;
    ub4 sh_size = 0;
    sword oci_attr_get_status = OCIAttrGet ( svchp,
    OCI_HTYPE_SVCCTX,
    &sessionhp,
    &sh_size,
    OCI_ATTR_SESSION,
    errhp );
    checkerr(oci_attr_get_status, errhp);
    // Set the module
    sword oas_rc = OCIAttrSet(sessionhp, OCI_HTYPE_SESSION,(void *)"moduletest",
    strlen("moduletest"), OCI_ATTR_MODULE, errhp);
    checkerr(oas_rc, errhp);
    getchar();
    // Cleanup:
    if (svchp) { // 0 when already disconnected
    OCISvcCtx*const tmp_svchp = svchp;
    svchp = 0; // reset svchp on error or not
    const sword lorc = OCILogoff(tmp_svchp, errhp);
    checkerr(lorc, errhp);
    const sword rc = OCIHandleFree(envhp, OCI_HTYPE_ENV);
    // End Code.
    Thanks for any help . . .
    Karl

    Hi Karl,
    I'm certainly not an OCI expert, but after setting the module attribute the value is updated upon the next statement execution in my experience. There may be other ways in which this can happen, but I have not seen those cases.
    Here is a short example:
    #include <stdio.h>
    #include <string.h>
    #include <malloc.h>
    #include <oci.h>
    int main(int argc, char *argv[]) {
      OCIEnv      *envhp = NULL;  /* OCI Environment handle     */
      OCIError    *errhp = NULL;  /* OCI Error handle           */
      OCISvcCtx   *svchp = NULL;  /* OCI Service Context handle */
      OCISession  *usrhp = NULL;  /* OCI User Session handle    */
      OCIStmt     *stmtp = NULL;  /* OCI Statement handle       */
      /* the statement to execute   */
      /* this is purely for example */
      oratext *sqlstmt = "begin null; end;";
      /* connection information */
      oratext *username = "scott";
      oratext *password = "tiger";
      oratext *database = "orademo";
      /* used to hold the results of each OCI call */
      sword result = 0;
      /* Initialize and create a default environment */
      result = OCIEnvCreate(&envhp,
                            OCI_DEFAULT,
                            (dvoid *) 0,
                            0,
                            0,
                            0,
                            (size_t) 0,
                            (dvoid **) 0);
      /* allocate an error handle */
      result = OCIHandleAlloc((dvoid *) envhp,
                              (dvoid **) &errhp,
                              OCI_HTYPE_ERROR,
                              0,
                              (dvoid **) 0);
      /* create connection */
      result = OCILogon2(envhp,
                         errhp,
                         &svchp,
                         username,
                         (ub4) strlen(username),
                         password,
                         (ub4) strlen(password),
                         database,
                         (ub4) strlen(database),
                         OCI_DEFAULT);
      /* get the user session handle */
      result = OCIAttrGet(svchp,
                          OCI_HTYPE_SVCCTX,
                          (void *) &usrhp,
                          NULL,
                          OCI_ATTR_SESSION,
                          errhp);
      /* set the module attribute */
      result = OCIAttrSet(usrhp,
                          OCI_HTYPE_SESSION,
                          (void *) "My Module",
                          (ub4) strlen("My Module"),
                          OCI_ATTR_MODULE,
                          errhp);
      /* allocate the statement handle */
      result = OCIHandleAlloc((dvoid *) envhp,
                              (dvoid **) &stmtp,
                              OCI_HTYPE_STMT,
                              0,
                              (dvoid **) 0);
      /* prepare the statement for execution */
      result = OCIStmtPrepare(stmtp,
                              errhp,
                              sqlstmt,
                              (ub4) strlen((char *) sqlstmt),
                              OCI_NTV_SYNTAX,
                              OCI_DEFAULT);
      /* execute the statement - after execution the */
      /* MODULE value should be updated in v$session */
      result = OCIStmtExecute(svchp,
                              stmtp,
                              errhp,
                              (ub4) 1,
                              (ub4) 0,
                              (CONST OCISnapshot *) NULL,
                              (OCISnapshot *) NULL,
                              OCI_DEFAULT);
      /* print a simple prompt    */
      /* view session in SQL*Plus */
      printf("program paused, ENTER to continue...");
      getchar();
      /* disconnect from the server */
      result = OCILogoff(svchp,
                         errhp);
      /* deallocate the environment handle */
      /* OCI will deallocate child handles */
      result = OCIHandleFree((void *) envhp,
                             OCI_HTYPE_ENV);
      return OCI_SUCCESS;
    }When the program is paused I see this in SQL*Plus in my test:
    SQL> select sid, username, program, module from v$session where username = 'SCOTT';
           SID USERNAME         PROGRAM                          MODULE
           136 SCOTT            OCIModuleTest.exe                My ModulePerhaps that is a bit of help.
    Regards,
    Mark
    Edited by: Mark Williams on Dec 22, 2008 11:06 AM
    Tidied up the sample a bit.

  • Remote DVD or CD Sharing

    I installed the DVD or CD Sharing software from the OS X install disk 1 on Vista. I enabled DVD or CD sharing via the control panel on Vista. I enabled allowing requests in Security/Firewall on the MBA. I put the DVD in the DVD device on the Vista.
    Is there anything else I need to do on the Vista before the DVD shows up on the MBA under Remote Disk? Is there anything else I need to do on the MBA before the DVD shows up under Remote Disk on the MBA.
    Using SMB I can connect the DVD device on the Vista so that it shows up under Sharing on the SMB.
    What am I missing?
    I want to use a data DVD mounted on the Vista to use a program (Rosetta Stone) on the MBA (perhaps this is not possible using Remote Disk; I can connect the USB DVD/CD device directly to the USB port on the MBA and access the data DVD that way but it is inconvenient. Never-the-less, the DVD should dhow up under Remote Disk.
    Any questions or suggestions?

    Hey, I just tried putting the Rosetta Stone data disc in my desktop Mac running Remote Disc to my brand-new MacBook Air and ..... doesn't work at all.
    I suspect that Rosetta Stone does "something" to keep the running program physically tied to the disc for anti-piracy reasons. It would sure be cool to know what that is so that we know Remote Disc trips over it!
    I wonder if I can get audio pumped through a remote desktop app? If not then I guess I'll have to sell my R.S. CDs and subscribe to their online version.

  • Trackpad clicking but not responding

    I have an almost 4 year old macboook pro unibody intel dual core and last night the trackpad stop responding when you try to open a folder or program.
    physically the trackpad clicks and 2 or 3 finger gesture/slides works. when you put the cursor on a program it lit up but when you click that program it's not
    responding or won't do anything at all. thought I post this question first to get a quick solution before I take it to the apple store. any help is greatly appreciated.
    thank you

    This definitly sounds like it's on the right track! My macbook is a 2009, so if this is common amongst 2009s it could be the problem.
    From the video though, I wasn't clear if the problem that this solution address is for which of the two problems:
    1) The trackpad not clicking without pushing hard
    2) The trackpad clicking with an average push but not registering without clicking hard
    This solution is also interesting to me because I had my battery replaced about 5 months a go and it might be possible that this screw could have been moved at that time.
    Thanks, and I'll give this a try when I have an opportunity.

  • ROCANCEL Issue

    Hi,
    I've trouble to understand how the ROCANCEL works
    An Abap Program physicly deletes some shipping Documents from the tables (LIKP et LIPS)
    The issue is on the ROCANCEL
    On the delta records sometimes I have as expected 'R' in the ROCANCEL field
    But not for every documents deleted
    Sometime I have ' ' in the ROCANCEL
    It's a problem because theses documents appears in the reports even they are deleted.
    Any suggestions ?
    Thank you by advance

    refer:
    How does a datasource communicates "DELTA" with BW?
    /people/swapna.gollakota/blog/2007/12/27/how-does-a-datasource-communicates-delta-with-bw

  • Retreiving the deleted Report

    Hi Everyone,
    I've been trying to retrieve  a workbook which was deleted in cleaning process.(While deleting the QUERIES which were not been used since 14 months).
    There is a Program which does this operation. Accidentally, One of the Customer's Report was deleted from his FAVORITES. Which has the complete analysis since 2003.
    Now I am trying all possible ways to retrieve the lost REPORT(workbook).
    I think its necessary to know where  the program physically deletes the queries and workbooks.
    Is it in Database BW or elsewhere ?
    The possibility to recover the workbook depends on where the queries and workbooks are stored.
    NOTE: The workbook was in the Favorites of End-User.
    Somebody please help me out  with the possible solutions.
    Thanks
    Ravi

    Ravi,
    It depends on whether you just deleted the "pointer" to the workbook from the Favorites, or whether you actually deleted the workbook object. From your description, I assume it is the latter. However, if you only deleted the workbook from the Favorites, all you have to do is find the Workbook ID (e.g. RSA1 -> Metadata Repository -> Workbook) and recreate the link to this workbook, probably by temporarily adding it to a role first, then copying it to Favorites from there.
    If you really deleted the workbook object, the next best approach would be to see if anyone kept a copy of the Excel file for the report. If so, you can use that to resave the workbook as a BW object. Open the BEx Analyzer, then open the Excel file with the report and choose "Enable Macros", then click on the Save button on the BW tollbar and choose "Save As New Workbook".
    If neither of those approaches work, you may end up having to recreate the workbook from scratch (or at least from the closest existing workbook).
    Good luck -- hope this helps...
    Bob

  • Shared Graphics Memory on W500

    So,my problem is next.I am using a Lenovo Ww500 4063-cw9.I am using program 3ds max.I know its old but for 3d stuff its exelent.When i am doing something on scene in 3ds max its   says that he dont have any more ram.So i I am interesting in decreasing my video memory on intel gma 4500mhd,So the task manager recognises all my memory.
    I have 4gb ram but i only use 2520 MB,My intel graphic card takes almost 1,5 Gb memory,but i dont even use it.I have ati mobility firegl v5700,switchable graphics,I was looking at bios and i dont have an option for memory,and in intel driver also,Is there  any way to decrase it,BeCAUSE  3ds max dosent take memory from reserved memory.(sorry for bad english )
    Solved!
    Go to Solution.

    Hello MaxZix,
    I do believe Wendel is on the right path with the OS version.  Depending on which version you have is dependent on if you have enough RAM showing in the OS.  Here is a statement from the PSREF for your computer.
    On ThinkPad
    systems, even though it is possible to
    physically install 4GB of memory, the actual
    amount of memory addressable by
    a 32-bit operating system will be limited
    to 3GB. This limitation does not exist with
    64-bit operating systems.
    Here is the link to this page:
    http://www.lenovo.com/psref/pdf/ltwbook.pdf
    Also for the memory that is missing from the 3GB of RAM that you have showing is the RAM that is placed to the side for the Integrated graphics.  This is done automatically but the computer.  If the computer is changed from the integrated graphics to discrete graphics I do not believe there is a change in what the system recognizes nor what it stores for use later.  The only thing I could suggest if your computer has all the specs to run the program physically then you would need to switch the OS from what I am suspecting is a 32-bit to a 64-bit OS.
    Hope this helps,
    Alex
    Was this or another post on the forum helpful? Click the star on the left side of the screen to give kudos! Did someone solve the problem you encountered? Click Solution Provided to let us know!
    What we Do in Life will Echo through Eternity. -Maximus Aurelius

  • Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\abc.mdf". Operating system error 2: "2(The system cannot find the file specified.)".

    hi,
    am running the below command for moving sql serevr mdf and ldf files  from one  drive to another : c  drive to d drive:
    but am getting the below error
    SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\abc.mdf". Operating system error 2: "2(The system cannot find the file specified.)".
    use master
    DECLARE @DBName nvarchar(50)
    SET @DBName = 'CMP_143'
    DECLARE @RC int
    EXEC @RC = sp_detach_db @DBName
    DECLARE @NewPath nvarchar(1000)
    --SET @NewPath = 'E:\Data\Microsoft SQL Server\Data\';
    SET @NewPath = 'D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\';
    DECLARE @OldPath nvarchar(1000)
    SET @OldPath = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\';
    DECLARE @DBFileName nvarchar(100)
    SET @DBFileName = @DBName + '.mdf';
    DECLARE @LogFileName nvarchar(100)
    SET @LogFileName = @DBName + '_log.ldf';
    DECLARE @SRCData nvarchar(1000)
    SET @SRCData = @OldPath + @DBFileName;
    DECLARE @SRCLog nvarchar(1000)
    SET @SRCLog = @OldPath + @LogFileName;
    DECLARE @DESTData nvarchar(1000)
    SET @DESTData = @NewPath + @DBFileName;
    DECLARE @DESTLog nvarchar(1000)
    SET @DESTLog = @NewPath + @LogFileName;
    DECLARE @FILEPATH nvarchar(1000);
    DECLARE @LOGPATH nvarchar(1000);
    SET @FILEPATH = N'xcopy /Y "' + @SRCData + N'" "' + @NewPath + '"';
    SET @LOGPATH = N'xcopy /Y "' + @SRCLog + N'" "' + @NewPath + '"';
    exec xp_cmdshell @FILEPATH;
    exec xp_cmdshell @LOGPATH;
    EXEC @RC = sp_attach_db @DBName, @DESTData, @DESTLog
    go
    can anyone pls help how to set the db offline. currently  i  stopped the sql server services from services.msc and started the  sql server agent.
    should i stop both services for moving from one drive to another?
    note: I tried teh below solution but this didint work:
    ALTER DATABASE <DBName> SET OFFLINE WITH ROLLBACK IMMEDIATE
    Update:
    now am getting the message :
    Msg 15010, Level 16, State 1, Procedure sp_detach_db, Line 40
    The database 'CMP_143' does not exist. Supply a valid database name. To see available databases, use sys.databases.
    (3 row(s) affected)
    (3 row(s) affected)
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\CMP_143.mdf". Operating system error 2: "2(The system cannot find the file specified.)".

    First you should have checked the database mdf/ldf name and location by using the command
    Use CMP_143
    Go
    Sp_helpfile
    Looks like your database CMP_143 was successfully detached but mdf/ldf location or name was different that is why it did not get copied to target location.
    Database is already detached that’s why db offline failed
    Msg 15010, Level 16, State 1, Procedure sp_detach_db, Line 40
    The database 'CMP_143' does not exist. Supply a valid database name. To see available databases, use sys.databases.
    EXEC @RC = sp_attach_db @DBName, @DESTData, @DESTLog
    Attached step is failing as there is no mdf file
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\CMP_143.mdf". Operating system error 2: "2(The system cannot find the file specified.)"
    Solution:
    Search for the physical files(mdf/ldf) in the OS and copy to target location and the re-run sp_attach_db with right location and name of mdf/ldf.

  • Assign Logical file name for the physical file path through Program

    Hi all,
    I am having a physical file which is getting generated dynamically. It is having the date and time stamp in its name which is added at runtime.
    Now I need to assign a logical file name for the physical file path through the program.
    Is there any FM or any other method to assign the same.
    Gaurav

    I think it is not possible. becuase the date & time added at runtime. so if you check the table  PATH you can find filename and their definitions

  • ( Can't detect panicbuf from physical memory list Program terminated

    Has anyone seen this error when attempting to install Solaris 8 on a Sparc 10. I receive this error when I attempt to ( ok boot cdrom (enter) )
    ( Can't detect panicbuf from physical memory list) Program terminated
    I think I am having a problem with my physical memory.
    Any ideas would be appreciated.
    Thanks,

    I'm banging my head because I can't find a solution to make my arch-install detect an audio CD
    I assume that you mean the optical drive. I don't see a /dev/sr0 in /dev
    Does it show up with lsblk or parted -l?
    Looks like it's a LiteOn drive.
    You can play an audio CD.
    mplayer cdda://
    mpv cdda://track[−endtrack][:speed][/device] −−cdrom−device=PATH
    An audio CD doesn't have a mountable file system on it.

  • PHYSICAL FILES FOR ABAP PROGRAM

    hi friends
    i would like to know are there any physical files on os level for the ABAP programs.for example, when we create a customized report for sales in ABAP does SAP also create a corresponding copy on os level. if yes then in which file system .?
    we have ECC 5.0 on AIX & use oracle 9i.
    thanks in advance.
    regards.

    imran mohd wrote:
    > hi friends
    >
    > i would like to know are there any physical files on os level for the ABAP programs.for example, when we create a customized report for sales in ABAP does SAP also create a corresponding copy on os level. if yes then in which file system .?
    >
    >
    > we have ECC 5.0 on AIX & use oracle 9i.
    >
    > thanks in advance.
    >
    > regards.
    The code you write in ABAP is not stored on OS-level (at least not in an ABAP-stack system) - it's contained in the database. As for the 'copies' your management wishes (for some ambigous reason) to have - there's no need. The code you write is versionised, so that every change made to the code is automatically documented when you press 'Save'.
    That was answering a 'basic' question - but you have made me very curious now: would you mind to explain why you would want a 'copy' of your custom code on OS-level? Any special reason??
    Edited by: Mylène Dorias on Jun 9, 2010 1:37 PM typo

  • Physical path for XML created of program RTXDART_PT

    Hi guys,
    where does the program RTXDART_PT save its XML file? What is the physical path location?
    Thank you!

    Specify the full path in file name box when executing it, example:
    /usr/sap/AAA/SYS/global/DART/PT.xml
    Much better than searching for the files......
    Good luck with DART files

  • Need Help w/ Programming (Feeling Physically Weak...a little)

    I have not been able to compile my program since there is no compile option that I can choose at this time...& that I have not been able to download the appropiate components yet, but based on my program, I need to know if the program I have will excecute perfectly. This is based on the Split.java program & I am trying to extract words from article.txt. If there is an error in my program what needs to be typed & where is it shown within the program. Also, any symbols such as <>, -, etc. should not be included when article.txt is being redirected as an output.txt. I'm completely stumped & do not know where to go from here!
    P.S. - At this time, I am still feeling a little dizzy after donating blood, so I really need help in this program. Don't worry, I'll be physically fine in a couple of hours! :)
    - Split.java (actual program)
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.IOException;
    import java.util.StringTokenizer;
    public class Split
    public static void main(String[] args)
    throws IOException
    BufferedReader console = new BufferedReader(
    new InputStreamReader(System.in))
    boolean done = false;
    while (!done)
    String inputLine= console.readLine();
    if (inputLine == null)
    done = true;
    else
    // break input lines into words
    StringTokenizer tokenizer =
    new StringTokenizer(inputLine);
    while (tokenizer.hasMoreTokens())
    // print each word
    String word = tokenizer.nextToken();
    System.out.println(word);
    - Analyzer.java (my program)
    CS46A Homework #5: Part 2
    @author Mark P. De Guzman
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.io.IOException;
    import java.util.StringTokenizer;
    public class Analyzer
         public static void main(String[] args)
         throws IOException
              Statistician s = new Statistician();
              BufferedReader console = new BufferedReader(
                   new FileReader(System.in));
              boolean done = false;
              while (!done)
                   String inputLine = console.readLine(firstLine);
                   if (inputLine == null)
                   done = true;
                   else
                        // break input lines into words
                        StringTokenizer tokenizer =
                        new StringTokenizer(inputLine);
                        while (tokenizer.hasMoreTokens())
                             // print each word
                             Char ch = word.CharAt(i)
                             if(character.isLetter(char);
                             Stat.nextWord();
    - article.txt (document I need to extract the words from)
    The desktop publishing <industry> is today a multi-million-dollar
    business-much of it being conducted out of home offices by graphic
    designers and {writers} who embraced desktop publishing early on as a
    viable adjunct to their other skills. Although systems using Apple
    "Macintosh" technology still dominate the high-end graphics market,
    improvements in the Windows! operating environment have made
    personal computers a viable component of many DTP systems as well!

    public class Analyzer
    public static void main(String[] args)
    throws IOException
    THIS LINE IS WRONG:
    Statistician s = new Statistician();
    OBJECT NEVER USED - GET RID OF IT.
    BufferedReader console = new BufferedReader(new FileReader(System.in));
    boolean done = false;
    while (!done)
    THIS LINE IS WRONG:
    String inputLine = console.readLine(firstLine);
    firstLine IS NOT DEFINED
    BufferedReader.readLine() DOES NOT ACCEPT ARGUMENT
    if (inputLine == null)
    done = true;
    else
    // break input lines into words
    ======
    REWRITE YOUR READLINE FUNCTIONALITY LIKE THIS:
    String inputLine;
    while ((inputLine = console.readLine()) != null) {
    ======
    StringTokenizer tokenizer = new StringTokenizer(inputLine);
    while (tokenizer.hasMoreTokens()) {
    // print each word
    THIS LINE IS WRONG:
    Char ch = word.CharAt(i)
    Char SHOULD BE char
    word IS NOT DEFINED - NEED TO INCLUDE "String word = tokenizer.nextToken()"
    i IS NOT DEFINED - NEED TO CREATE A LOOP
    THE LINE DOES NOT END WITH ";"
    THIS LINE IS WRONG:
    if(character.isLetter(char);
    character SHOULD BE Character
    char IS NOT DEFINED
    MISSING ")"
    THE LINE ENDS WITH ";"
    WHAT DO YOU WANT TO DO IF IT IS A LETTER?
    THIS LINE IS WRONG:
    Stat.nextWord();
    COMPLETELY MEANINGLESS - GET RID OF IT.

  • Is there anyone who does computational physics using numerical recipes  and multi source programming in c

    is there anyone who does computational physics using numerical recipes  and multi source programming in c++

    On an iPad?  I'd have to say no, since you can't compile C++ code on an iPad.

  • Program working in virtual device, but not on physical device

    I made a program, pretty simple, actually, that simply consumes a web service here on my local network.  Pretty much all it does is try to authenticate.
    I had a problem with DNS before with the androids, so i replaced all of the domain names in the service xml files to IP addresses,  which still works virtually, but again, not on the physical device.
    Any ideas?

    Hello,
    Regarding the procmon capture;
    Yes, it is a lot of data. I would just start at the top and read my way down on both captures and then identify areas which they differ. Without understanding where the two captures differ, well - it would seem hard to understand where the difference in
    behaviour starts?
    Of course you can minimize the data by (this seems rather obvious, but lets re-iterate);
    1. Avoid all and any unnecessary background tasks
    2. Monitor normal system activity and exclude that
    3. Learn the application behavior and decide if you want to monitor only the application, or all system activity
    4. Understand the application
    As you have a working / non-working scenario - this seems like a perfect scenario of using ProcMon.
    Nicke Källén | The Knack| Twitter:
    @Znackattack

Maybe you are looking for

  • Receiving error message when trying to distill

    Hi, I'd really appreciate any insight that could be offered regarding an error message I'm receiving when trying to distill an EPS for press. I'm running CS4/Mac/10.6.8, creating file in ai, converting to eps in ps, and distilling for press. I've don

  • External HD not showing up in disk utility or finder even though the HD lights up and vibrates

    So a while back I was trying to format my HD so I could back up my computer and watch movies etc. When i finished formatting it I tried plugging it in to the usb port but it didn't show up on my desktop, since it sometimes does this i went to disk ut

  • Modified changes to ESS DC are not visible

    Hello Experts, I have imported the DC and checked out. I have modified essusfam~sap.com by adding a text field and input label. Saved all my changes and tried to deploy the code from the context menu in webdynpro explorer. NWDS prompts for SDM paswor

  • Error with UFSDUMP Solaris - disk not responding to selection - dad1: disk

    In last days I have made backup of level 0 of my Solaris 8 SPARC using ufsdump 0uf /dev/rmt/0 /silcename, each slice was copied correctly, with the exception of my /oracle partition (slice) on which the following error is log: Jul 8 11:54:58 server1

  • AS3 Data Coercion Problem

    AS3 Data Coercion Problem From PHP server RemoteObject AMF3 serialization, I receive a photo object per below into my Flex client: package WPhoto { [Bindable] [RemoteClass(alias="WPhoto.PhotoObj")] public class PhotoObj { public var photo:*; public v