Click here to Skip to main content
12,401,608 members (41,177 online)

Ajay Vijayvargiya - Professional Profile


    Blog RSS
Started programming with GwBasic back in 1996 (Those lovely days!). Found the hidden talent!

Touched COBOL and Quick Basic for a while.

Finally learned C and C++ entirely on my own, and fell in love with C++, still in love! Began with Turbo C 2.0/3.0, then to VC6 for 4 years! Finally on VC2008/2010.

I enjoy programming, mostly the system programming, but the UI is always on top of MFC! Quite experienced on other environments and platforms, but I prefer Visual C++. Zeal to learn, and to share!
  • 20 Apr 2012: Best C++ article of March 2012
  • 24 Nov 2011: Best C++ article of October 2011
  • 21 Jan 2011: Best C++/MFC article of December 2010
  • 31 Dec 2010: CodeProject MVP 2011
  • 22 Oct 2010: Best C++/MFC article of September 2010


For more information on Reputation please see the FAQ.


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.

GeneralArticle Suggestions Pin
Ajay Vijayvargiya5-Jan-11 16:26
mvpAjay Vijayvargiya5-Jan-11 16:26 
GeneralMessage Removed Pin
thatraja7-Jan-11 6:52
mvpthatraja7-Jan-11 6:52 
GeneralRe: Article Suggestions Pin
Brij9-Jan-11 6:02
mvpBrij9-Jan-11 6:02 
GeneralRe: Article Suggestions Pin
ThatsAlok1-Oct-12 0:30
memberThatsAlok1-Oct-12 0:30 
GeneralRe: Article Suggestions Pin
SubiSuresh3-Dec-12 23:26
memberSubiSuresh3-Dec-12 23:26 
GeneralRe: Article Suggestions Pin
SubiSuresh3-Dec-12 23:32
memberSubiSuresh3-Dec-12 23:32 
GeneralRe: Article Suggestions Pin
Ajay Vijayvargiya4-Dec-12 5:53
memberAjay Vijayvargiya4-Dec-12 5:53 
You did read or understood it wrong!

For T max(T t1, T t2), the template type argument is just one - T.
If you call it like:
You will get a compiler error for ambiguity. So, you can explicitly specify the type:
. If you specify as type, you will get warning.
Two things:
* Please read, understand, code, experiment very well before rushing to ask question. There is nothing wrong in asking question - but you will learn MORE if you attempt to get it yourself!
* Please do reply/comment on the Article page itself, and not on profile page (for any author). This will help fellow readers to get answers.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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.160721.1 | Last Updated 27 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid