Skip to content
Snippets Groups Projects
Commit 02dd4baa authored by ERKEN EFE's avatar ERKEN EFE
Browse files

:wrench: UPDATE: Format and organize main.c

Fixed various main.c formatting and indentation.
parent 04956e05
Branches
Tags
No related merge requests found
#include <stdio.h>
#include "grid.h"
#include <stdbool.h>
int main(void){
bool run = true;
while(run){
char entry = fgetc(stdin);
switch(entry){
case 'q' :{
run = false;
break;
}
}
}
}
#include "grid.h"
int main(void)
{
bool run = true;
while (run)
{
char entry = fgetc(stdin);
switch (entry)
{
case 'q':
{
run = false;
break;
}
}
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment