Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 05:57 Go to next message
Aarti Yadav is currently offline Aarti YadavFriend
Messages: 5
Registered: August 2020
Junior Member
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] Mon, 05 September 2022 03:32 Go to previous message
Kent Dorfman is currently offline Kent DorfmanFriend
Messages: 21
Registered: December 2020
Junior Member
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: Sat Jul 20 14:16:46 GMT 2024

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

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

Back to the top