Search:
Type: Posts; User: zifeer
Search:
Search took 0.03 seconds.
-
October 12th, 2009, 04:06 AM
I have a server socket listening on port 5077 and waiting for client connections
boolean listening = true;
while (listening)
new ServerThread(server.accept()).start();
where ServerThread...
-
Thank you, that did exactly what I wanted :)
-
Mainly its processing speed (Hz, cycles/sec) but I can find use of whatever information that can be extracted.
-
I want to output some information about the CPU on a computer. I found out how to display System information but not CPU. If it makes any difference, I'm using Windows.
Thank you :)
-
Hi,
I have a JTabbedPane with 3 tabs (each tab has a JScollPane which has a JTextArea). I want to be able to display a certain tab on a button click. For example, I'm currently looking at tab1, I...
-
Never mind, I'll just apply all arithmetic operations using the integer value and then use toHexString() to get the hexadecimal output.
Thank you for your replies.
-
Hi,
I want to convert a character to its hexadecimal equivalent (which I'll probably figure out how from the documentation) but I was wondering what datatype can I use to store the hexadecimal...
-
April 21st, 2007, 01:31 PM
Thank you, more resources is always better :) :D
-
April 19th, 2007, 05:01 PM
Hi,
Thank you all for your replies, it has been very beneficial for my research. I've used this code and it works great:
#include <sys/timeb.h>
#include <iostream>
using namespace std;
...
-
April 4th, 2007, 05:57 PM
Excuse me for my dumb question; but it seems my knowledge about c++ and visual c++ compilers is very little. I use Microsoft Visual C++ 6.0 to program and the timeGetTime function (or DWORD datatype)...
-
April 4th, 2007, 11:48 AM
I care about the execution time of the whole operation (with the loop), I want to know what are the functions I can use to get the time. If you may give an example please.
-
April 4th, 2007, 10:46 AM
Hi,
I want to calculate the execution time (in milliseconds) of a certain instruction. I wonder if there's any function to embed, for example:
int sum = 0;
// get start time (ms)
for (int...
-
-
Thanx for that code, but I tried to compile it using MASM615 (ofcourse I made the needed changes for the data and other instructions) but it didn't work. The compiler didn't recognize the FloatPrint...
-
So it's not possible using only asm?
If not, how can I embed C (or C++) into asm?
-
I think I understand how it works, but my problem is printing the result on screen. In Irvine32.inc there're procs like WriteInt and WriteDec but these do not show the correct result. How can I make...
-
Can you please give me an example on using fmul. I've read about it but I still don't understand how to use it.
-
Never mind, I got it. I should use FMUL instead of MUL or IMUL.
Thank you :)
-
I didn't understand what you meant by "lean FPU" could you please elaborate more?
PS: I use MASM615 for assembling.
-
Hi,
How can I use a number containing a decimal point using MUL (or IMUL). I want to multiply 3.14 to calculate the area of a circle but I can't figure out how.
Thank you.
-
March 27th, 2006, 10:15 AM
Yeah, I've researched a little bit about it and figured out that I have this whole addition/multiplication/division issue all mixed up. I will loop and use these instructions you stated.
Thanks...
-
March 27th, 2006, 05:14 AM
I've written this 32-bit assembly code:
(It's supposed to read 4 numbers from the keyboard and print the sum, product and average)
include irvine32.inc
.data
value1 dd ?
value2 dd ?...
-
January 23rd, 2006, 07:00 PM
By entry I mean like I created a binary file and wrote to it 30 employee objects (which I call 30 entries). If I try and write every private variable of each object to the file, I then can't write to...
-
January 22nd, 2006, 12:15 PM
Thank you very much :) I did read you initial posts and the topic you linked to but I still haven't grasped the idea perfectly. But now after your example I used the 2nd method which is as you said...
-
January 21st, 2006, 11:54 AM
I tried testing whether the objects are being read correctly, so I created a binary file which accepts employee entries and wrote 3 entries into it:
#include <stdlib.h>
#include <iostream.h>...
|
Click Here to Expand Forum to Full Width
|