Search:

Type: Posts; User: solo9300

Search: Search took 0.00 seconds.

  1. Howto control pipe() stdin in c programming?

    hello all,

    I am writing a program to control GIT. My problem is like this, I need to add a sign tag using git command and need my program to control the stdin to enter the.

    Here what i did so...
  2. Well, if you dont want to help just keep it to...

    Well, if you dont want to help just keep it to your self.
  3. its mean the all the functions going to return...

    its mean the all the functions going to return something but what there are going to return is deferent than the other . i try to keep it simple.
  4. well, how can i fix it ?

    well, how can i fix it ?
  5. i get this when i try to run it Segmentation...

    i get this when i try to run it


    Segmentation fault
  6. what is wrong with this code?

    #include <stdlib.h>
    #include <stdio.h>
    #include <string.h>
    char *FristFun(char *Parm){
    char ReturnStr=malloc(1*sizeof(char));
    //Do somthing unique in this function
    ReturnStr =...
  7. Well, this is just an example. thx for the help.

    Well, this is just an example. thx for the help.
  8. I am not sure if i get this right! so the best...

    I am not sure if i get this right! so the best way to solve this problem is :



    main() {
    char TempStr[80], *SrtPtr;
    SrtPtr = realloc(NULL, strlen(TempStr)+1);
    strcpy(TempStr,...
  9. Howto declare a string without knowing how big it would be?

    Hello All,

    if i want to declare a string but i don't know how big it would be, it could be 300 or 7000 or maybe more. if i declared it like  this

    char mychar [7000];
    and i store less...
Results 1 to 9 of 9