Click here to Skip to main content

Nemanja Trifunovic - Professional Profile





Summary

    Blog RSS
19,926
Author
7,670
Authority
33,585
Debator
25
Editor
101
Enquirer
10,811
Organiser
6,007
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,361 (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 PinmemberMr.Prakash26-Sep-04 9:09 
GeneralRe: Heron PinmemberMystifier0028-Jan-05 19:22 
GeneralRe: Heron PinmemberNemanja Trifunovic29-Jan-05 5:58 
GeneralRe: Heron PinmemberJim Crafton14-Mar-05 5:55 
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 
I looked again at the code I posted earlier (it does not compile with Beta 1):
 
System::IO::StreamReader file(L"test.txt");
String^ line = file.ReadLine();
Console::WriteLine(line);
 
Is this really what I want to do with C++/CLI? I don't think so. In practice, if I want to read a line from a file and write it to the console, I'll do something like this:
 
ifstream file ("test.txt");
if (file.is_open())
    {
    string line;
    getline(file, line);
    cout << line << endl;
    }
 
Why do I need C++/CLI then at all? Well, the world is moving towards .NET and managed environments and I don't want to stay behind. On the other hand, I don't partculary like the .NET object model and BCL, and I want to use "classic" C++ whenever possible.
 
A solution is to develop my "core logic" code in standard C++, and then to expose it to the .NET world through an interface (or "Facade", if you prefer GoF terminology).
 
I see three ways to do that. One is to "flatten" my facade classes and expose them as a set of C functions, which can be called through PInvoke. Another would be to make COM wrappers. Finally, I can use Managed C++ or C++/CLI to easily write CLS compliant wrappers for my facade classes. COM wrappers is something I would rather avoid, which leaves me with C vs MC++ dilemma. The "C" approach appeals me because it enables other non - .NET languages to use the libraries. On the other hand, if I care only about .NET, with Managed C++ I can create classes that can be used from .NET languages directly, without PInvoke hassles.
 
The bottom line is: C++/CLI is about making C++ code available to .NET world, and if it is easy enough to do that, than I don't necesseraly care about deterministic finalization, STL.NET and other cool programming techniques. I'll just use ISO C++ for that.
 


My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
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 
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
Web02 | 2.8.141223.1 | Last Updated 26 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid