cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Error not sure how to fix
Error not sure how to fix
Jan 24, 2009 at 9:56pm UTC
Timbo1
(91)
I get this error : 1>c:\documents and settings\timbo\my documents\visual studio 2008\projects\calculator 2 5\calculator 2 5\main.cpp(20) : error C2447: '{' : missing function header (old-style formal list?)
How do I fix?
Jan 24, 2009 at 9:58pm UTC
closed account (
z05DSL3A
)
Post the code...
Jan 24, 2009 at 10:06pm UTC
Bazzy
(6281)
Is likely that you have an extra semicolon, something like this:
1
2
3
4
type function(some arguments)
;
//<-- this
{
//implementation
}
Topic archived. No new replies allowed.