R
R
RoadToGamedev2020-09-28 00:34:50
C++ / C#
RoadToGamedev, 2020-09-28 00:34:50

What resources are there for learning C and debugging it?

Hello. I want to do game development. Found a framework in C. Faced the problem that there are very few resources for studying, without reading books. That is, it is more difficult to find information in comparison with Python or Go.
The question arose how best to learn C? Read more and code less? What are the ways to search for memory leaks on Windows without Visual Studio or heavy IDEs. Started learning GDB. I'm using Mingw64.
In general, I had a feeling of fear of making a mistake in C. Because I make a game and I feel responsible. On the other hand, I am learning and then everything can be corrected, but how do I find out about problems? I noticed that some code works on Mingw, but does not work on Linux. More precisely, the error becomes more visible on the face.
At some point, I thought about using Go with Cgo .. Probably I will do this if I don’t find decent resources for learning and debugging. In Go, everything seems to be simpler with both resources and tools.
In general, any advice will be useful for both C and Go. Perhaps all the pros and cons. To make a choice.
Thank you all in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
FreeBa, 2020-09-28
@FreeBa

Kerrigan and Richie are your best friends... But there is a nuance - they haven't made games on clean sites for a long time. More precisely, they do, but very exotic people.

R
Ronald McDonald, 2020-09-28
@Zoominger

The question arose how best to learn C?

Why even learn C for games? Sishka has been a niche language for a long time and its niche is far from gaydev.
very few learning resources, no reading books

Ah, well, clearly. Maybe because Sishka is not a parody of PL for white people, but a real, classical language?

A
Alexander Pikeev, 2020-10-01
@Baryon

Goodbye.

Hello. I want to do game development.

Are you saying there are more books in a language that is 36 years younger than Xi? Maybe you googled wrong? There is a classic on C - the book of Kernighan and Ritchie. Take and read.
harder to find information than Python or Go

And this is exactly what you shouldn't do.
Read more and code less?

What the hell is the responsibility for a game that only you will play? You won't move without making mistakes.
Because I make a game and I feel responsible.

They will let you know.
but how to find out about problems?

To recap:
Do you want to make games? Take C++/UE. Too difficult? So take C# and Unity/Godot. Still too hard? Then your destiny is a snake in Python and PyGame.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question