| | |
problem using templates
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Feb 2008
Posts: 6
Reputation:
Solved Threads: 0
When I try accesing private members of a class using friend functions after including the concept of templates in visual basic c++, the compiler shows me an error message that friend functions cannot access the private members declared in class.
Please help.....
Please help.....
Last edited by Ancient Dragon; Feb 21st, 2008 at 11:08 am. Reason: remvoed code tags. You only use them around code, not text
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
![]() |
Similar Threads
- Internet explorer connection problem (Web Browsers)
- A problem with templates (C++)
- Removing MSHP.DLL problem - HJT log (Viruses, Spyware and other Nasties)
- CommonName big problem (Windows NT / 2000 / XP)
- CommonNames problem (Web Browsers)
Other Threads in the C++ Forum
- Previous Thread: Wow I'm really stuck on this one. I need to make a rectangle out of symbols.
- Next Thread: A Function
Views: 418 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for C++
6 api application array arrays assignment beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete developer display dll email encryption error file format forms fstream function functions game generator getline givemetehcodez graph iamthwee ifstream image input int java lib loop looping loops map math matrix memory multidimensional multiple newbie news node number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg sort sorting string strings struct template templates text tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets







