Search:

Type: Posts; User: darkwalk

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,198

    ah. Is it like catching Ctrl+C? I've done that...

    ah. Is it like catching Ctrl+C? I've done that before.
  2. Replies
    2
    Views
    2,198

    Giving instruction to an executing C code

    I've tried to think of a solution, but I can't do it without some help. Lets say I have a c code that is executing and splitting out data using printf() statements constantly. Is there a way I can...
  3. Replies
    2
    Views
    3,888

    Thanks! I think the second option is the best...

    Thanks! I think the second option is the best way. Its just so much easier to use matlab to plot, so I'm goign to avoid the third suggestion.
  4. Replies
    2
    Views
    3,888

    C/C++ and Matlab?

    Hi everyone. I have always wanted to execute a C/C++ code for use in simulation and outputting the data in a file. Then, afterwards execute an M-file in matlab to plot the said data. I was...
  5. Replies
    3
    Views
    1,346

    "There are no references in C" Ahh, I see. I...

    "There are no references in C" Ahh, I see. I used a pointer and it worked fine. Thanks!
  6. Replies
    3
    Views
    1,346

    Oh yea, the error it gives me is: error:...

    Oh yea, the error it gives me is:

    error: syntax error before '&' token
  7. Replies
    3
    Views
    1,346

    simple C question

    I don't code in C very much, so I have a simple question for you all gurus out there. Whats wrong with the following code? I can do it in C++ by passing a class instead of struct...


    typedef...
  8. Thanx quzah!

    Thanx quzah!
  9. woot! it works. Here's what I have: ...

    woot! it works. Here's what I have:


    #include <stdio.h>
    #include <signal.h>

    void do_this_last( int );
    int stop;

    int main(){
  10. itsme86: Its not a question of when the data...

    itsme86: Its not a question of when the data stream ends. I don't know until I'm in the middle of running the hardware.
  11. esbo: No, I'm not doing a thesis in CS. :-) ...

    esbo: No, I'm not doing a thesis in CS. :-) I'd be in big trouble!

    I can trap ctrl+c? sweet. Thats all I would need. I did some googling, and this is what I came up with:
    ...
  12. First of all, thanks for all the replies. ...

    First of all, thanks for all the replies. They're great help!

    bubba: The client/server do not have complex acknowledge, ready, send, recieve signals unfortunately. The client just sends data...
  13. quzah, thanks for the reply. I think I didn't...

    quzah, thanks for the reply. I think I didn't explain the situation correctly. Your code is basically what I'm doing, except that the for loop is a while(1) loop. It goes on forever, because I...
  14. stop an executing C program and finish executing additonal line of code

    Hi all: This is for a program I wrote for my master's thesis. The program executes an infinite while loop and at each pass, it acquires data from an aquisition board. Because I don't know how long...
Results 1 to 14 of 14