Debugging - CS50 Shorts

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Thanks!
In my opinion, debugging is the most of important part to learning code.

Guigols
Автор

The function eprintf has been deprecated and is thus no longer part of the CS50 library.

tom_the_jaffa_muncher
Автор

How can I set up VS Code to see all the values of each index in a given array while using debug50? For example, I would like to see the candidates[n].votes values while using a 'for' loop. I know that I can add in the 'watch' tab the expression for the votes array for every index (indexes 0, 1 and 2), but I wonder if there is a direct way to do this (like see the variables there as well)

viniciusantunes
Автор

CS50 should consider using and teaching VS Code as it's main editor. In my opinion, it's important to teach the workflow and setting up tools like the debugger, rather than use a contrived cloud editor which is never going to replace desktop text editors. CS50 IDE actually works well, but it's not an accurate representation of how software developers work in real life.

Loppy
Автор

Is it at all possible to have the prompts automatically be filled in like one does using <input.txt ?

alexisJonius
Автор

Help50 was already doing the job of chat GPT since way back!

supersoniq
Автор

GOD DAMNIT DOUG! How could you forget the break statements! Get it together, man! <3

lowrl
Автор

28:30 Why are there no {} brackets after the for loop?

Noe-gjmw
Автор

i'm not gonna count that but it's 41

sininglyu