now i'm using int main () , then i erased that void red(enum selection s) for simple plain enumeration. btw,i'm learning C++ program so sorry for confusing you guys cos i'm not that good yet in C++....
Type: Posts; User: liyana21
now i'm using int main () , then i erased that void red(enum selection s) for simple plain enumeration. btw,i'm learning C++ program so sorry for confusing you guys cos i'm not that good yet in C++....
#include<stdio.h>
#include<string.h>
void bb();
#define size 15
enum selection{ FIND=1,ADD=2,PRINT=3,EXIT=4};
struct kindergarden{
char id[10];char name[10];int...
i got errors like 'main' : local function definitions are illegal and something like" expected a ';' "
this is a C++ program.
#include<stdio.h>
#include<string.h>
#define size 15
enum selection{ FIND,ADD,PRINT,EXIT};
void red(enum selection s)
{
struct kindergarden{
11264
is my program ok? i don't really know where to change my coding. please help me. especially at that void main { .
it would be great if you guys include some explaination for my problem...