Basic C++ error

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

hyler

Thread Starter
Joined
Jul 30, 2001
Messages
126
H:\Comp Programming\C++ Chapters\Chapter 2\Chapter 2.cpp(9) : error C2601: 'accept3' : local function definitions are illegal

any ideas
 

hyler

Thread Starter
Joined
Jul 30, 2001
Messages
126
Nevermind. I'm an idiot. This error results from defining one function inside the body of another function. It usually means that you omitted one or more } symbols in the function just before the function named in the error message
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top