Search:

Type: Posts; User: camel-man

Search: Search took 0.02 seconds.

  1. Replies
    12
    Views
    1,370

    //char arg[] = "This \ is / a \message for you";...

    //char arg[] = "This \ is / a \message for you"; //this works
    Are you are saying that this piece of code gives the error? If so it is because C does not allow you to assign strings. Although I...
  2. Replies
    12
    Views
    1,370

    Well one thing I noticed is that char *result is...

    Well one thing I noticed is that char *result is not pointing to any valid memory. You need to allocate some memory before you start trying to assign values to it.
Results 1 to 2 of 2