Search:

Type: Posts; User: ardavirus

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Put words in your code mate Go to the first...

    Put words in your code mate


    Go to the first column of the first row. Check if the element there exist.
    Print that element.
    Go to the second column of the second row. Check if that element...
  2. exus69, Try to write with words how would you...

    exus69, Try to write with words how would you print array's elements in the order you want. Something like....


    Go to the first row (i = 0) , check if that row exists (i < max rows).
    Go to...
  3. In fact, if it was clear to me, I wouldn't ask,...

    In fact, if it was clear to me, I wouldn't ask, but as you can see after I read what Salem provided me, I was able to answer it alone.



    With no offensive tone intended, did you bother to read...
  4. Replies
    5
    Views
    1,475

    printf("%.1lf,", score[5]);

    printf("%.1lf,", score[5]);
  5. After some reading I was able to clear a few of...

    After some reading I was able to clear a few of my issues with inline functions:

    Yes it has external linkage, cause inline functions are like any other function as linkage is considered.

    The...
  6. Cheers Salem, going to study this right away.

    Cheers Salem, going to study this right away.
  7. How to define/declare inline functions (C99 Rules)

    Hello again. I have read about inline functions but the concept about how to define and declare them in multiple files is still a little foggy, so I need your help to confirm, what I think, I have...
  8. Replies
    4
    Views
    1,076

    Thank you whiteflags, you point out, the same...

    Thank you whiteflags, you point out, the same error anduril suggested and in fact after I changed to malloc(word_len + 1) the crashing is not occuring anymore. But my confusion remains. I mean my...
  9. Replies
    4
    Views
    1,076

    Thank you anduril About the pointer arithmetic...

    Thank you anduril

    About the pointer arithmetic usage, I am writing this way, just to start feeling comfortable with pointer arithmetic, sorry if the code was a bit cloudy.

    Now about my error, I...
  10. Replies
    4
    Views
    1,076

    Smells like undefined spirit

    Hello again, I struggled for a few hours with this one but I can't seem to find what I am looking for, so thank you in advance for any help. I am trying to do the following exercise:

    Write a...
  11. Replies
    11
    Views
    1,338

    When float variable is FLT_MAX print +INF.

    When float variable is FLT_MAX print +INF.
  12. Replies
    12
    Views
    1,088

    Thank you iMalc and Tater. Now that I know...

    Thank you iMalc and Tater.

    Now that I know that the compiler will generate the same code, I will take Tater's advice and I will use the if(pointer == NULL) form, reserving the "short" one for the...
  13. Replies
    12
    Views
    1,088

    Thank you for the clarification anduril. I...

    Thank you for the clarification anduril.

    I had no idea I was stepping in religious war grounds. I know that many of my questions seem stupid and unimportant, but since I am in the early stages of...
  14. Replies
    12
    Views
    1,088

    Logical NOT vs. Comparison Operations

    Hello again. I am back with a new (stupid?) question and I thank you in advance for your time to read this and eventually help me.

    Let's say we have a simple structure:
    struct node{
    int value;...
  15. Replies
    2
    Views
    804

    Thank you very much Salem. It was very stupid of...

    Thank you very much Salem. It was very stupid of me to forget such thing (and not be able to figure it out). I truly spend 2 hours experimenting and watching at the code (with dull eyes) before...
  16. Replies
    2
    Views
    804

    ** and linked list question.

    Hello again, in one of my exercises where I have to create a stack using a linked list, I came by a question I can't wrap my mind around and answer it. I guess I need a little mental push from you...
  17. Replies
    18
    Views
    9,252

    I stand corrected, thanks for pointing that out...

    I stand corrected, thanks for pointing that out tabstop. I have to remind myself that google is not telling the truth all the time. ;)
  18. Replies
    18
    Views
    9,252

    Also known as greatest common factor or greater...

    Also known as greatest common factor or greater common denominator or highest common factor or greatest common measure.
  19. Replies
    27
    Views
    3,550

    Thank you for pointing out that Tater, I just...

    Thank you for pointing out that Tater, I just finished study the links Andrew posted (thank you Andrew) and now I can see how wrong was my statement about ignoring main arguments in Anthony's code.
    ...
  20. Replies
    27
    Views
    3,550

    Thank you tabstop, I highlighted the wrong...

    Thank you tabstop, I highlighted the wrong statement in my post and prompted to look for your explanation. Cheers
  21. Replies
    27
    Views
    3,550

    I think, I figured out your program and indeed is...

    I think, I figured out your program and indeed is an excellent paradigm.

    First I am going to ignore the parameters in the main function, just because I couldn't figure out a purpose. :cool:
    ...
  22. Replies
    27
    Views
    3,550

    These kind of metaphors (void pointer = water,...

    These kind of metaphors (void pointer = water, Calling malloc() = buying a bushel basket) are more helpful for a novice like me, than you can possible imagine. Thank you !!!
  23. Replies
    27
    Views
    3,550

    @antonyd Thank you for the "dirty details", they...

    @antonyd
    Thank you for the "dirty details", they are above my level of course, but it is good to know about them, for I will know what to search, in case I might need such "details" in a far future,...
  24. Replies
    27
    Views
    3,550

    With my luck worse things could happen! ;)

    With my luck worse things could happen! ;)
  25. Replies
    27
    Views
    3,550

    This is really a fine example :) yes, l must...

    This is really a fine example :)


    yes, l must not forget to free(bushel basket);


    [/QUOTE]You are right I expressed that one wrong, it should compile fine, plus I am always expecting...
Results 1 to 25 of 51
Page 1 of 3 1 2 3