Click here to Skip to main content
15,913,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi , my friends
I want to implement domain( i.g. unix domain) in c or c++ language.(domain,subject and object is very important subject about protection of operating systems)
- we have *.*txt file that contain 4 columns and any rows.
in this table we want to add sub ject and object with its access right to which object and its operation(add or delete or search).
if we want to add subject and object with same access rights that formerly added it to list, we add this 2 subject to 1 domain; else we put them in 2 different domain.
the output of program must be able to show any domain with its subject and objects in 4 columns.
with respect, mohammad hadiniya
Posted
Updated 14-Dec-11 3:07am
v2
Comments
Balakrishnan Dhinakaran 14-Dec-11 4:37am    
Hello mohammad hadiniya your question is not clear
Stefan_Lang 14-Dec-11 5:22am    
What do you mean by 'domain', 'subject' and 'object'? In the context of C++ none of these terms have a specific meaning, so it's hard to offer help. Also you used the term 'hashing file' (or the verb hashing in conjunction with file - the grammar isn't clear), without explaining it's relevance in this context. What's in that file? What is being hashed?

Judging by your second point, maybe you could use the STL class std::map (see http://www.cplusplus.com/reference/stl/map/ ).

1 solution

According to my knowledge this is a way of creating application domain using c++

VB
public: static AppDomain* CreateDomain(
 String* friendlyName
);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900