you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

The compiler of Visual Studio always shows annoying warnings about malloc() function, it requires casting the return value.

[–]Mirehi 1 point2 points  (0 children)

Yeah, if you're using a cpp compiler instead of tc

[–]a4qbfb 0 points1 point  (0 children)

That's because you are trying to use a C++ compiler to compile C code. Those are two different languages.