Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#include <stdio.h>
#include <cs50.h>
#define DEBUG 0
int main(void){
// Using the if-else directive to create easy debugging mode
#if DEBUG == 1
string s = get_string("Enter your name: ");
printf("Hello, %s!\n", s);
#if DEBUG == 1
printf("End of program where you entered %s\n", s);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment