Search:

Type: Posts; User: prog_tom

Page 1 of 13 1 2 3 4

Search: Search took 0.68 seconds.

  1. Replies
    5
    Views
    734

    Re: Object.Top and Object.Left in Win32?

    so those STATIC, EDIT, controls are just like Windows? Is that why they can be created like windows too?
  2. Replies
    5
    Views
    734

    Re: Object.Top and Object.Left in Win32?

    say umm, Static, EDIT, etc.
  3. Re: C++ - Pure WIN32 Self-Extract EXE Builder (Part - 8)

    I have a query about your choice of Dialog over pure coding...

    I am a novice, and I see that you "premade" your dialogs and then load them...

    Is it for the sake of simplicity and time saving?...
  4. Replies
    5
    Views
    734

    Object.Top and Object.Left in Win32?

    Hi,


    How do i determine and set the Top and Left (x,y) of an object? in Win32API?
  5. Replies
    1
    Views
    439

    Static control

    #include <windows.h>

    const char szTitle[] = "Hello";
    const char szClass[] = "HelloApp";

    LRESULT CALLBACK WndProc (HWND hwnd, UINT msg, WPARAM wParam,
    LPARAM lParam);

    INT WINAPI...
  6. Thread: Vs8.0 2005

    by prog_tom
    Replies
    3
    Views
    580

    Re: Vs8.0 2005

    how do i fix it...
  7. Thread: Vs8.0 2005

    by prog_tom
    Replies
    3
    Views
    580

    Vs8.0 2005

    Hi,

    I just got my VS 2005 in the mail today, and it is very nice. But a lot of bugs.


    I tried to compile this, which works fine in 6.0:



    #include <windows.h>
  8. Replies
    2
    Views
    454

    Something wrong with my UserCP

    Hi,

    My UserCP doesn't notify me of new thread replies...

    Always say no new thread replies...

    -
  9. Replies
    3
    Views
    472

    Setting Mouse Icon to NULL

    hi

    How do I make Mouse Icon to disappear?
  10. Replies
    1
    Views
    404

    Constantly Setting focus on Form

    Hi,

    I have a Form_MouseMove()

    and I want it to happen whenever I move the mouse... but sometimes

    when the mouse is over another object (Caption, Button),

    it executes Caption_MouseMove()...
  11. Replies
    1
    Views
    494

    Win32/MFC/Dialog?

    Hi,

    What are the advantages of using DialogBox() instead of CreateWindow() [Win32 API]?

    And what are the advantages of MFC??

    I just want to create simple application and perhaps a simple...
  12. Replies
    1
    Views
    387

    Flash control?

    How do i add a flash(*.swf) onto VB form??
  13. Replies
    7
    Views
    637

    int sum += Power(a,i)/Factorial(i); ...

    int sum += Power(a,i)/Factorial(i);

    float Power(float a, int i);
    int Factorial(int i);
  14. Replies
    9
    Views
    808

    :D wisdom man:wave:

    :D wisdom man:wave:
  15. Replies
    9
    Views
    808

    adds one before expression has been run? int i...

    adds one before expression has been run?

    int i = 0;

    i++;

    so result would be 2???

    and ++i would be 1 only?
  16. Replies
    13
    Views
    937

    A Sine table? Usually Sine tables have 0 -> 360...

    A Sine table? Usually Sine tables have 0 -> 360 deg. Since 250 and 123 are in 360deg, it would be included as well.
  17. Replies
    7
    Views
    637

    Error: Different type arguments given to /:...

    Error: Different type arguments given to /: <int>/<float>
  18. Thread: sqrt

    by prog_tom
    Replies
    30
    Views
    1,162

    i made that for just challenge, nothing...

    i made that for just challenge, nothing serious...

    But whoa...


    That code is ugly... someone explain what the hell are those 0x000 crap and <<<<>>>> things???!!!
  19. Replies
    7
    Views
    637

    Only long/long??

    How come I can't divide long/int in C???
  20. Thread: sqrt

    by prog_tom
    Replies
    30
    Views
    1,162

    suggestions?

    suggestions?
  21. Replies
    9
    Views
    808

    I still don't understand how i++ works...

    I still don't understand how i++ works...
  22. Thread: sqrt

    by prog_tom
    Replies
    30
    Views
    1,162

    static double PowerDec(double x, double a){...

    static double PowerDec(double x, double a){
    //Evaluates decimal powers from i+0.01 -> i+0.99
    double b = 0;//value of the root.
    int i = 0;
    //Check special cases
    if (a == 1)
    return...
  23. Replies
    1
    Views
    439

    Any root solver

    static double PowerDec(double x, double a){
    //Evaluates decimal powers from i+0.01 -> i+0.99
    double b = 0;//value of the root.
    int i = 0;
    //Check special cases
    if (a == 1)
    return...
  24. Replies
    9
    Views
    808

    And how do I tell the compiler I just wanna read...

    And how do I tell the compiler I just wanna read only first 2 digits of a variable. IE 0.55555 i just want it to read 0.55.
  25. Replies
    9
    Views
    808

    Public, Private, Static?

    Hello, I am new to Java, could someone tell me what is the difference of Public Private Static and when to use them?

    And what is the difference of i++, and ++i and i+=i? When do I use them?
  26. Replies
    13
    Views
    937

    Could you show me the best way to make a new line...

    Could you show me the best way to make a new line in Java? I am new, so anything from you will be greatly appreciated from me.
  27. Replies
    13
    Views
    937

    Wow, amazing. I like your sign = -sign; ...

    Wow, amazing. I like your


    sign = -sign;


    Everytime it runs the code it goes +- +-... amazing. Simple but amazing, I wish I had more insight, perhaps take me a while

    And i used \n to make...
  28. Thread: sqrt

    by prog_tom
    Replies
    30
    Views
    1,162

    Re: hehe

    Yes and it goes forever too :\ (10.000000000000001 instead of 10..., so the while loop is false all the time, loops forever.:(
  29. Thread: sqrt

    by prog_tom
    Replies
    30
    Views
    1,162

    could you post the code or share your insights...

    could you post the code or share your insights pls?
  30. Replies
    13
    Views
    937

    Could you teach me please? I am new to java. How...

    Could you teach me please? I am new to java. How do I make it more efficient?
  31. Thread: sqrt

    by prog_tom
    Replies
    30
    Views
    1,162

    sqrt

    My intention is do this:


    double b = 14.2;
    while ((a*a) != b) {
    a += 0.000000000000000000001;
    }


    but... when i ran, it just keeps on going for ever...
  32. Replies
    13
    Views
    937

    Updated

    /*+++++++++++++++++++++++++++++++++
    * Sin(x)
    * Tom Zhang
    *
    * Demonstrates power of math without
    * calling the java.lang package
    *++++++++++++++++++++++++++++++++*/

    public class...
  33. Replies
    13
    Views
    937

    Selfmade Sine function :p

    Like it? :)
  34. Thread: For loop

    by prog_tom
    Replies
    8
    Views
    740

    and say i have some variable x inside a for(){x...

    and say i have some variable x inside a for(){x += 1;} condition, how can I view that x outside the bracket?(i need x because is a sum of all stuff.)
  35. Thread: For loop

    by prog_tom
    Replies
    8
    Views
    740

    And is there anyway to make the For () statement...

    And is there anyway to make the For () statement increase 4 each time instead of 1??
  36. Thread: For loop

    by prog_tom
    Replies
    8
    Views
    740

    Why must I define it to be double? Because PI is...

    Why must I define it to be double? Because PI is infinitely digited? If I use 3.14 I can use float right? Since the range is enough and save space.

    And why must I initialize a default value?...
  37. Thread: For loop

    by prog_tom
    Replies
    8
    Views
    740

    For loop

    import java.math.*;
    class Stuff{
    public static void main(String[] args) {
    int var4;
    var4 *= (3.14/180); // convert from degrees to radians;
    double sin_var4;
    for (int j = 5; j <= 10; j++){...
  38. If expansion for tan2x is correct then expansion...

    If expansion for tan2x is correct then expansion for tan3x is correct as well, grasshoper.
  39. If you want, post your email so I can send you a...

    If you want, post your email so I can send you a picture of the 30+ line proof.
  40. Replies
    7
    Views
    1,447

    Re: Finding the area under the curve

    R = -2/3cos(3x)

    R = (2/3) - (-2/3) = 4/3 in [0,PI]
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width