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...
Type: Posts; User: solo9300
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...
Well, if you dont want to help just keep it to your self.
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.
well, how can i fix it ?
i get this when i try to run it
Segmentation fault
#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 =...
Well, this is just an example. thx for the help.
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,...
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...