Programing app Gtk in plasma using C VSCODE Compile errors

You may want to learn that before you start programming in C, it’s a rather important subject.

What’s the worst that can happen? Unless it is some sensitive application where security matters, it should be fine.

Muddling should be encouraged (just not in production code, please!), that’s a good way to learn stuff, especially when you witness it freezing your OS :joy: Seriously, it’s a good idea to enable Magic SysRq key, just in case. But, in general, memory management in C is often mystified and made to look like a bigger deal that it actually is.

But yes, C should (also) be learnt in a structured way. There are many potential pitfalls and in production code, one should be mindful not to have crashes, security vulnerabilities and damaging side effects.

1 Like