Search:

Type: Posts; User: akrlot

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    2,345

    thanks.here's an example: //module sup...

    thanks.here's an example:

    //module sup
    #include "module_inf.h"
    int var;
    //modify var
    void modif_var(void){
    var=0;
    //call of a function of module1 which reads var and do other instructions...
  2. Replies
    5
    Views
    2,345

    thx for reply but i haven't other choice i must...

    thx for reply but i haven't other choice i must use global variables.so which solution seems to work better?
  3. Replies
    5
    Views
    2,345

    modular c programming

    hi;
    i have a project with many modules. my questions are :
    -if functions of module_superior call functions of module_inferior can i access global variable of module_superior in module_inferior(the...
  4. Thread: malloc & free

    by akrlot
    Replies
    1
    Views
    1,483

    malloc & free

    hi;
    do i need to use free with each malloc?
    how could i free memory in this function:


    char *function(){
    char * p=malloc(10*sizeof(char));
    .......
    ....
    return p;
  5. Replies
    1
    Views
    7,773

    synchronous function

    hello;
    What is the difference between synchronous and asynchronous functions?
    How could i make an asynchronous function synchronous ?
  6. Replies
    2
    Views
    2,993

    need ftp client source

    hello;
    i need a simple ftp client implementation in C.i searched google but i found complicated code.thx
Results 1 to 6 of 6