Search:

Type: Posts; User: St0rM-MaN

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,428

    use getchar after each scanf to get ride of the...

    use getchar after each scanf to get ride of the \r , thats why *i think you program crashes
    cause it stores inappropriate values
  2. Replies
    2
    Views
    12,756

    oooh , sorry i didn't noticed "Questions...

    oooh , sorry i didn't noticed
    "Questions specific to linux programming"

    any way i didn't mean any thing with it , just sharing nothing more nothing less
  3. Replies
    2
    Views
    12,756

    process programming

    Hi all this is the first lesson in Linux programming :
    it might be BAD or not but this is what i got for now;
    author : St0rM-MaN
    license : Rippers License / GPL
    site :...
  4. Replies
    13
    Views
    2,728

    i didn't get a word of that ? what are you...

    i didn't get a word of that ?

    what are you trying to do ?

    and heap is a part of memory to store dynamically allocated memory i don't think you can implement it using a "fixed size array"
  5. Thread: headrs

    by St0rM-MaN
    Replies
    2
    Views
    1,189

    that's what i got from the scope except the...

    that's what i got from the scope
    except the variable declared out side any function or prefixed with external in that case when you use it you have to define it
    thanks mac
    and my topic title...
  6. Thread: headrs

    by St0rM-MaN
    Replies
    2
    Views
    1,189

    headrs

    hi all :)


    #ifndef _HEADER_FILE_H
    #define _HEADER_FILE_H
    extern int x;
    #endif
  7. Replies
    10
    Views
    2,639

    also input=NULL; assignment makes integer from...

    also
    input=NULL;
    assignment makes integer from pointer without a cast
    you cannot assign NULL to ordinary char like that
  8. Replies
    10
    Views
    2,639

    use getchar();...

    use getchar();
    http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1052863818&id=1043284351
    http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1044873249&id=1043284392
    read the FAQ
  9. Replies
    11
    Views
    1,446

    thanks but i am not that level :) i am trying...

    thanks but i am not that level :)

    i am trying
    thanks
    thanks dwks
  10. Replies
    11
    Views
    1,446

    #include #include...

    #include<stdio.h>
    #include<string.h>
    #include<stdlib.h>

    struct info
    {
    char name[50];
    char age[50];

    struct info *next;
  11. Replies
    11
    Views
    1,446

    but when i do this i will loss the linked list ...

    but when i do this i will loss the linked list


    i can't get that
    if i set input->next to null
    each time i call malloc to allocate space for input that will give me a new link right
    then i end...
  12. Replies
    11
    Views
    1,446

    dwks i will try what you said thanks

    dwks
    i will try what you said
    thanks
  13. Replies
    11
    Views
    1,446

    right so what about printing the linked list ?...

    right
    so what about printing the linked list ?
    thanks :)
  14. Replies
    11
    Views
    1,446

    linked list again

    hi all

    #include<stdio.h>
    #include<string.h>
    #include<stdlib.h>

    #define ADD "add"
    #define PRINT "print"
    #define STOP "STOP"
  15. Replies
    13
    Views
    1,702

    i guess i finally under stand it current is a...

    i guess i finally under stand it
    current is a pointer from type struct *info
    we allocate space for this pointer to hold the data in the struct
    then we
    current->next=current witch points to the...
  16. Replies
    13
    Views
    1,702

    daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaamn...

    daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaamn
    it finally works


    #include<stdio.h>
    #include<string.h>
    #include<stdlib.h>

    struct info
    {
  17. Replies
    13
    Views
    1,702

    i will try it now thanks for your help

    i will try it now
    thanks for your help
  18. Replies
    13
    Views
    1,702

    how about this one #include...

    how about this one


    #include<stdio.h>
    #include<string.h>
    #include<stdlib.h>

    struct info
    {
    int x;
  19. Replies
    13
    Views
    1,702

    nothing i wish i can smoke

    nothing i wish i can smoke
  20. Replies
    13
    Views
    1,702

    you mean for example [code] new=...

    you mean for example
    [code]
    new= malloc(sizeof(struct info));
    new->next=new;
    head=new
    [code]
  21. Replies
    13
    Views
    1,702

    :( :( new is pointing to the allocated space ...

    :(
    :(
    new is pointing to the allocated space
    i can't understand it
  22. Replies
    13
    Views
    1,702

    linked list and damn on linked list

    hi all
    i really hate this damn thing


    #include<stdio.h>
    #include<stdlib.h>
    #include<string.h>

    struct info
    {
  23. Thread: debugging

    by St0rM-MaN
    Replies
    13
    Views
    2,147

    thanks for your help

    thanks for your help <:-)
  24. Thread: debugging

    by St0rM-MaN
    Replies
    13
    Views
    2,147

    thanks for that time

    thanks for that
    time <command>
  25. Thread: debugging

    by St0rM-MaN
    Replies
    13
    Views
    2,147

    debugging

    hi all
    i am looking for a program that i can use to calculate another program's execution time
    i mean that (A) program can help me to find out how long did program (B) take to finish his job
    i am...
Results 1 to 25 of 127
Page 1 of 6 1 2 3 4