Predefined Preprocessor Macros + Log File Use Case | C Programming Tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

The very thing I was looking for today! Thanks and hope your family is doing well :)

gerdsfargen
Автор

Thank you! Just what I was looking for!👍👍👍

khomo
Автор

Thanks for the video! I have some follow up questions.
1. Is it true, by what you explained compiler always inserts this data (File names and Lines for expample) somewhere in your exe that we build?
2. If 1 is true, where it is located?
3. Would be very interesting to hear how it is done. My guess when we invoke compiler on your source code it scans all the file needed and just pushes this data somewhere in static memory segment (probaly data segment or bss but I am not sure) of our obj file. Is my assumption at least partially correct?

dzentsetsu
Автор

Very, very useful video. Although I feel somewhat confident i C, you almost in every video, digs out details, I have overseen. Also the lack of background music and you are using the screen only for code.

Maybe an idea for a video: I often it difficult to read and uderstand C documentation. If you choose a C keyword in the documentation e.g. printf and explained, what the "documentation" mean?

grimvian
Автор

can we log runtime errors using this method? Show the line number and file where the runtime error occurred?

fhurqaan