Search:

Type: Posts; User: Tombear

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    4,295

    PIC16F876 's USART

    i am doing project use a PIC16F876 to control motor.
    Compiler is Mplap.

    this program should print a > prompt character when first started and whenever it is ready to accept a new command.
    ...
  2. Thread: embeded system

    by Tombear
    Replies
    4
    Views
    1,959

    thanks

    yes, thanks, that is ok now.
  3. Replies
    1
    Views
    3,521

    "carriage-return/line-feed"

    I am really no idea for following things. there is anybody who can give me an example.

    "Your program should print a > prompt character when first started and whenever it is ready to accept a new...
  4. Thread: embeded system

    by Tombear
    Replies
    4
    Views
    1,959

    Thanks Shiro, I am not sure whether u used...

    Thanks Shiro,

    I am not sure whether u used Matlap that is a compiler.

    I wrote this program ,'cause i want to test whether the microcontroller can response with the host computer.

    the problem...
  5. Thread: embeded system

    by Tombear
    Replies
    4
    Views
    1,959

    embeded system

    Hello, every one,

    I am doing an embeded system recently. I used Microchip PIC16F876 as microcontroller. Compiler is MPLAB. I used two RS-232s. one is the actual debugger and it connects to the...
  6. Replies
    1
    Views
    1,455

    double matrix and data structure?

    a program that stores and processes sparse matrices of floating point numbers. The matrices are of a fixed xize(1,000x1,000 elements), but only a small percentage of the elements have non-zero...
  7. Thread: static ?

    by Tombear
    Replies
    4
    Views
    1,382

    "struct" should reserve memory?

    So I think if i define a structure.

    struct consumer{

    char *name[30];
    char *address[60];

    ....
    } z;
  8. Replies
    3
    Views
    1,629

    Salem, Thanks lot. Does that mean all ...

    Salem,

    Thanks lot.

    Does that mean all preprecosser are reserved by memory?
  9. Thread: static ?

    by Tombear
    Replies
    4
    Views
    1,382

    static ?

    How to explain precisely "static double sum;"? Does it reserve memory?
  10. Replies
    3
    Views
    1,629

    What does "reserve memory" mean?

    There is question here:

    Explain precisely what the following single lines mean to a C compiler when they appear in a C source file(.c file) outside of any function implementation.

    MAKE CERTAIN...
  11. Replies
    3
    Views
    2,170

    Hello jackie, Could you pls put your code...

    Hello jackie,

    Could you pls put your code here? let me check it.
    b/c i think it should work well.


    Tom
  12. Replies
    2
    Views
    2,051

    command-line parameters.

    Write a program, invoked with command-line parameters, which reads a file (whose path is specified as the last of 3 command-line parameters), searches for each occurrence of the string given as the...
  13. Thread: function

    by Tombear
    Replies
    3
    Views
    1,065

    function

    There is a function again. I have no idea to do that.

    Write a function which copies a string into a new string(allocation new memory in the process)such that any lower case characters are...
  14. Thread: Qsort

    by Tombear
    Replies
    1
    Views
    2,496

    Qsort

    There is a question here.

    Write a function which, given an array of structures specified by:

    struct item
    {
    int ref_num,minutes,cost_per_min;
    float total_weight;
    };
  15. Thread: Big O

    by Tombear
    Replies
    1
    Views
    1,326

    Big O

    everybody knows that the quick sort's average case is nlogn.There is anybody tell me how to get nlogn?
  16. Thread: C function

    by Tombear
    Replies
    6
    Views
    1,405

    C function

    I wrote a c function. But not sure whether it is right. To be honest, I am newcomer for any programming.

    Q: Write a C function with the prototype

    int str_count(const char *source, const char...
  17. Thread: C programming

    by Tombear
    Replies
    1
    Views
    1,066

    C programming

    There is anybody who can help me explain the triple pointer(***ptr etc)? what is its purpose? how to use it?

    Thanks!!!:confused:
Results 1 to 17 of 17