423,335 Members | 1,089 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,335 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;
Apr 12 '18 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 921
your code looks like C, not like Java.
Apr 14 '18 #2

Post your reply

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