Search:

Type: Posts; User: PoisonMind

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    1,949

    sorry salem i dont see your post for malloc. I...

    sorry salem i dont see your post for malloc.

    I tried this



    char* pos(char* C,char* S) { // FIND C in S and returns a pointer for a char that contains the positions where C is in S
    int...
  2. Replies
    11
    Views
    1,949

    ????? this is an help???

    ????? this is an help???
  3. Replies
    11
    Views
    1,949

    NEW VERSION OF MY CODE. #include ...

    NEW VERSION OF MY CODE.


    #include<stdio.h>
    #define MAXL 256

    // funcoes pos e inv

    int mystrlen(char *string) { // My String Lenght - returns string lenght
    int len = 0;
  4. Replies
    1
    Views
    636

    WRONG OUTPUT, i need help today pls :)

    #include<stdio.h>
    #define MAXL 256

    // funcoes pos e inv

    int mystrlen(char *string) { // My String Lenght - returns string lenght
    int len = 0;
    while(*(string+len)!='\0') {
    ...
  5. Replies
    11
    Views
    1,949

    res = pos(compStr, r); i forgot to rewrite on my...

    res = pos(compStr, r); i forgot to rewrite on my code


    I'm doing that because pos function recives 2 char pointers char * C and char * S

    how can i turn this compatible?
  6. Replies
    11
    Views
    1,949

    I need help to this

    Here is my code




    #include<stdio.h>
    #define MAXL 256

    // funcoes pos e inv
  7. Only that? problem solved thank you

    Only that?

    problem solved thank you
  8. [-Wimplicit-function-declaration] - Help me pls

    Hi, this program reverse a string. i want to do this with pointers, but it has an erros that i dont know to solve


    #include <stdio.h>

    char* reverse(char *string) {
    int length, c;
    ...
  9. Thank You, you solved my problem ;)

    Thank You, you solved my problem ;)
  10. Replies
    3
    Views
    1,024

    Thank You you solved my problem

    Thank You you solved my problem
  11. Replies
    3
    Views
    1,024

    Segmentation Fault

    Hi, this program returns the average of all elements elements of array if the number of elements in array is power of 2

    this is my code


    #include <stdio.h>
    #include <stdlib.h>
    #include...
  12. Segmentation Fault -> Main not initializing

    This program is compiling just fine but is not running. Even, Main is not initializing,

    Here is my code


    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    int pow2(int n) {
Results 1 to 12 of 13