How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Robert H Your Own Question
Robert H
Robert H,
Category: Programming
Satisfied Customers: 208
Experience:  IT Senior Client Services Engineer at DTE
106466437
Type Your Programming Question Here...
Robert H is online now
A new question is answered every 9 seconds

In c++ source code, are members of a class strictly

This answer was rated:

In c++ source code, are members of a class strictly functions, or can variables and #define macros be declared as members of a class, without a function being declared first ?

Hello and welcome to JustAnswer, an independent Question & Answer web portal. My name is Robert and I am happy to be assisting you today.

Please note: If you get an offer for premium service please hold off on that for now. That offer is automatically generated by this website, not by me. I can offer you whatever is needed to solve your problem.

Members of a classy can have variables which are defined members.

You can read more about the answer here --> https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines

If you need any further assistance, I am happy to help.

My goal is to provide excellent service to you! Please be sure to provide a rating. The rating is for me, NOT JustAnswer - (Scroll the screen up and on the right top corner. Select the stars and click on Submit.

That will close out the question and prevent you from further automated notifications, and any additional charges.

Thank you,
Robert_IT
(Your friendly expert)

Robert H and 7 other Programming Specialists are ready to help you