Search:

Type: Posts; User: Salem

Search: Search took 0.33 seconds.

  1. Replies
    18
    Views
    3,064

    > in the first case only a will be a pointer and...

    > in the first case only a will be a pointer and in the second case both c and d will be a pointer.that's what it means.
    Like I said, easier to figure out.
    By the way, you're wrong.

    a and c a...
  2. Replies
    18
    Views
    3,064

    > and i would like to know one more thing.is...

    > and i would like to know one more thing.is there any difference between char* a and char *a?
    Semantically, no.

    But from a style point of view,


    char *a, b;
    char* c, d;

    you have a...
  3. Replies
    18
    Views
    3,064

    So is strcpy() a blessed function that knows...

    So is strcpy() a blessed function that knows about the weird architecture, and can presumably cope with copying a string declared as a constant in one address space to a variable in another address...
  4. Replies
    18
    Views
    3,064

    > It explained that "CCS doesn't permit pointers...

    > It explained that "CCS doesn't permit pointers to constant strings. You have to copy the string to a ram buffer first."
    WTF PoS compiler is this!?
    The compiler is very close to being 100% ANSI...
  5. Replies
    18
    Views
    3,064

    What is in pic.h (post the contents) ? If...

    What is in pic.h (post the contents) ?

    If there is some incomplete declaration at the end of that file (I assume it's yours, because you use "" to include it, and not <>), then that will spill...
  6. Replies
    18
    Views
    3,064

    I've no idea. Apart from all the PIC stuff, the...

    I've no idea.
    Apart from all the PIC stuff, the code itself looks valid enough, and I can compile that part of it without any trouble.
  7. Replies
    18
    Views
    3,064

    Try posting your error messages. From the look...

    Try posting your error messages.

    From the look of things (assuming your undeclared gsm variable is a FILE*), that your printf calls should be fprintf

    Also, main returns int, not void
Results 1 to 7 of 7