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

  • SEARCH
  • Home
  • 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 6648963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:43:04+00:00 2026-05-26T00:43:04+00:00

Sorry if this question is poorly worded (please edit it if it will make

  • 0

Sorry if this question is poorly worded (please edit it if it will make it easier for readers to understand me.)

I’m new to oop and was learning some C code. What does this last line of code mean? Is there a way to paradigmatically(I just made up this word) write it differently?

typedef struct _Song {
//some members
} Song;

Song * pSong=0;

Shouldn’t it be:

_Song * pSong=0;

Instead of:

Song * pSong=0;

…since Song is an object and _Song is a structure.

  • 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-05-26T00:43:05+00:00Added an answer on May 26, 2026 at 12:43 am

    Song is nothing more than an alias for struct _Song (that’s what the typedef at the beginning means). There is absolutely no difference between the two, wrt their type.

    In C++, the syntactic difference is even more marginal, since _Song is also an alias for struct _Song.

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

Sidebar

Related Questions

Sorry if this question will sound too chaotic, feel free to edit it. I
Sorry since this question is specific to my problem. While learning reflections i did
Sorry if this question is somewhat subjective. I am new to 'could store', 'distributed
Sorry if this question doesn't make any sense. I'm currently in the midst of
Sorry for the poorly-worded question. I was hoping to get everyone's ideas on the
Sorry if this question seems obvious for everyone, but I am very new to
I am sorry if this question is already posted somewhere. I am very new
I'm sorry about this question but I'm very new in mercurial, I have an
I'm still learning Android Development so sorry if this question seems stupid but I'm
Sorry if this question seems trivial to many here. In a C++ code there

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.