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...
Type: Posts; User: Puli
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...
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. :)
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...
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...
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...
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.
...
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' '_'...
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...
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...