Saturday, September 5, 2020

debugger - allows to step through code step by step

there is a debugger included in the cs50 ide but not in the cs50 sandbox


cs50 IDE (ide.cs50.io) - Eclipse, Visual Studio, Netbeans, and more ....

these are all "integrated development environments"

cs50 IDE: ide.cs50.io


cs50, lec2, 2019


canonical -meaning

conforming to a general rule or acceptable procedure: orthodox


source: google search (merriam-webster.com)


debugging tool: printf() - use to poke around and see what is going on inside your computer


printf() is a useful tool for debugging




for example:

#include <stdio.h>

int main(void)
{

for(int i =0; i<=10;i++)
{
printf("i is now %i\n", i);  //debug line
printf("#\n");
}

}