No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
javax.mail doesn't exit in jdk, right? how can i solve the problem? |
|
how to use AWT to write button tip? i don't want to use Swing. Please help me!:) |
|
the java teacher wants us to write a program project. he says we can do whatever we wanna do as long as it is not too easy and must be interesting. do u think it's hard to write a game program using java in graphic user interface (GUI)? By the … |
|
here's the description: ============================================= You are asked to develop a C++ program that reads a text ¯le given by the user (e.g. test.txt), and output the frequency of the prepositions contained in the text ¯le on the screen. Your program shall provide a simple interface for the user to input … |
|
[code] class HugeInteger { public: HugeInteger(); void input(); int setNumber(char []); void output(); void convertToInteger(); void subtract(); private: char a[41]; char b[41]; int *array1; int *array2; int result[41]; }; #include<iostream> #include<cstring> #include<cstdlib> using namespace std; #include "HugeInteger.h" HugeInteger::HugeInteger() { input(); } void HugeInteger::input() { cout<<"Enter the 1st Integer: "; cin.getline(a,70,'\n'); … |
|
[HTML]Is there a way(function) to distingusih between different data types?[/HTML] If u can, provide me with the function code, please?:) |
|
[CODE]#ifndef HUGEINTEGER_H #define HUGEINTEGER_H class HugeInteger { public: HugeInteger(); void input(); int setNumber(char []); void output(); void convertToInteger(); void subtract(); bool isEqualTo(); bool isNotEqualTo(); bool isGreaterThan(); bool isLessThan(); bool isGreaterThanOrEqualTo(); bool isLessThanOrEqualTo(); bool isZero(); ~HugeInteger(); private: char a[41]; char b[41]; int *array1; int *array2; int result[41]; }; #endif [/CODE] [CODE]#include<iostream> … |
|
can anyone provide me with the subtraction bwtween two huge integers?:'( I totally don't have any idea of solving the problem>>. Please... |
|
I have been wondering the definition... I mean, [B]Are both 00123 and 12345 five-digit numbers?[/B] |
|
if you type "123e1" in the command line, the system may read "123" and save the value. but how can we tell the computer that it's an wrong input?:-| |