Search:

Type: Posts; User: rosicky2005

Search: Search took 0.01 seconds.

  1. Visual Studio C++ MFC Smart Device problem.

    I know that for a button, I can set its visiability by Property -> Behaviour -> Visible -> True/False.

    However, how can I configurate this behaviour in my coding?


    Also, how can I write...
  2. How to install in C++ program permannently in PDA

    As title, how can I install a C++ program into PDA permenantly?

    Not just click "F5" to sync the program only.


    And my OS is window XP, C++ developed is in Visual Studio 2005.
  3. Replies
    6
    Views
    4,040

    The PDA is hp and OS is window XP.

    The PDA is hp and OS is window XP.
  4. Replies
    6
    Views
    4,040

    How to run C++ program in PDA

    As title.

    Should I install any C++ complier in PDA?
  5. Replies
    11
    Views
    5,685

    Visual Studio C++ is used in my program. The OS...

    Visual Studio C++ is used in my program. The OS is window XP.
  6. Replies
    11
    Views
    5,685

    I am timing code of short runtime, for example ...

    I am timing code of short runtime, for example




    for(i = 0 to 10)

    data[i] = i;
  7. Replies
    11
    Views
    5,685

    I found a timer in the following post....

    I found a timer in the following post.
    http://cboard.cprogramming.com/showthread.php?s=&threadid=32885&highlight=rdtsc

    However, I cannot use the function RDTSC, even if I copied the following:
    ...
  8. Replies
    11
    Views
    5,685

    Performance Timing Function

    I am trying to time my code performance.

    I used clock() to time. However, it does not product precise timing. So, are there any function that I can use to get precise timing on code performance?
  9. But how to copy byte for byte?

    But how to copy byte for byte?
  10. Here is my piece of code to do brightness...

    Here is my piece of code to do brightness processing with raw file :



    #include <iostream>
    #include <fstream>
    using namespace std;

    int main () {
    int length;
  11. The file is a raw image file, which the colour...

    The file is a raw image file, which the colour data is represented as RGBRGB.....without any header and dimension specified. My task is to read the data and use the data to do some image processing....
  12. Problem of read file in C++(hexagonal resp)

    I have some problem reading data from a file

    The format of the file is a series of number with hexagonal representation :

    e.g. 1A6F3D...............

    In theory, the method should be like...
  13. Replies
    7
    Views
    11,318

    thanks for your help!!

    thanks for your help!!
  14. Replies
    7
    Views
    11,318

    I am doing a project on image processing using...

    I am doing a project on image processing using Graphic Processor.

    So, I am trying to find some code to deal with bmp, jpeg files but failed.

    Then I post a question here~~^^
  15. Replies
    7
    Views
    11,318

    But I tried hard to find source code on google,...

    But I tried hard to find source code on google, and get no suitable result. Are there any source for image processing available?
  16. Replies
    7
    Views
    11,318

    Input & output image file in C++

    I would like to ask, whether there is some standard library or source code, which is specialized for handling image file?

    If yes, can anyone please tell me?
  17. Replies
    3
    Views
    4,114

    I used the following code to read a raw file: ...

    I used the following code to read a raw file:




    const int size = 1080*1080;
    int r;

    unsigned char* A;
    A = (unsigned char*)malloc(size*sizeof(char));
  18. Replies
    3
    Views
    4,114

    Problem of read file in C++

    I have .raw files which is generated by Photoshop.

    And I now want to read the values in .raw files to my C++ program and then
    do some calculation on it.

    Then I would like to ask two things....
  19. Replies
    5
    Views
    1,385

    Anyway, does anyone know how to translate this...

    Anyway, does anyone know how to translate this piece of persudo code into real code that can run in C++.

    Thx
  20. Replies
    5
    Views
    1,385

    You are right. This is really a part of matrix...

    You are right. This is really a part of matrix calculation.

    Then can I read the code as follows:



    for k = 1 to N - 1

    A(k+1, k+1) = A(k+1, k+1) - A(k+1, k)*A(k, k+1)
  21. Replies
    5
    Views
    1,385

    Problem reading persudo code

    Here is a part of the persudo code I read:



    for k = 1 to N - 1

    A(k+1:N, k+1:N) = A(k+1:N, k+1:N) - A(k+1:N, k)*A(k, k+1:N)

    endfor
  22. Replies
    9
    Views
    1,213

    So, it is swap of 1 and 0 if I run several...

    So, it is swap of 1 and 0 if I run several times!!
    Right??
  23. Replies
    9
    Views
    1,213

    But the code current01 = !current01 run for...

    But the code
    current01 = !current01

    run for several times. And current01 = 1 initially.

    If !current01 is undetermined value, then is that a swap between 1 and the undetermined will happen?
  24. Replies
    9
    Views
    1,213

    Two problems on programming

    First, I found some coding like this:


    int current01;
    current01 = !current01


    what does !current01 mean? What will the value of !current01 be?
  25. Replies
    1
    Views
    1,153

    float declaration problem

    In a sample program, I found some strange declaration in it.



    float deltaY = 1.0f;
    float halfDeltaY = .5f;


    what do they mean? Simply deltaY = 1.0 and halfDeltaY = 0.5?
Results 1 to 25 of 25