Search:

Type: Posts; User: invinciblevn

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,042

    You can use while loop like this: ...

    You can use while loop like this:


    while(delta >threshold)
    {
    //update n
    //compute something
    //update delta

    }
  2. Replies
    39
    Views
    13,562

    For me Visual C++ 2005 express edition and gcc in...

    For me Visual C++ 2005 express edition and gcc in cygwin is quite good.
  3. It's better if you ask clear question to get a...

    It's better if you ask clear question to get a clear answer.
  4. Replies
    13
    Views
    1,488

    Your question related to memory leakage problem....

    Your question related to memory leakage problem.
    If you google "memory leakage management", you can find many thing useful.
    As I know WinTask is good tool to check memory leakage.
  5. You can put ASCII_CODE[i]=65;

    You can put ASCII_CODE[i]=65;
  6. Actually it's the same value in C. Let try:...

    Actually it's the same value in C.
    Let try: printf("%c",65);
    And printf("%d", 'A');
  7. Replies
    4
    Views
    1,368

    Maybe they declare this function in a .h file and...

    Maybe they declare this function in a .h file and #include<> in this file.
  8. Replies
    7
    Views
    5,487

    I think fgets() and fputs() is good for this case.

    I think fgets() and fputs() is good for this case.
  9. Replies
    12
    Views
    4,022

    You have to use interrupt 14 for interfacing. I...

    You have to use interrupt 14 for interfacing.
    I worked with this quite long time along, so that i can not remember detail. Sorry.
    If you can use Visual C++ or Visual Basic, it's quite easy.
    They...
  10. Replies
    12
    Views
    4,022

    As I remember, it is not easy to touch to low...

    As I remember, it is not easy to touch to low level of hardware in XP with pure C.
    It is protected.
    With pure C you should work on DOS or Win98, it's better.
    In XP, you can use VC++ which has a...
  11. From you code, I see some problem: + You open a...

    From you code, I see some problem:
    + You open a file but do not close this file.
    +
    Open a file when it's already opened.
  12. Replies
    11
    Views
    2,371

    Thank you very much, iMalc. I'm doing the image...

    Thank you very much, iMalc.
    I'm doing the image rotation. I use this for point distance computation.
    This computation is used many times in my program, so that is require a lot resource.
    I wonder...
  13. Replies
    22
    Views
    3,671

    What is the purpose of this work?

    What is the purpose of this work?
  14. Replies
    7
    Views
    3,361

    Post it clearer please. What type of device?...

    Post it clearer please.
    What type of device?
    Is this a converter from RS232 to USB (As I think from your description)?
  15. Replies
    11
    Views
    2,371

    I'm doing compute distant in an image which use...

    I'm doing compute distant in an image which use pixel as unit.
    sqrt() require a lot resource.
  16. Replies
    11
    Views
    2,371

    just now I use this function: c=(int)...

    just now I use this function:
    c=(int) sqrt(a*a+b*b);
  17. You simply open file "hello.txt" and use...

    You simply open file "hello.txt" and use fprintf() to write this string into it.
  18. Replies
    11
    Views
    2,371

    Pithagore-fast computation

    Dear all.
    I'm doing the computation rectangle's edge using Pithagore theory.
    All 3 rectangle's edge are integer.
    Is there any algorithm for fast computation that don't use sqrt() function?
    Thanks.
Results 1 to 18 of 18