Even if have the following gcc args
gcc -std=c89 -W -Wall -ansi -pedantic -O2 prog.c
For the get_Copy function all warnings disappear.
Type: Posts; User: FireHead
Even if have the following gcc args
gcc -std=c89 -W -Wall -ansi -pedantic -O2 prog.c
For the get_Copy function all warnings disappear.
Hello,
I tried a small program example;
int main(int argc,char *argv[]){
char *source="Hello";
for(int ptr = 0;source[ptr]!='\0';ptr){
printf("%c @ %p\n",source[ptr],&source[ptr]);...
Hello All,
To quazah:
I think had explained what the get_Copy does and I think gave pseudocode of what the function is supposed to do.
However:
I the pseudocode did not make then I will...
<<<< Working CODE >>>>
/*
Will BE MULTITHREADED
open a original file (source file)
Look for the existing custom folder in the HOME directory
If the HOME directory does not exist
Then see if...
How would you create a function which a string object which the contents of malloc object?
To answer this question i used function called get_Copy().
To quzah:
How would you rewrite this...
Hello WORLD
Latest Code:
/*
Will BE MULTITHREADED
open a original file (source file)
Look for the existing custom folder in the HOME directory
If the HOME directory does not exist
Current Code:
/*
Will BE MULTITHREADED
open a original file (source file)
Look for the existing custom folder in the HOME directory
If the HOME directory does not exist
Then see if the...
Hello World,
The scenario
I have function called int ReturnObject(char *source,char* dest);
The objective of this function is to return a dest object by passing source object.
Example:
Hello World...
I have file which contains:
2005-12-30|23:59:58|FIRST NAME|LAST NAME
2005-12-30|23:59:59|FIRST NAME|LAST NAME
2005-12-30|24:00:01|FIRST NAME|LAST NAME