Re: writing platform-portable code in vc++
- From: "Abubakar" <abubakarm@xxxxxxxxx>
- Date: Thu, 15 Dec 2005 11:09:37 +0500
Thanks for the reply.
I dont want to use C#. The only option for this project is C++.
Ab.
"Peter Oliphant" <poliphant@xxxxxxxxxxxxxxxx> wrote in message
news:O%23YbwiMAGHA.2912@xxxxxxxxxxxxxxxxxxxxxxx
> How portable your code is depends on how machine independent the
application
> will be. This of course depends on the purpose and goals of the
application.
>
> For example, if your application is very graphic intensive, then you will
> want to give great consideration in separating the graphic code from the
> logic code. Typically, only logic code tends to port well.
>
> As for VS.NET. If you stick to the C++ standard VS C++.NET supports it.
But
> be careful about getting persuaded by conveniences that this particular
> compiler and/or development environment has to offer. For example, you
might
> be tempted to code in C# instead of C++, since it does have some nice
> syntactical features. But know that C# only runs on the Windows platform.
> This applies to almost anything in the .NET Framework classes.
>
> That being said, you could still potentially use VS.NET and all it has to
> offer, just realize that every feature you use that in not part of the C++
> standard will likely need to be re-written or emulated on other platforms
> when you port...
>
> [==P==]
>
> "Abubakar" <abubakarm@xxxxxxxxx> wrote in message
> news:ewdd68KAGHA.4004@xxxxxxxxxxxxxxxxxxxxxxx
> > Hi,
> > we are finding out ways in which we could develop libraries that could
be
> > written in c++ in a way that we can use them in windows, linux, and mac
> > os.
> > We want to write portable code, so that it could be build on mac os,
> > linux,
> > and windows. The code would involve lots of multi-threading and
> > network/socket programming. Since I have read that vc++ 2k5 supports a
lot
> > of standard c++ stuff, can it help me to acheive what I want or I will
> > have
> > to use something like gnu c++ compiler like gcc I guess. We wanna start
> > with
> > writing application on windows os, and than when its completed, port the
> > code to run on linux and than on mac os. Need a lot of guidance. Also
> > please
> > mention any books of c++ that would allow us to do socket and
> > multi-threading programming for multiple platforms. Thanks.
> >
> > Abubakar.
> >
> >
>
>
.
- References:
- writing platform-portable code in vc++
- From: Abubakar
- Re: writing platform-portable code in vc++
- From: Peter Oliphant
- writing platform-portable code in vc++
- Prev by Date: Re: "Poll" Has C# Generally Replaced C++
- Next by Date: Re: "Poll" Has C# Generally Replaced C++
- Previous by thread: Re: writing platform-portable code in vc++
- Next by thread: Re: writing platform-portable code in vc++
- Index(es):
Relevant Pages
|