Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Programing in C

Programing in C
Thread Tools
Junior Member
Join Date: Sep 2002
Location: Evanston, Illinois
Status: Offline
Reply With Quote
Sep 24, 2003, 01:48 PM
 
First off i didn't know where to put this:

I am taking my first programming class at College and today was my first day of classes.

And in my comp sci class we are learning C
and will be using Visual Studio during class and lab time.

But i want to be able to do the coding and compiling on my computer and make it executable on a windows computer, can Developer's tools do this?

Or what can i do?

The programs must be windows compatible for grading.

This sucks, i don't want to spend long hours in the lab; i want to be able to do it on my powerbook.

Please help me.
That's just my opinion. What do I know, I'm just a college student.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Sep 24, 2003, 02:08 PM
 
If you have to produce Windows binaries, you have two choices -- CodeWarrior's cross compiler, or Virtual PC.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Senior User
Join Date: Feb 2003
Location: Atlanta
Status: Offline
Reply With Quote
Sep 24, 2003, 05:50 PM
 
I'm not sure I understand what you are saying. Do you mean the class actually requires you to turn in a binary file? All colleges I have ever heard of (including mine) want you to turn in source, not compiled programs (especially for beginning CS classes). And even if this is the requirement, why would you have to spend hours in labs? C works basically the same on most systems. Get it to work on you Powerbook, then take the source file to the machine you are compiling for and compile it there. If there are one or two details to change, it shouldn't be much.
2.16 Ghz Core 2 Macbook, 3GB Ram, 120 GB
     
Junior Member
Join Date: Sep 2002
Location: Evanston, Illinois
Status: Offline
Reply With Quote
Sep 24, 2003, 07:55 PM
 
I talked to my professor and he basically likes the fact that Visual Studio checks syntax and then we will be compiling some times, but other turning in source code.

coolmacdude - what program can i use to make C on my mac, and will it check syntax for me like Visual Studio?
That's just my opinion. What do I know, I'm just a college student.
     
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status: Offline
Reply With Quote
Sep 24, 2003, 08:13 PM
 
Originally posted by ZeroKoolNess1:
I talked to my professor and he basically likes the fact that Visual Studio checks syntax and then we will be compiling some times, but other turning in source code.

coolmacdude - what program can i use to make C on my mac, and will it check syntax for me like Visual Studio?
Apple's free "Project Builder" will take care of all your C programming needs (including syntax checking - at compile time). The only thing it won't do, is compile a Windows executable.

You can download it with Apple'
s Developer Tools, or look for the installer already on your Mac, if it came with OS X.
     
Junior Member
Join Date: Sep 2002
Location: Evanston, Illinois
Status: Offline
Reply With Quote
Sep 24, 2003, 09:32 PM
 
Thanks,

I was wondering if Project builder could do it.
That's just my opinion. What do I know, I'm just a college student.
     
Mac Elite
Join Date: Aug 2001
Status: Offline
Reply With Quote
Sep 24, 2003, 09:45 PM
 
Originally posted by ZeroKoolNess1:
Thanks,

I was wondering if Project builder could do it.
It can't, however, make Windows apps. If you can turn in source code it should do just fine.
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 07:11 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2