coding platform advantages...

Status
Not open for further replies.

PsionEdge

Ars Legatus Legionis
21,417
Subscriptor
Hi again,
I was just wondering if there are any advantages to progamming (C++) on macs compared to PCs. The reason I ask is some of the EECS (Electrical Engineering/Computer Science) classes here at U of Michigan require you to program on macs, but my intro engineering class does it on PCs(linux, or win2k, but the prof pushes linux a lot). Also, if i do the coding on my pc, will the exact same code work on a mac, for all the most stuff, not like the system("PAUSE"); but the stuff that does the real work.

Also feel free to explain why doing it on *nix is better than Win2k.

Thanks again!
 

MrMills

Ars Praefectus
3,727
Moderator
Well ... the only reason C++ would do better on Unix is that C was developed in Unix, and it shows (case sensitivity, use of the backslash as the escape character, use of \n for line ends, etc.). C goes very well with Unix, and Unix goes very well with C.

That said, the best platform to program on is the one where you have a good debugger; everything else pales to insignificance if you have a great debugger on one platform and you can only insert lots of printf() statements on another platform.
 

THBMan

Ars Legatus Legionis
18,256
Subscriptor
Umm... well, this depends. If you're doing command-line stuff, then it makes no different what platform you develop on. *NIX (including MacOS X) and Windows both have built in command lines, and there are libraries for MacOS 9 (and it's been long enough since I've used them that I don't remember) that let you compile standard C/C++ for use with command-line-style I/O.

If you're doing GUIs... well... I have no freaking clue why they'd prefer one or the other, except that perhaps the professors are, for whatever reason, knowledgable only in Mac Toolbox programming... or just prefer the programming model better.

But then... why would you be making GUI tools in an engineering class? ;)

<div align="right">The Happy Blues Man  </div>
 
Status
Not open for further replies.