+ 5

Does too many dynamic memory allocation (of char type) results into "Compilation Error" as in my code?

30th Dec 2017, 9:47 AM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
20 Respuestas
+ 4
@Curious This don't happen. And if you are having trouble then post the code too in the question. We will try to figure out the possible error and the tell to you.
30th Dec 2017, 9:57 AM
Akash Pal
Akash Pal - avatar
+ 4
There is no syntax or logical errors, as this code works fine to other Compilers, but not here.... 🤔 https://code.sololearn.com/ccD3F8Pd865x/?ref=app
30th Dec 2017, 9:58 AM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
+ 2
@Curious It is not working on online compliers. I think so because I have tried your code somewhere else . It too says compilation error. I will try to figure it out till bye.
30th Dec 2017, 10:09 AM
Akash Pal
Akash Pal - avatar
+ 2
It works correctly in Dcoder app.
30th Dec 2017, 10:11 AM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
+ 2
Ok... 😊😊😊
30th Dec 2017, 12:17 PM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
+ 1
This code enlarges every character of your entered text, in 8 rows and 7-16 columns (depending on character width).
30th Dec 2017, 11:37 AM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
+ 1
Wow! Thank you... So much Can you plz explain, what did you did?
30th Dec 2017, 11:39 AM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
+ 1
Yes, that's the thing I did before, then tried something new!
30th Dec 2017, 12:06 PM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
+ 1
@yash is there any way to declare only those strings which are entered by user
30th Dec 2017, 12:07 PM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
+ 1
I mean if user enters the string "hello", then only h, e, l and o should be declared. By the way where are you from?
30th Dec 2017, 12:09 PM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
+ 1
Because I think it makes the compiler laggy to declare the unnecessary ones!
30th Dec 2017, 12:12 PM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
+ 1
Okk... Thanks! Could you add me on any social network so that I remain in contact with you and may ask you for doubts.
30th Dec 2017, 12:15 PM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar