Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8740969
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:13:30+00:00 2026-06-13T11:13:30+00:00

GithubLink https://github.com/leomdmfiel/Assignment/tree/master/BankManager/BankManager First here’s my header: class List { protected: Node* head; public: List(object

  • 0

GithubLinkhttps://github.com/leomdmfiel/Assignment/tree/master/BankManager/BankManager
First here’s my header:

class List
{
protected:
    Node* head;
public:
    List(object data);
    void addNode(Node* headRef, object data);
    void removeNode();
    void showList(Node* headRef);
};

And here is the function showList

void List::showList(Node* headRef)
{   Node* current = headRef;
    while (current != NULL) 
    {
        cout << current->retrieveData();
        current = current->retrieveNext();
    }   
}

For some reason at compile it keeps giving me the error error C2448: ‘List::showList’ : function-style initializer appears to be a function definition even though I’ve copied the declaration letter by letter. So I’m at a loss and looking for help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:13:31+00:00Added an answer on June 13, 2026 at 11:13 am

    Now that I’ve seen the code you have an extra semi-colon

    #include"List.h";
    

    should be

    #include"List.h"
    

    I would have expected a better error message though, I must admit.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the Github link: http://github.com/ryanb/railscasts-episodes/tree/master/episode-170/blog/app Running: git clone http://github.com/ryanb/railscasts-episodes.git Gave me an empty
Following this post jQuery table sort (github link: https://github.com/padolsey/jQuery-Plugins/blob/master/sortElements/jquery.sortElements.js ), I am successfully sort
So I downloaded a wrapper class from this github link: https://github.com/ignaciovazquez/Highrise-PHP-Api and I'm just
Here's the GitHub link: https://github.com/guicocoa/calendar I went through the source code and I'm trying
I am using this plugin here: http://boedesign.com/blog/2009/10/22/jsquares-for-jquery/ GitHub Link https://github.com/jboesch/jSquares/blob/master/js/jquery.jsquares.js ... The script is
I found a layout at https://github.com/evenwu/pinterest-clone-layout that I would like to try. However, I
edit: I'll put a github link here when I am done altering my design
I'm using Andrew Valums' Ajax Upload plugin ( GitHub link ). Here is some
I'm using everyauth , and am having trouble authenticating it with github. It seems
I'm using a slightly modified version of Valum's upload [ github link ], I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.