Advertisement

1 - 10 of 952 containing alltags:("integers") (0.001 seconds)
Using jdk 1.0.3 only, how can I read in an integer from the keyboard and use it to do some math. ex. import java.io.*; public class test{   public static void main(String args[]) throws IOExcep...
Zones: JavaDate Answered: 09/08/1997 Grade: C Views: 0
How do I detect integer overflows in C, on Unix.  The following is a sample code. #include <stdio.h> void main(void) {    unsigned short int op1, op2, answer;    op1 = 65500;    op2 = 10;    ans...
Zones: CDate Answered: 03/17/1998 Grade: C Views: 0
I need assembly language to convert a 32 bit integer to a 32 bit float. My integer should always be consider positive and a fraction of 1 and right justified to the 6th digit beyond decimal point. ...
Zones: Windows ProgrammingDate Answered: 07/15/1998 Grade: A Views: 0
I need to convert an integer variable to a character array so that I can output it as part of a string.  This is probably really easy but I can't work out how to do it!  I would also like to port t...
Zones: C++, Microsoft Visual C++Date Answered: 03/31/1999 Grade: A Views: 41
Could you please tell me how to change an integer value into an array of char? For example: int number=123; char Value[5]; How to let the Value has the same value as number?
Zones: CDate Answered: 05/01/1999 Grade: A Views: 0
I would like to know if there is a function that will convert a Number into a string.   for example dim result as string result = Num2String(25) print result "twenty-five"
Zones: Visual BasicDate Answered: 03/14/2002 Grade: A Views: 0
This shouldn't be this difficult.  I bring an Object in, convert it to an Integer.  Now I want to do a if () against this Integer value against a new Integer.  I am getting some weird errors.  Here...
Zones: JavaDate Answered: 01/11/2000 Grade: C Views: 0
Hi:   I'm sure there is some really, really easy answer to thsi but...how do I convert an integer to a string? I was kinda hoping that string = int would work, but I don't think it does. Thank...
Zones: C++, Microsoft Visual C++Date Answered: 01/26/2000 Grade: C Views: 0
2-Small Questions Give code example please - like the expression to use for solution. 1) With the mod operator how do I check if a integer number is even. 2) How do I reverse the numbers in ...
Zones: JavaDate Answered: 07/05/2000 Grade: C Views: 0
Ok this is, I think, quite a simple error on my part, I just don't know what it is :) I have three variables: double Seconds int ElapsedTime LARGE_INTEGER PerformanceCount and a calc...
Zones: C++Date Answered: 09/22/2000 Grade: A Views: 0