Search:

Type: Posts; User: Lego_TeCh

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    7
    Views
    4,339

    Well rs232 is made by FTDI chip but overall yes I...

    Well rs232 is made by FTDI chip but overall yes I want to know how do I read from the USB drive itself into your c program.

    How do I do this?

    Thanks
  2. Replies
    7
    Views
    4,339

    Sorry for being vague... The base station...

    Sorry for being vague...

    The base station device is for programming the motes(sensor devices), base station has rs232 serial port. I want to capture the data of the network infrastructure in real...
  3. Replies
    7
    Views
    4,339

    Thanks for the input Jim. But how do I...

    Thanks for the input Jim.

    But how do I implement the code? For example the program I am trying to monitor is written in nesC so do I put the file in the same directory or do I integrate it in...
  4. Replies
    7
    Views
    4,339

    Best Approach for data capture (rs232)

    Hi,

    I am wondering if anybody can point me into the right direction as I am very new to linux operating systems....

    Im working on crossbow mica2 hardware (wireless sensor networks) using TinyOS...
  5. Replies
    6
    Views
    1,371

    Thanks roaan understood.

    Thanks roaan understood.
  6. Replies
    6
    Views
    1,371

    To select M or F.

    To select M or F.
  7. Replies
    6
    Views
    1,371

    Record data types....Structures

    I need to organise an address book. I have tried to implement age(in whole years) and date of birth DD/MM/YYYY (d.o.b.), refering to my code below is that the best way to create my program.

    ...
  8. Replies
    3
    Views
    9,745

    Thanks guys....problem solved :)

    Thanks guys....problem solved :)
  9. Replies
    3
    Views
    9,745

    While loop with array

    Assuming that arr is an array containing 100 elements I need to write the equivalent while loop that corresponds to the following for loop.


    for ( i=0, s=0.0;i<100;s=s+arr[ i ], i++) ;

    Here...
  10. Replies
    20
    Views
    2,419

    As function parameters? None whatsoever. As...

    As function parameters? None whatsoever.
    As variable declarations? The first is valid C, the second is not.

    char ** → pointer to character pointer and char *argv [] means array of character...
  11. Replies
    20
    Views
    2,419

    int main(int argc, char *argv[])

    int main(int argc, char *argv[])
  12. Replies
    20
    Views
    2,419

    Why the arrogance! eewww

    Why the arrogance! eewww
  13. Replies
    20
    Views
    2,419

    Seems like nobody knows.

    Seems like nobody knows.
  14. Replies
    20
    Views
    2,419

    is it the void function or #include ?

    is it the void function or #include <unistd.h>?
  15. Replies
    20
    Views
    2,419

    Is it the parameter of argv to contain the...

    Is it the parameter of argv to contain the strings which is [i]?


    #include <stdio.h>

    int main( int argc, int argv[ i ]){

    int i;
    int a;
  16. Replies
    20
    Views
    2,419

    I would appreciate it if you would just tell me,...

    I would appreciate it if you would just tell me, whats missing?
  17. Replies
    20
    Views
    2,419

    find at least 4 errors

    I need help to find at least 4 errors in the following program;



    #include <stdio.h>

    int main( int argc, int argv[])
    {
    int i;
    int a;
  18. Replies
    12
    Views
    1,130

    I just have gaps of knowledge of the language...

    I just have gaps of knowledge of the language hence, reviewing the material :rolleyes:
  19. Replies
    12
    Views
    1,130

    Preparing for college this Fall

    Preparing for college this Fall
  20. Replies
    12
    Views
    1,130

    Hey Guys, Just compiled the code below, I`v...

    Hey Guys,

    Just compiled the code below, I`v debugged some of the errors....but i`m still receiving these errors;


    value.c
    value.c(5) : error C2449: found '{' at file scope (missing function...
  21. Replies
    12
    Views
    1,130

    yeah you guys are right i`m currently downloading...

    yeah you guys are right i`m currently downloading c - compiler.....so keep your hair on! lol
  22. Replies
    4
    Views
    1,860

    Understood thanks alot:)

    Understood thanks alot:)
  23. Replies
    12
    Views
    1,130

    Value of the variable

    Hey Guys,

    Just wondering....what is the value of the variables a and b after executing each line of the following code in C?




    int a, b;
    int *pa, *pb;
  24. Thread: Pointers

    by Lego_TeCh
    Replies
    3
    Views
    1,028

    Pointers

    If I let p be a pointer attached to the first element of an integer array. Could someone explain the difference between the C operators (*p)++ and *(p++)?

    cheers :cool:
  25. Replies
    4
    Views
    1,860

    Okay, but does p=arr+3 simpley saying 1 + 3=4,...

    Okay,

    but does p=arr+3 simpley saying 1 + 3=4, 4th element which is 11? (i kno its obvious)


    last line of code [code]printf("%d\n", *(p+1));[\code] will still point to at 11? because *(p+1)...
Results 1 to 25 of 26
Page 1 of 2 1 2