Click here to Skip to main content

Nemanja Trifunovic - Professional Profile





Summary

    Blog RSS
19,920
Author
7,670
Authority
33,574
Debator
25
Editor
101
Enquirer
10,803
Organiser
6,001
Participant
Born in Kragujevac, Serbia. Now lives in Boston area with his wife and daughters.
 
Wrote his first program at the age of 13 on a Sinclair Spectrum, became a professional software developer after he graduated.
 
Very passionate about programming and software development in general.
  • 24 Aug 2009: Best C++/MFC article of July 2009
  • 24 Feb 2007: Best C++/MFC article of Jan 2007

Articles 15 (Legend)
Tech Blogs 0
Messages 6,359 (Master)
Q&A Questions 0
Q&A Answers 50
Tips/Tricks 0
Comments 19

Reputation

For more information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege, and the given member types also gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilverAdmin
Store personal files in your account areaplatinumplatinumSitebuilder, Subeditor, Supporter, Editor, Staff
Have live hyperlinks in your biographybronzebronzebronzebronzebronzebronzesilverSubeditor, Protector, Editor, Staff, Admin
Edit a Question in Q&AsilversilversilversilverYesSubeditor, Protector, Editor, Admin
Edit an Answer in Q&AsilversilversilversilverYesSubeditor, Protector, Editor, Admin
Delete a Question in Q&AYesSubeditor, Protector, Editor, Admin
Delete an Answer in Q&AYesSubeditor, Protector, Editor, Admin
Report an ArticlesilversilversilversilverSubeditor, Mentor, Protector, Editor, Staff, Admin
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubeditor, Mentor, Protector, Editor, Staff, Admin
Edit other members' articlesSubeditor, Protector, Editor, Admin
Create an article without requiring moderationplatinumSubeditor, Mentor, Protector, Editor, Staff, Admin
Approve/Disapprove a pending QuestiongoldgoldgoldSubeditor, Mentor, Protector, Editor, Staff, Admin
Approve/Disapprove a pending AnswergoldgoldgoldSubeditor, Mentor, Protector, Editor, Staff, Admin
Report a forum messagesilversilverbronzeProtector, Editor, Admin
Approve/Disapprove a pending Forum MessagegoldgoldgoldSubeditor, Mentor, Protector, Editor, Staff, Admin
Create a new tagsilversilversilversilverAdmin
Modify a tagsilversilversilversilverAdmin

Actions with a green tick can be performed by this member.


 
GeneralRe: Heron PinmemberNemanja Trifunovic16-Mar-05 2:48 
GeneralRe: Heron PinmemberJim Crafton16-Mar-05 4:42 
GeneralVS 2005 Non-Express Beta 1 PinmemberNemanja Trifunovic1-Aug-04 5:28 
GeneralHow to use C++/CLI? PinmemberNemanja Trifunovic23-Jul-04 3:52 
GeneralRe: How to use C++/CLI? PinprotectorNick Parker29-Jul-04 10:20 
GeneralRe: How to use C++/CLI? PinmemberNemanja Trifunovic29-Jul-04 14:58 
GeneralRe: How to use C++/CLI? PinprotectorNick Parker29-Jul-04 18:29 
GeneralMy first hands on experience with generics PinmemberNemanja Trifunovic17-Jul-04 9:41 
Back to my VC++ 2005 Express Beta 1. Today, I am going to play with generics a little bit.
 
I started with this:
 
interface class I { int f(); };
 
generic <typename T> where T : I
ref class GenericClass {};
 
So far, so good. Compiles fine. Now, I tried to add a member, like this:
 
interface class I { int f(); };
 
generic <typename T> where T : I
ref class GenericClass 
  {
  T^ data_;
  };
 
Ooops:
 
First.cpp(15) : error C3229: 'T1 ^' : indirections on a generic type parameter are not allowed
        compiler using 'T1' to continue parsing
 
Now, this T1 is confusing, but anyway if I modify my class to look like:
generic >typename T< where T : I
ref class GenericClass 
  {
  T data_;
  };
everything looks fine. Then I tried to add a constructor and instantiate the thing:
 
interface class I { int f(); };
ref class C: public I
{
public:
  int f() {return 0;};
};
 
generic <typename T> where T : I
ref class GenericClass 
{
  T data_;
public:
  GenericClass (T data) : data_(data) {}
};
 

int main()
{
	C^ c = gcnew C;
	GenericClass<C^> g = gcnew GenericClass<C^> (c); 
}
 
and the result is:
 
First.cpp(29) : error C3149: 'GenericClass<T&gt' : cannot use this type here without a top-level '^'
        with
        [
            T=C ^
        ]
 
Cry | :(( This is frustrating...
 


My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
GeneralBad habits of "old-style" programming PinmemberNemanja Trifunovic13-Jul-04 4:05 
GeneralC++/CLI - ref objects on native heap PinmemberNemanja Trifunovic11-Jul-04 8:11 
GeneralRe: C++/CLI - ref objects on native heap PinmemberBrian
Olej
11-Jul-04 8:27 
GeneralRAII with C++/CLI PinmemberNemanja Trifunovic10-Jul-04 11:11 
GeneralRe: RAII with C++/CLI PinmemberNemanja Trifunovic10-Jul-04 11:19 
GeneralTrivial (and less trivial) properties PinmemberNemanja Trifunovic9-Jul-04 10:36 
GeneralRe: Trivial (and less trivial) properties PinmemberJörgen Sigvardsson11-Jul-04 11:12 
GeneralRe: Trivial (and less trivial) properties PinmemberNemanja Trifunovic11-Jul-04 13:01 
GeneralRe: Trivial (and less trivial) properties PinmemberJörgen Sigvardsson11-Jul-04 13:04 
GeneralRe: Trivial (and less trivial) properties PinmemberDejan Gojsevic11-Jul-04 16:18 
GeneralRe: Trivial (and less trivial) properties PinmemberNemanja Trifunovic11-Jul-04 16:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 20 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid