No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello all, I have a program running with this command 'jdb prog'. It was compiled with 'javac -g prog.java'. The program when running normally asks for input, 1st it asks for a number then it asks for a second number. When running in jdb it still asks for input so … |
|
Hi, I have an int method that checks an array for a certain number. If that number is NOT found I won't to 'return null;'. I get this error "incompatible types" "found : <nulltype>" "required: int" How can I resolve this? thank you, Michael |
|
I am reading "Assembly Language step-by-step" 2nd Ed. by Jeff Duntemann, using nasm and alink. Full source code is a bottom. When I linked this code I got this error "Warning - no stack". The program ran fine. I decided to add the following code, just to see what would … |
|
I have code that looks like: mov dl, 05 mov dh, 05 I can combine these 2 commands into: mov dx, 0505H What I don't understand is why is it necessary for '0505' to be in hex. If I make the command: mov dx, 0505 it does not work right. … |
|
I'll show the code 2 different ways. The screen SHOULD scroll in both cases. Any ideas on whats going on here? Mike In this case the program works great. The start procedure is on top. [code=assembly] [BITS 16] [ORG 0x0100] [SECTION .text] Start: mov al, 3 call scrollXLines mov ax, … |
|
Hi. This piece of code is suppose to scroll the whole screen 3 lines up. The clearScreen procedure is never called, yet, if I leave it in the code, the program clears the screen. If I comment it out, the program scrolls the screen 3 lines up just like it … |
|
Re:
i have to find two time stamps one at the begining of main and at the end of main and take the difference to find the time elapsed to execute the code in between.Can anybody suggest the programs or proper API s in Linux. |
|
Re:
Hi everybody, Can anyone among you let me know.how can i find execution time of an algorithm in my c coding!! thanks Nalini |
|
Hi, I am trying to write a program to convert an integer to a character. Below is my code. Can someone tell me what I am doing wrong? It is for the MIPS chip. thank you, Michael [code=assembly] # A test to print charactors from numbers. # Does not work … |