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
expected ; or : before { token error
expected ; or : before { token error
Nov 19, 2012 at 3:44pm UTC
dwyrt65
(3)
here is my function
void enqueue(string name, int age)
{
node* newnode = new node(); //error here
newnode->set(name, age);
newnode->setnext(NULL);
rear->setnext(newnode);
rear = newnode;
size++;
Nov 19, 2012 at 3:45pm UTC
dwyrt65
(3)
size++
}
Topic archived. No new replies allowed.