Originally Posted by
Elysia
Why do you think that?
Because I ran the program and that was what happened! ;-)
Here's my code:
Code:
/********************************************************************************
* Test (main)
********************************************************************************/
#include "ccd.h"
#include "lcd.h"
void writemenu()
{
printf("Press 1 'PATH' to load an image\n");
printf("Press 2 'FILTEROPTION' to filter an image\n");
printf("Press 3 'PATH' to save an image\n ");
}
void performOption(int opt)
{
}
int main(int argc, char *argv[]) {
printf("Welcome to DigiCam - Made by group 14, Andreas Hussing & Lars Holdgaard\n");
printf("Please specify what you want:\n");
writemenu();
int opt = 0;
scanf("%d",&opt);
printf("\nOption chosen: %d\n\n", opt);
performOption(opt);
return 0;
}