#ifndef PROGCLOSE_H
#define PROGCLOSE_H
int closeProg()
{ int close123 = 0;
printf("Press a buton to end the programm");
scanf("%d", &close123);
if (close123 != 0)
{
printf("Programm was closed \n \n");
return 0;
}
}
#endif
int close123 = 0;
printf("Press button bla bla");
scanf("%d", &close123);
if (close123 != 0)
{
printf("Programm was closed \n \n");
return 0;
}
at the very end of my SC. But i want to simplify it by including the header file.
Copyright © 2024, NextGenUpdate.
All Rights Reserved.