Search:

Type: Posts; User: Puli

Search: Search took 0.00 seconds.

  1. The problem of the usage of the Printf() in embedded systems

    Dear Experts,
    I have a semi kind of philosophical question with regards to the usage of Printf() function. My teacher remarked printf() methods could be disturbing when we use that function e.g in...
  2. Dear laserlight, very thanks for the correction....

    Dear laserlight,
    very thanks for the correction.
    The importance of the usage of the terminating zero ( '\0' character), at the char array declaration, is engraving in my mind. :)
  3. Hi guys, thank you very much for these useful...

    Hi guys,
    thank you very much for these useful information! Sizeof method doesn't work on pointers. Besides of that thanks for the correction with regards to the safe using of the memory...
  4. Define the size of an integer type dynamic array

    Hi guys,
    I would like to define the count of an integer array but I got stuck in that. I increased the size of the array dynamically using the possibilities of 'realloc' method.

    May I mess up...
  5. srand(time(Null)): Any possibility to refine / tune the seed value

    Hi,

    I would like to understand the mechanism of the srand(..) random number generator.
    In the enclosed a small example. I would like to place 'X' character into all the position of the given 3x3...
  6. Hi Salem, Thank you very much for your answer,...

    Hi Salem,
    Thank you very much for your answer, you were right. I continued tracking that problem deeply and I debugged my code because I would like to understand the mechanism of the allocation.
    ...
  7. Hi Salem, Very thx for your useful remarks,...

    Hi Salem,
    Very thx for your useful remarks, then I tried to test my program using max length of the parameter string.




    char myString[10]="dogs_cats"; // this means: 'd' 'o' 'g 's' '_'...
  8. Hi stanley, Very thanks for your detailed...

    Hi stanley,

    Very thanks for your detailed help! :)
    I have read about the last closing '\0' symbol, and I understood your remark. I have to close the the literal, else these garbages are displayed...
  9. C memory allocation ( malloc ) issue - strange characters on the console

    Hi Guys,

    Greetings you in the forum! I would like to use char array manipulations instead of using strcpy/strcat methods.

    So I created a C function which require a char array as an input...
Results 1 to 9 of 9