Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

64 users online



C++ - - - - programmers - - - - READ

C++ - - - - programmers - - - - READ

Currently viewing this thread: 1 (0 members and 1 guests)


Page 2 out of 3
XtC4242

XtC4242

Neverside Newbie
Status: Offline!

CrazyCoder I would have to agree with Xaimus. C/C++ is totally capable of switching to different OS with the same code. All you have to do is compile your source code into a different compiler which writes to that platform. You can cross different platforms with little tweaking or none at all. But C/C++ would have a hard time switching to mac. But Linux on the other hand wouldn't be difficult. If you disagree with me I recommend you read "C Primer Plus" They have a chapter in there that completely explains this. And I'm not evening getting technical with you here. If you want me to completely explain this to you hit me up on aim. Since I could actually write a few pages on this.

___________________

http://www.enviousgamers.tk/

CrazyCoder

CrazyCoder

Neverside Newbie
Status: Offline!

Just write it out here and it will be used by the community and come in more helpful.

XtC4242

XtC4242

Neverside Newbie
Status: Offline!

"C is a portable language. That means that C programs written on one system can be run on other systems with little or no modification. If modifications are necessary, they can often be made by simply changing a few entries in a header file accompanying the main program. Most languages are meant to be portable, but anyone who has an IBM PC BASIC program to Apple BASIC (and they are close cousins) or tried to run an IBM mainframe FORTRAN program on UNIX system knows that porting is troublesome at best. C is a leader in portability. C compilers (programs that convert your C code into the instructions a computer uses internally) are available for about 40 systems, running from 8-bit microprocessors to Cray supercomputers. Note, however, that the portions of a program written specifically to access particular hardware devices--such as a displayer monitor--or special features of an operating system--such as Windows or OS X--typically are not portable."
This entry was taken from C Primer Plus by Stephen Prata. I insist every programmer starting programming should go and pick up this book. It's a great idea to start with C then move onto C++. It makes it easier to learn C++ and you learn more because both languages are not identical completely.

___________________

http://www.enviousgamers.tk/

wwechris

wwechris

Status: Offline!

utruyr

EEDOK

EEDOK

Status: Offline!

umm C++ is 100% portable, what do you think they used to make the operating systems? You're thinking of libraries that aren't portable..

___________________

http://www.voidofmind.com/eedok/sig/display3.php
sign the sig - condensed version

matrael

matrael

I'm a programmer with art skills. ...
Status: Offline!

C/C++ is portable across all platforms for which a compiler exists for it. To say otherwise is ignorance.

Please explain to me how you cannot write software for the Macintosh operating system in C/C++ ... ? Please back it up ... I think this comment comes from someone who has never programmed for the Macintosh. This can easily be refuted by looking at Apple's developer documentation and the friggin' SDK.

*sigh*

Sorry if I'm beating a dead horse.

___________________

--
Jason Ricketts
jason@dork.cx
http://www.kerneld.org

CrazyCoder

CrazyCoder

Neverside Newbie
Status: Offline!

Maybe you are understanding this wrong. He means like if you compile it on Windows then the file can be sent to Macintosh or Linux without ANY changes to it. In Java it is possible to load the same program on all platforms without changes. In C++ you cannot.

Xaimoatse

Xaimoatse

WHAT HAVE YOU DONE
Status: Offline!

If that's the case, then I was mistaken. I thought he meant source compatability rather than binary compatability.

I feel the need to state the obvious now:
Binary compatability across platforms is really only possible if you are using an interpreted language. I'd say that Java is interpreted: it certainly isn't a native binary. If I'm just talking out of my ***, or if I'm missing some amazing feat of hackery which allows such things to happen, then someone please inform me.

___________________

Sykil | http://www.dark-storm.com/n-unit.png | UT or die

kidd175

kidd175

Neversidian
Status: Offline!

No, I meant like C++ in general. If you learn Visual C++, that?ll limit you to just Microsoft programming. Learning general C++ is better so that you can code for Linux and Macs. Xaimus is right. I know you can?t put a Windows app on a Linux or Mac.

___________________

http://img135.imageshack.us/img135/5255/sigrealre8.jpg
Neverside - In Development. Expected Release: Unknown.
Tortustudios.com - In Development. Expected Release: Summer 2006.( You can visit it now)

rallyrulz

rallyrulz

rally fan
Status: Offline!

Urm, visual c++ is literally c++, ms didnt change anything, infact they just kept with the ansi standards i believe, phasing out some of the older libraries and stuff. They get the name visual because i think you can 'visually' design forms probably win32 windows / menus and basic stuff in there.

However the low down is that I use VC.net all the time and its all just c++ to me, microsoft dont make those standards, well atleast not yet... (until they take the rest of the world over)

Page 2 out of 3
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0083 seconds.