SgDotNet
Singapore Professional .NET User Group -For Cool Developers

Learning C++

rated by 0 users
This post has 57 Replies | 0 Followers

Top 10 Contributor
Posts 1,125

First, Yes C# Rules!!!!!!
Second, I have used the API's both with C++ and VB6, using them are far more easier and faster in C++ than in VB6..

Blog -> http://www.dotnetjunkies.com/weblog/rohanthomas/ Singapore's Professional .NET User Group Rocks!!!! Yes
Top 10 Contributor
Posts 1,626
 xtreme.net wrote:
First, Yes C# Rules!!!!!!
Second, I have used the API's both with C++ and VB6, using them are far more easier and faster in C++ than in VB6..


I was refering to Symbian APIs Stick out tongue
Software development made easy with Paladin RAD Framework. Save some trees, use Stickies.NET
Top 10 Contributor
Posts 1,125
I'm also talking about third party API's which as said before, is much easier in C++...
Blog -> http://www.dotnetjunkies.com/weblog/rohanthomas/ Singapore's Professional .NET User Group Rocks!!!! Yes
Top 25 Contributor
Posts 330
Just some additional comments... (after a long time Big Smile)

When anyone starts to touch C/C++, the first question you should ask yourself is why I am doing C/C++? Let us restrict ourselves to Windows development and put cross-platform development aside at this moment first.

There are mostly a few kinds of suitations you want C/C++, (1) crouching data structures (2) doing some WIN32 APIs (3) doing some WIN32 GUI/control development.

When doing (3), most of the time we have to rely on an existing libarary, being it MFC, ATL, WTL or other 3rd parties' etc, we need follow the rule of the APIs of the libarary and their styles.

When doing (2), we follow the style of the WIN32 API, which is pretty much C style and tons of structures to fill/retrieve.

When doing (1), we finally get the most degree of freedom, and the STL is pretty much like the .NET Framework, it offers all the basic building blocks such as string (are you still using char* or strcpy, think twice), the frequently used data structures such as vector, list, map, set, just with slight changes, you should be able to fit almost any requirement of data structures. Then STL lends you power of algorithms to manipulate them: copy, remove, remove_if, reverse, count, sort - all these frequently used operations on data. The construction of any class could be built from the perspective of data structures internally, while the external aggreation and generalization of classes are pretty much like other OO context.

Just my 2 cents. Wink





blackinkbottle "please polish my crude soul", to the maker of blade the Samurai kneed down and said.
Top 10 Contributor
Posts 1,125
True, but, I think in this case FD is learning so that she can make a app for her 7710 nokia...
Blog -> http://www.dotnetjunkies.com/weblog/rohanthomas/ Singapore's Professional .NET User Group Rocks!!!! Yes
Top 10 Contributor
Posts 1,626
 xtreme.net wrote:
True, but, I think in this case FD is learning so that she can make a app for her 7710 nokia...


Aiks Embarrassed

Yes. I do not have much exposure to the language but I have always wanted to learn it. I find that among all the programming languages that I'm exposed to, it is the most difficult for me to master.[8o|]

I often give up trying to learn it after a while because I'm not motivated by it's complexity. [+o(] But now, I have a good excuse to get myself learning as my objective is now to write some simple apps for my 7710 and learning C++ is just one of the things I need to do. [*-)]

I guessed the advantage I have now is that I'm not exposed to any C/C++ styles, so I probably can't tell whether the program is written ugly or not. Trippie kept telling me that "People don't write it this way anymore" but I can't comprehend due to lack of exposure. Furthermore, my objective is to get the app out and not the elegance of the code. Big Smile

Hopefully, at the end of the day, I should have acquired some basic C++ knowledge. [8-|]
Software development made easy with Paladin RAD Framework. Save some trees, use Stickies.NET
Top 10 Contributor
Posts 1,125
I rather you do C++.Net...
Blog -> http://www.dotnetjunkies.com/weblog/rohanthomas/ Singapore's Professional .NET User Group Rocks!!!! Yes
Top 10 Contributor
Posts 1,626
 xtreme.net wrote:
I rather you do C++.Net...


For .NET, I will probably choose C# - the language I'm supposed to carry on my back Big Smile

But then, if you mean do mobile development on .NET, then I'll probably wait until WinMobile stabilizes or if I can get an allowance to acquire the gadget to do development on it.
Software development made easy with Paladin RAD Framework. Save some trees, use Stickies.NET
Top 500 Contributor
Posts 3

STL is definitely ANSI compliant.

Sorry for bringing up an old thread but oh man, i have never heard of C++ newcomers being advised to start with STL immediately. Indifferent [:|] Very interesting views here.

 

Top 10 Contributor
Posts 1,626
No worries. Up to today, I have not started anything on C++ yet. Stick out tongue [:P]
Software development made easy with Paladin RAD Framework. Save some trees, use Stickies.NET
Top 50 Contributor
Posts 81
well, i've learned my C\C++ thru books but my Win API thru Charles Petzold Programming Windows.

I hope the following links will help you to learn here:
http://www.winprog.org/tutorial/
http://www.relisoft.com/Win32/

As for you Nokia...well...once you've mastered Win API or you feel the adrenaline rushing towards you.
You can try out this site:
http://www.forum.nokia.com/main/0,,1_32_30,00.html

Feel free to ask.  (Provided i'm free)

thanks & regards e_har
Top 10 Contributor
Posts 1,626

I abandoned that thought about my developing for my Nokia phone already. Don't have time (and motivation) for it.

Now, spending most time on WinFX Yes [Y]

Software development made easy with Paladin RAD Framework. Save some trees, use Stickies.NET
Top 50 Contributor
Posts 81
 Firedancer wrote:

I abandoned that thought about my developing for my Nokia phone already. Don't have time (and motivation) for it.

Now, spending most time on WinFX Yes [Y]


Whoa...so good....Crying [:'(]
I'm still dealing with old technologies... Embarrassed [:$]
thanks & regards e_har
Page 4 of 4 (58 items) < Previous 1 2 3 4 | RSS
Copyright SgDotNet 2004-2008
Powered by Community Server (Commercial Edition), by Telligent Systems