thanks for the suggestion. sadly I haven't had any class and experience on data structure. Is there any other simpler approach that avoid the use of using binery tree??
Type: Posts; User: DramaKing
thanks for the suggestion. sadly I haven't had any class and experience on data structure. Is there any other simpler approach that avoid the use of using binery tree??
I'm writing a program that can soft mathematical equations. The euquations are user specified including +, -, ^, *, /, operations. The program are required to scan the equation from the user and soft...
'\0' is a spacebar in C
After i input a string, e.g abc de
How cam i know the end of an array ??
thx...
How can I make a sound "Ting" in C++? thx...
thx!!
I found out a good code there... but I don't understand....
#include <stdio.h>
#include <windows.h>
Sorry... I don't get your point... :(
Where are those functions from?
textbackground(); clrscr(); textcolor();
I don't understand... would you mind explaining them again.... sorry.... thx....
Can I have font color in C(e.g. blue, red, green, etc...)??
If I can... how? thx......
Thx a lot!!!
I worte something like this for right shift...
int shift_right(int num)
{
int i = log10(num)+1; //Get number of digits
int c = num/10; //Get far right digit
int d = num-(c*10);...
Can anyone help me? thx...
I mean 20^77....
It shouldn't be number = (pow(20,77));??
What I did like that...
void main()
{
long a;
a = rollLeft (12345);
cout << rollLeft (a);
Thx ygfperson!! :D:D
it can left/right shift 1 digit... what about 2 digit?
What can I do?? Thx!!
Oh! I got something!
I know how it works in some ways...
but.... the following code I can't understand....
int digits (int num); // Why it has to declare in main?
int i;
long...
Oh... sorry... But I just can't understand it... and I don't know how it works.....
I wanna learn and understand how it works...
sorry... and thx!!
Can anyone just tells me how to shift the numbers??
Thx a lot!!
Umm... How does it work?
Can you tell me? thx!!
However... it doesn't work on me with long long int......
anyway... thx!!
Sorry... would you mind telling me more...
coz... I don't understand.... sorry.....
I know... but the result is too big to calculate.....
thx a lot!!! :D
How can I calculate it in C?
20X(77^2) mod 119
It's too big... even can't use pow/%/mod.....
thx!!
Sorry... I posted wrongly... it should be in C Programming section...
Pls del it..... sorry.....
long double a1, a2, a3;
a1 = 20;
a2 = 77;
a3 = pow(20, 77)
It couoldn't calculate the a3 out...
So, what can I do?? should I use powl?
or using others?
thx a lot......
How can I calculate it in C?
20X(77^2) mod 119
It's too big... even can't use pow/%/mod.....
thx!!
How to return the ASCII code value of a character in C?
thx..!