Search:

Type: Posts; User: DramaKing

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds; generated 6 minute(s) ago.

  1. thanks for the suggestion. sadly I haven't had...

    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??
  2. can someone teach me how to write a program softing math equations?

    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...
  3. Replies
    2
    Views
    1,119

    C question...

    '\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...
  4. Replies
    3
    Views
    1,003

    a simple C++ question...

    How can I make a sound "Ting" in C++? thx...
  5. Replies
    10
    Views
    3,695

    thx!! I found out a good code there... but I...

    thx!!

    I found out a good code there... but I don't understand....




    #include <stdio.h>
    #include <windows.h>
  6. Replies
    10
    Views
    3,695

    Sorry... I don't get your point... :( Where...

    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....
  7. Replies
    10
    Views
    3,695

    a simple C question...

    Can I have font color in C(e.g. blue, red, green, etc...)??
    If I can... how? thx......
  8. Replies
    15
    Views
    2,878

    Thx a lot!!! I worte something like this for...

    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);...
  9. Replies
    15
    Views
    2,878

    Can anyone help me? thx...

    Can anyone help me? thx...
  10. Replies
    5
    Views
    1,467

    I mean 20^77.... It shouldn't be number =...

    I mean 20^77....

    It shouldn't be number = (pow(20,77));??
  11. Replies
    15
    Views
    2,878

    What I did like that... void main() { ...

    What I did like that...


    void main()
    {
    long a;
    a = rollLeft (12345);

    cout << rollLeft (a);
  12. Replies
    15
    Views
    2,878

    Thx ygfperson!! :D:D it can left/right shift 1...

    Thx ygfperson!! :D:D

    it can left/right shift 1 digit... what about 2 digit?
    What can I do?? Thx!!
  13. Replies
    15
    Views
    2,878

    Oh! I got something! I know how it works in...

    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...
  14. Replies
    15
    Views
    2,878

    Oh... sorry... But I just can't understand it......

    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!!
  15. Replies
    15
    Views
    2,878

    Can anyone just tells me how to shift the...

    Can anyone just tells me how to shift the numbers??
    Thx a lot!!
  16. Replies
    15
    Views
    2,878

    Umm... How does it work? Can you tell me? thx!!

    Umm... How does it work?
    Can you tell me? thx!!
  17. Replies
    5
    Views
    1,467

    However... it doesn't work on me with long long...

    However... it doesn't work on me with long long int......
    anyway... thx!!
  18. Replies
    6
    Views
    2,135

    Sorry... would you mind telling me more... ...

    Sorry... would you mind telling me more...
    coz... I don't understand.... sorry.....
  19. Replies
    6
    Views
    2,135

    I know... but the result is too big to...

    I know... but the result is too big to calculate.....
  20. Replies
    3
    Views
    1,068

    thx a lot!!! :D

    thx a lot!!! :D
  21. Replies
    5
    Views
    1,467

    Mod question...

    How can I calculate it in C?

    20X(77^2) mod 119

    It's too big... even can't use pow/%/mod.....

    thx!!
  22. Replies
    3
    Views
    1,068

    Sorry...

    Sorry... I posted wrongly... it should be in C Programming section...
    Pls del it..... sorry.....
  23. Replies
    6
    Views
    2,135

    Power function question...

    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......
  24. Replies
    3
    Views
    1,068

    Mod question...

    How can I calculate it in C?

    20X(77^2) mod 119

    It's too big... even can't use pow/%/mod.....

    thx!!
  25. How to return the ASCII code value of a character in C?

    How to return the ASCII code value of a character in C?

    thx..!
Results 1 to 25 of 101
Page 1 of 5 1 2 3 4