Search:

Type: Posts; User: h3now

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,811

    Hello everyone, I've tried this now: int...

    Hello everyone, I've tried this now:


    int main(){


    char *string1="<dt>TESTE</dt>";
    char *string2 = malloc(55*sizeof(int));
    int ini,fin;
    ini = searchString(string1,"<dt>");
  2. Replies
    6
    Views
    1,811

    That may sound a little noob but how do I put a...

    That may sound a little noob but how do I put a '\0' at the end of a string? I've tried strcat(string2,"\0") but the '\0' goes to the end of that long string that appears on the prompt.
  3. Replies
    6
    Views
    1,811

    Problem with strings >.

    Hey everyone, I'm kinda stuck in this: The purpose of the program is to crop a string between two given keywords. Example: if the keywords are "<dt>" and "</dt>" and the string is "<dt>TESTE</dt>"...
  4. Replies
    7
    Views
    1,171

    NVM, just did it, I was able to correctly compile...

    NVM, just did it, I was able to correctly compile my test code...


    You're completely right, and that's my approach to most problems. But since I need such a small task to be done (relatively...
  5. Replies
    7
    Views
    1,171

    Okay, I downloaded it, but I'm completely...

    Okay, I downloaded it, but I'm completely clueless from here on... how do I configure Code::Blocks so it can be able to compile my test program right? (I'm not sure if this question belongs to this...
  6. Replies
    7
    Views
    1,171

    C in the internet? (and more...)

    I studied C this year in college and I learned a fair amount of things, that go from basics (I/O, conditional structures...) to some more advanced topics (like graphs, neural networks...). Now I've...
Results 1 to 6 of 6