cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Lounge
{} or not
Page 2
{} or not
Pages:
1
2
Mar 3, 2014 at 11:26pm UTC
CodeGazer
(163)
I don't see how in VS (EDIT: VS2012 and 2013) it gives you a quite clear warning also
1>.../main.cpp(15): warning C4390: ';' : empty controlled statement found; is this the intent?
Last edited on
Mar 3, 2014 at 11:30pm UTC
Mar 3, 2014 at 11:29pm UTC
closed account (
N36fSL3A
)
What version are you using? When that happens to me I just get a load of errors that are completely unrelated to the statement.
Topic archived. No new replies allowed.
Pages:
1
2