New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

Mac Programming


Post Reply New Thread Subscribe

 
Thread Tools
frewegooh

 
Member Since: Apr 29, 2007
Posts: 4
frewegooh is on a distinguished road

frewegooh is offline
I'm thinking of switching to a mac for a few reasons. I was thinking of getting the MacBook Pro w/ the 17inch screen. I heard they are a lot better with photo editing and photography, and one of my majors in college is photography. The main concern i have at the moment is programming. My other major is Software Engineer. So, i need to be able to program in Visual Basic, C++, and maybe another programming language. I haven't decided if i am going to take another programming class. So my main question is "Will i be able to program in Visual Basic, and C++? Then can i transfer it to a PC?" I know i cant just transfer it straight to a PC I am sure I would have to do something first. So if you guys can help me solve this problem ill be a happy mac owner. If not, I will continue to be a sad PC user.
QUOTE Thanks
frewegooh

 
Member Since: Apr 29, 2007
Posts: 4
frewegooh is on a distinguished road

frewegooh is offline
Ok i was thinking maybe since now you can run Mac OS X and Windows at the same time. If maybe i could program while having Windows up and then my programs would be fine. any help anyone?
QUOTE Thanks
Village Idiot

 
Village Idiot's Avatar
 
Member Since: Apr 04, 2007
Location: Durtburg, WV
Posts: 2,641
Village Idiot is a glorious beacon of lightVillage Idiot is a glorious beacon of lightVillage Idiot is a glorious beacon of lightVillage Idiot is a glorious beacon of lightVillage Idiot is a glorious beacon of lightVillage Idiot is a glorious beacon of light
Mac Specs: Sooper Fast!

Village Idiot is offline
Quote:
Originally Posted by frewegooh View Post
Ok i was thinking maybe since now you can run Mac OS X and Windows at the same time. If maybe i could program while having Windows up and then my programs would be fine. any help anyone?
Unless I'm mistaken, you'll have to install Windows since OSX doesn't use the .NET framework that allows you to use the same languages in Windows.

There may be a C language compiler and programming suite, but using VBA most likely wouldn't work as most of the references come from stuff like the Microsoft jet engine and other Microsoft apps.

Chaotic Evil, Level 1 IT-Tech

Slough Roast Blog
Capitol Sound Blog
QUOTE Thanks
novicew

 
novicew's Avatar
 
Member Since: Jan 04, 2006
Location: Hamburg, Germany
Posts: 1,385
novicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to all
Mac Specs: MacBook Pro | iMac(2.1 G5) | MacBook(2.16 C2D) | MacMini (1.67 CD) | iPhone 4 | iPad (3rd Gen)

novicew is offline
If you are intending to write VB programs, OS X is not the right choice, unless you compromise a partition for Windows. There are alternatives such as RealBasic but it is not the same.

You won't have problems writing C++ prpograms. However there are certain libraries only available in Windows. But for the most part it should work flawless.
QUOTE Thanks
gilesjuk

 
gilesjuk's Avatar
 
Member Since: Apr 03, 2007
Posts: 301
gilesjuk has a spectacular aura about
Mac Specs: Black MacBook 2GB, Mac Pro 2.66Ghz 3GB X1900.

gilesjuk is offline
You can type the code on any machine, you won't be able to cross-compile.

The Mono project provides a .NET environment on Linux, Mac OS:

http://www.mono-project.com/Mono:OSX

But this is C# not C++/VB.

Best bet is dual boot or Parallels Desktop.
QUOTE Thanks
Thyamine

 
Thyamine's Avatar
 
Member Since: Apr 23, 2007
Location: Coatesville, PA
Posts: 377
Thyamine will become famous soon enough
Mac Specs: MBP 15", 2.33 GHz, 2Gb

Thyamine is offline
If you want to do something like ASP.Net programming you can do all the work on your system, and then upload the code to an IIS web server to test it. Especially with .Net 2.0 where you don't need to compile the code-behind pages as you did with 1.1.
QUOTE Thanks
knightlie

 
knightlie's Avatar
 
Member Since: Mar 22, 2007
Location: UK
Posts: 1,463
knightlie is just really niceknightlie is just really niceknightlie is just really niceknightlie is just really nice
Mac Specs: Lenovo Z560 Hackintosh -:- '06 iMac -:- iPod Touch 2ndGen

knightlie is offline
There are some confusing answers here, but gilesjuk is correct - running Windows using Parallels or BootCamp is the solution you need. I run Windows 2000 in Parallels for my Java course and it works perfectly.

[URL="http://beadia.net"]Beadia[/URL - Jewelry Business Management Software]
I judge you when you use poor grammar.
QUOTE Thanks
gilesjuk

 
gilesjuk's Avatar
 
Member Since: Apr 03, 2007
Posts: 301
gilesjuk has a spectacular aura about
Mac Specs: Black MacBook 2GB, Mac Pro 2.66Ghz 3GB X1900.

gilesjuk is offline
Quote:
Originally Posted by knightlie View Post
There are some confusing answers here, but gilesjuk is correct - running Windows using Parallels or BootCamp is the solution you need. I run Windows 2000 in Parallels for my Java course and it works perfectly.
Indeed. The original post doesn't make clear if the programming is just general programming or programming for a specific OS.

If you want to make use of Microsoft classes and libraries then you need to program on Windows with VC++.

If you want to do general C++ programming using the standard C++ libraries then you can do so on most OSes. However once you start using threads this is where the OSes will differ. Unix systems typically provide a fork() call which creates a new thread. With Windows you use another more fiddly method.
QUOTE Thanks
musicforme

 
Member Since: Mar 20, 2007
Location: Grapevine, Tx
Posts: 22
musicforme is on a distinguished road
Mac Specs: Early 2008 Mac Pro - 500 GB HD - 6 GB Ram

musicforme is offline
I don't see it mentioned much here in the forums, but look into Apple's ADC Student Membership (http://developer.apple.com/products/student.html). I found about it via a Google search and some threads from here showed up.

From what I've read, the savings on the hardware is worth the $99 you pay plus programming related resources too. The pricing appears to be even better than the educational pricing.

I personally plan on going this route in the Fall once I'm back in school working on my MBA.
QUOTE Thanks
frewegooh

 
Member Since: Apr 29, 2007
Posts: 4
frewegooh is on a distinguished road

frewegooh is offline
sorry, some of this is actually confusing to me. I have done some C++ and VB programming, but only in windows. The reason i have such a concern is cause im sure my teachers will be using a Windows OS. So i need to have my program run on their system. So from what i have gathered so far. I will need to just use Boot Camp and partition a part of my hard drive for Windows. Then boot my windows OS, and create my programs with windows. This will allows my programs to run on other Windows Operating Systems? I just wanna make sure this works before spending the $3,000 on a nice laptop.
QUOTE Thanks
Willem

 
Member Since: Feb 05, 2007
Posts: 145
Willem will become famous soon enough

Willem is offline
Yes, you'll be running an actual Windows installation so anything you do will be the same as doing it on an actual Windows machine.
QUOTE Thanks
frewegooh

 
Member Since: Apr 29, 2007
Posts: 4
frewegooh is on a distinguished road

frewegooh is offline
Ok. cool. Just so i know this will work perfectly. Has anyone done this before?

p.s. Sorry if im annoying, but im a college student supporting himself. I cant waste any money. I hate being a poor college student lol.
QUOTE Thanks
Ninjab3ar

 
Ninjab3ar's Avatar
 
Member Since: Jan 22, 2007
Location: Miami, FL
Posts: 338
Ninjab3ar has a spectacular aura about
Mac Specs: MacBook Pro 2.16ghz Core Duo | 1GB RAM | 100 GB HDD | 256MB ATI RADEON x1600

Ninjab3ar is offline
You're learning how to program for Windows, logic tells me you NEED to get a PC.

Sure, you can use Boot Camp, but its intended for OCCASIONAL USE of windows. Something is telling me you want a Mac just to hop on the "Get a Mac" bandwagon. Seriously i didn't think i would ever say this, but, Get a PC!!!


No Offense, but how does Photography complement Computer Programing?

On top of that Macs arent Necessarily "Better" w/ photo editing (photoshop on the Mac is exactly like on a PC) However, OS X is very multitasking-friendly, making it a better enviroment to work on
QUOTE Thanks
Ninjab3ar

 
Ninjab3ar's Avatar
 
Member Since: Jan 22, 2007
Location: Miami, FL
Posts: 338
Ninjab3ar has a spectacular aura about
Mac Specs: MacBook Pro 2.16ghz Core Duo | 1GB RAM | 100 GB HDD | 256MB ATI RADEON x1600

Ninjab3ar is offline
Quote:
Originally Posted by frewegooh View Post
Ok. cool. Just so i know this will work perfectly. Has anyone done this before?

p.s. Sorry if im annoying, but im a college student supporting himself. I cant waste any money. I hate being a poor college student lol.
Well, I have a Macbook pro w/ BootCamp installed, and i use it for AutoCAD and 3D Studio Max (Both windows-only apps). So far they worked fine and exactly like they would on a comparable pc.
QUOTE Thanks
knightlie

 
knightlie's Avatar
 
Member Since: Mar 22, 2007
Location: UK
Posts: 1,463
knightlie is just really niceknightlie is just really niceknightlie is just really niceknightlie is just really nice
Mac Specs: Lenovo Z560 Hackintosh -:- '06 iMac -:- iPod Touch 2ndGen

knightlie is offline
Quote:
Originally Posted by Ninjab3ar View Post
You're learning how to program for Windows, logic tells me you NEED to get a PC.
To program Windows, you need Windows. Now that Windows can be run in so many different ways, people need to break the link between Windows and PC.

If someone wants to use a Mac in order to do that that's up to them, surely? And bearing in mind reports that Mac's run Windows better than PCs, I think he's got the right idea.

[URL="http://beadia.net"]Beadia[/URL - Jewelry Business Management Software]
I judge you when you use poor grammar.
QUOTE Thanks

Post Reply New Thread Subscribe


« FireFox Issue | What does the "i" stand for? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
problems with programming with a mac? bas8743 Schweb's Lounge 2 01-16-2007 12:51 PM
Apples History.. Bainzey Schweb's Lounge 3 01-11-2007 10:33 PM
Mac info needed nork Switcher Hangout 15 12-01-2006 11:51 AM
Streaming DivX/Xvid/Video_TS from PC to Mac Fedorov Apple Desktops 2 02-18-2006 05:26 PM
It's called a Mac iSheep Schweb's Lounge 22 10-13-2004 05:35 PM

All times are GMT -4. The time now is 05:53 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?