nepaster.blogg.se

What is a text editor in coding
What is a text editor in coding





what is a text editor in coding

#WHAT IS A TEXT EDITOR IN CODING CODE#

Multiple people have pointed out that the usage of strcat here does not actually create any bugs.īy "checked the code briefly", I just mean that I very quickly scrolled through the code for some "red flags". u/dopavee pointed out that I am wrong about using calloc to initialize the pointers in the struct to NULL, and that it's undefined behavior to do that. It's clear that you are good at writing code, because the code looks clean, but you haven't mastered all the tricks that C programmers would know about -) Thus, there is clearly some "extra work" that you are doing. Simply calloc instead of malloc, which will zero out the memory it gives you. But it's also important to write C the right way.Īlso, in "init_command_stack", this function is not necessary. This is what I saw when I checked the code briefly: Are you interested in promoting your own content? STOP! Read this first.For posting job listings, please visit /r/forhire or /r/jobbit.Do you have something funny to share with fellow programmers? Please take it to /r/ProgrammerHumor/.Do you have a question? Check out /r/learnprogramming, /r/cscareerquestions, or Stack Overflow.Direct links to app demos (unrelated to programming) will be removed.If there is no code in your link, it probably doesn't belong here. Just because it has a computer in it doesn't make it programming.That means no image posts, no memes, no politics.Please keep submissions on topic and of high quality.

what is a text editor in coding

r/programming is a reddit for discussion and news about computer programming







What is a text editor in coding