Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Access Modifiers in C and C++
Access Modifiers in C and C++ [message #1853963] Tue, 26 July 2022 01:57 Go to next message
Eclipse UserFriend
Hello All, I am a C developer and I am working on a C++ project. I have just started learning C++ programming. I want to know which programming language provides access modifiers. According to this post, No access modifiers are present in the C structure, Is it? Also, I have no idea about C++ programming. Can anyone suggest me or provide some other reference?
Re: Access Modifiers in C and C++ [message #1854731 is a reply to message #1853963] Sun, 04 September 2022 23:32 Go to previous message
Eclipse UserFriend
public,protected,private?
These concepts have no meaning in C since C is not OO. default access/protection levels are implicit when defining a struct(public) or class(private) in C++. way back when we rode dinosaurs to school there was a weird intermediate where union could be used similarly and its traits had default protected status, but all references seem to have been carefully removed from history.
Previous Topic:CodeAnalyzer errors - c++17 - tuple and structured bindings
Next Topic:File links and git branches
Goto Forum:
  


Current Time: Wed Apr 30 04:36:49 EDT 2025

Powered by FUDForum. Page generated in 0.06583 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top