Click here to Skip to main content
11,638,173 members (73,568 online)

Nemanja Trifunovic - Professional Profile





Summary

    Blog RSS
20,099
Author
7,673
Authority
34,462
Debator
25
Editor
101
Enquirer
11,102
Organiser
6,301
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

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 QuestionProtector, Admin
Approve/Disapprove a pending AnswerProtector, Admin
Report a forum messagesilversilverbronzeProtector, Editor, Admin
Approve/Disapprove a pending Forum MessageProtector, Admin
Create a new tagsilversilversilversilverAdmin
Modify a tagsilversilversilversilverAdmin

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


 
GeneralStatic classes in C# 2.0 Pin
Nemanja Trifunovic29-Aug-04 11:47
memberNemanja Trifunovic29-Aug-04 11:47 
GeneralForofobia Pin
Nemanja Trifunovic20-Aug-04 2:54
memberNemanja Trifunovic20-Aug-04 2:54 
GeneralHeron Pin
Nemanja Trifunovic12-Aug-04 3:47
memberNemanja Trifunovic12-Aug-04 3:47 
GeneralRe: Heron Pin
cdiggins12-Aug-04 10:56
membercdiggins12-Aug-04 10:56 
GeneralRe: Heron Pin
Nemanja Trifunovic13-Aug-04 8:22
memberNemanja Trifunovic13-Aug-04 8:22 
GeneralRe: Heron Pin
cdiggins13-Aug-04 8:52
membercdiggins13-Aug-04 8:52 
GeneralRe: Heron Pin
Mr.Prakash26-Sep-04 8:09
memberMr.Prakash26-Sep-04 8:09 
GeneralRe: Heron Pin
Mystifier0028-Jan-05 18:22
memberMystifier0028-Jan-05 18:22 
GeneralRe: Heron Pin
Nemanja Trifunovic29-Jan-05 4:58
memberNemanja Trifunovic29-Jan-05 4:58 
GeneralRe: Heron Pin
Jim Crafton14-Mar-05 4:55
memberJim Crafton14-Mar-05 4:55 
GeneralRe: Heron Pin
Nemanja Trifunovic16-Mar-05 1:48
memberNemanja Trifunovic16-Mar-05 1:48 
GeneralRe: Heron Pin
Jim Crafton16-Mar-05 3:42
memberJim Crafton16-Mar-05 3:42 
GeneralVS 2005 Non-Express Beta 1 Pin
Nemanja Trifunovic1-Aug-04 4:28
memberNemanja Trifunovic1-Aug-04 4:28 
GeneralHow to use C++/CLI? Pin
Nemanja Trifunovic23-Jul-04 2:52
memberNemanja Trifunovic23-Jul-04 2: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? Pin
Nick Parker29-Jul-04 9:20
protectorNick Parker29-Jul-04 9:20 
GeneralRe: How to use C++/CLI? Pin
Nemanja Trifunovic29-Jul-04 13:58
memberNemanja Trifunovic29-Jul-04 13:58 
GeneralRe: How to use C++/CLI? Pin
Nick Parker29-Jul-04 17:29
protectorNick Parker29-Jul-04 17:29 
GeneralMy first hands on experience with generics Pin
Nemanja Trifunovic17-Jul-04 8:41
memberNemanja Trifunovic17-Jul-04 8:41 
GeneralBad habits of "old-style" programming Pin
Nemanja Trifunovic13-Jul-04 3:05
memberNemanja Trifunovic13-Jul-04 3:05 
GeneralC++/CLI - ref objects on native heap Pin
Nemanja Trifunovic11-Jul-04 7:11
memberNemanja Trifunovic11-Jul-04 7:11 
GeneralRe: C++/CLI - ref objects on native heap Pin
Brian<br>Olej11-Jul-04 7:27
memberBrian
Olej
11-Jul-04 7:27 
GeneralRAII with C++/CLI Pin
Nemanja Trifunovic10-Jul-04 10:11
memberNemanja Trifunovic10-Jul-04 10:11 
GeneralRe: RAII with C++/CLI Pin
Nemanja Trifunovic10-Jul-04 10:19
memberNemanja Trifunovic10-Jul-04 10:19 
GeneralTrivial (and less trivial) properties Pin
Nemanja Trifunovic9-Jul-04 9:36
memberNemanja Trifunovic9-Jul-04 9:36 
GeneralRe: Trivial (and less trivial) properties Pin
Jörgen Sigvardsson11-Jul-04 10:12
memberJörgen Sigvardsson11-Jul-04 10:12 
GeneralRe: Trivial (and less trivial) properties Pin
Nemanja Trifunovic11-Jul-04 12:01
memberNemanja Trifunovic11-Jul-04 12:01 
GeneralRe: Trivial (and less trivial) properties Pin
Jörgen Sigvardsson11-Jul-04 12:04
memberJörgen Sigvardsson11-Jul-04 12:04 
GeneralRe: Trivial (and less trivial) properties Pin
Dejan Gojsevic11-Jul-04 15:18
memberDejan Gojsevic11-Jul-04 15:18 
GeneralRe: Trivial (and less trivial) properties Pin
Nemanja Trifunovic11-Jul-04 15:36
memberNemanja Trifunovic11-Jul-04 15: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
Web04 | 2.8.150728.1 | Last Updated 31 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid