1-if i made an application with visual c++ doesn't it need the .net framework and if yes why didn't Microsoft made a program (IDE)to compile c++ programs without .net framework
2- i saw c#, it's syntax is very near to c++ then why people are using c# i mean if there syntax are nearly the same shouldn't they move to c++ because it is stronger and more popular
3-why when i search Google for sockets or networking tutorials 98%is c# and the other is c++
programing languages
-
- Posts: 616
- Joined: Wed Nov 01, 2006 6:26 pm
- Location: Cairo,Egypt
- Contact:
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Re: programing languages
No.omar shaaban wrote:1-if i made an application with visual c++ doesn't it need the .net framework
C# is purer, and more pedantic. It doesn't allow some of the sloppiness that C++ has inherited from C. The compiler catches a lot of bugs that would trip up a C++ program at runtime.omar shaaban wrote:2- i saw c#, it's syntax is very near to c++ then why people are using c# i mean if there syntax are nearly the same shouldn't they move to c++ because it is stronger and more popular
Also, the .NET environment is garbage collected, which removes a lot of potential for memory leaks.
Does anyone here work for Google?omar shaaban wrote:3-why when i search Google for sockets or networking tutorials 98%is c# and the other is c++
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
- Posts: 616
- Joined: Wed Nov 01, 2006 6:26 pm
- Location: Cairo,Egypt
- Contact:
-
- Posts: 288
- Joined: Wed Apr 16, 2008 1:45 am
- Contact:
-
- Posts: 331
- Joined: Sat Sep 02, 2006 4:11 am
- Location: Michigan
- Contact:
-
- Posts: 368
- Joined: Tue Aug 21, 2007 1:43 am
- Location: The Middle of Nowhere
Boost, Raknet, and other C++ networking libraries make networking easy to use and grasp.
There really should not be a need to deal with the winsock library directly, but more power to you if you do. Just keep in mind, that code is not portable to other platforms.
There really should not be a need to deal with the winsock library directly, but more power to you if you do. Just keep in mind, that code is not portable to other platforms.
rogerborg wrote:Every time someone learns to use a debugger, an angel gets their wings.
Questions which are not related with irr
1. Net is not necessary when you program without CLR.
2. C++ is far more popular than C# now.
Learn more correct English grammer.
2. C++ is far more popular than C# now.
Learn more correct English grammer.
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Since Winsock is just a thin layer over BSD sockets, I'd Google for that instead, since they're cross platform.Insomniacp wrote:read up on winsock2 api.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
- Posts: 288
- Joined: Wed Apr 16, 2008 1:45 am
- Contact: