Hi,

I am getting an error
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cstdio(17) : error C2143: syntax error : missing '{' before ':'
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cstdio(17) : error C2059: syntax error : ':'

I've declared a namespace in my header file.
In that i have some string manipulation functions like "convert_string".

Sorry, I can't post the code.

Thanks & Regards,
Yogesh

Recommended Answers

All 3 Replies

>>Sorry, I can't post the code.
Sorry, my crystle ball is broken too.

Somewhere in the 16 lines above the error, you need to put a {

Or, did you really mean to type a ; instead of a : (semicolon versus full colon)?

RTFM

FYI: It's somewhat difficult to pinpoint syntax errors when we can't see the code. So post the code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.