Search:

Type: Posts; User: FireHead

Search: Search took 0.01 seconds.

  1. Replies
    25
    Views
    2,854

    continued....

    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.
  2. Replies
    25
    Views
    2,854

    The compiler never lies....

    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]);...
  3. Replies
    25
    Views
    2,854

    Continued......

    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...
  4. Replies
    25
    Views
    2,854

    Problem Solved Stage 1

    <<<< 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...
  5. Replies
    25
    Views
    2,854

    How would you create a function which a string...

    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...
  6. Replies
    25
    Views
    2,854

    Made new milestones....

    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
  7. Replies
    25
    Views
    2,854

    Continued...

    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...
  8. Replies
    25
    Views
    2,854

    Malloc and Automatic variable deallocation

    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:
  9. Replies
    2
    Views
    1,519

    Doing the impossible!!

    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
Results 1 to 9 of 9