Recent content by mindauggas

  1. M

    Can spaces in the installation category names break scripts?

    Hi, I installed XAMPP into my F drive folder called: "Program files". I got a warning: "WARNING: Your install directory contains spaces. This may break programs/scripts" The program is running so no need for help. But was wondering how is it that spaces in installation category names can...
  2. M

    Java [JAVA] Question about data flow betwean methods

    I see that this is ca complex question. Definitely will pursue it. Thank you very much chiro. Also, if anyone has any additional details to provide it would be appreciated.
  3. M

    Java [JAVA] Question about data flow betwean methods

    Hi, Wanted to ask you guys how does Java know what specific parameter to take into a method if the method name has to be only - let's call it - "internaly consistent" (meaning the parameter in the head and the body have to be the same). E.g. if I pass a value to the method: private int...
  4. M

    Java [JAVA] I seem to always need to enter the class path to run the program

    Sorry, but what do you mean by "You can edit your environment variables and add "." to the classpath (warning: unsafe on 'real' systems)" 1. What do you mean by "." 2. And "unsafe for "real" systems? P.S. I edited the environmental variables. It wokrs fine.
  5. M

    Java [JAVA] I seem to always need to enter the class path to run the program

    Hi, I wanted to try to use cmd to compile and run a program in java. I have sucessfully compiled it. The compiler is working properly (C:\new> javac output the compilers functions), but I'm always getting the same error: "Error: Could not find or load main class hello". When I specify the...
  6. M

    Subtraction using 2's complement addition question

    Thanks, that was really helpfull :)
  7. M

    Subtraction using 2's complement addition question

    Yes, it seems that I have understood this correctly. The thing I don't understand is the comment in the book in line 3: " subtract contents of 51 from 52" - the "52" should be considered a typo you think?
  8. M

    Subtraction using 2's complement addition question

    The problem states: "What Intel x86 instructions would you use to accomplish subtraction using 2’s complement addition? This instruction set has a SUB instruction, but don’t use that; write your own 2’s complement routine instead". Then the book states the answer: MOV 51, EDX // copy...
  9. M

    How to CREATE a green triangle in EXCEL

    On the internet there is only information on how to get rid of the trianglethat indicates an error in the formula in the cell. But in my workplace I need to upload data to a program and sometimes a successful upload requires that the data in my excel cells be marked by this error-triangle...
  10. M

    Proving One-to-One Function: Non-Graphical Method Using Fractional Equation

    i understand what was done and sugested, but what does it mean exactly and precisely in terms of one-to-ones? For example: "this the function is nor one to one, because we got two values of x in that give the same y". But what then is the meaning of the derived term a=2b/b-2 ? Is it just a tool...
  11. M

    Proving One-to-One Function: Non-Graphical Method Using Fractional Equation

    Sorry, for returning to this exercise after such a long time, but I realize that I have doubts about how to interpret the result. If we do not get a=b, that means that there are more than one x in terms of which y can be expressed? Thus making the function not one-to-one?
  12. M

    Java [JavaScript] function question

    write an if statement that checks if the parameter exponent is 0. If it is, return 1 (a base case). var power = function(exponent, base){ if (exponent === 0){ return 1; } }; power(); It does not work, ca anyone tell why?
Back
Top