422,363 Members | 2,221 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 422,363 IT Pros & Developers. It's quick & easy.

syntax error ,class,interface,enum expected ...

P: 1
why error like:illegal character occurs when putting statement as : #define<iostream>
#define<cstring>
#define infi 999
#define row 5;
#define col 5;
1 Week Ago #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 909
your code looks like C, not like Java.
1 Week Ago #2

Post your reply

Sign in to post your reply or Sign up for a free account.