C/C++ Compilers for Windows/Mac

G

GettingByOk

Hi,

Sorry if my question will offend anyone, not intentional.... I'm a long-time
PC user :) But I'll be writing a program for creative pros, many of whom use
Macs.

Is there a good, inexpensive, easy to use C or C++ compiler that I can use
to write a program for Windows and Mac? Or that will compile on Windows and
Mac?

I need to do basic operations like create/move/delete directories, a JPEG
logo, display status windows and write out an ASCII file. I plan on sticking
as much as possible to K&R C, at least at first, so if I have to use separate
compilers I can hopefully compile and run the same code on both platforms
(with changes for directory commands, etc. I suppose). I intend to write this
program and sell it.

For background, I did a little C programming years ago, more in Pascal but
do have a computer science degree so I'm not a complete beginner. But I know
I could be stepping into a quagmire if I'm not careful so I'd like to get
experienced guidance.

Thanks,
Robert
 
J

Jim

GettingByOk said:
Hi,

Sorry if my question will offend anyone, not intentional.... I'm a
long-time
PC user :) But I'll be writing a program for creative pros, many of whom
use
Macs.

Is there a good, inexpensive, easy to use C or C++ compiler that I can use
to write a program for Windows and Mac? Or that will compile on Windows
and
Mac?

I need to do basic operations like create/move/delete directories, a JPEG
logo, display status windows and write out an ASCII file. I plan on
sticking
as much as possible to K&R C, at least at first, so if I have to use
separate
compilers I can hopefully compile and run the same code on both platforms
(with changes for directory commands, etc. I suppose). I intend to write
this
program and sell it.

For background, I did a little C programming years ago, more in Pascal but
do have a computer science degree so I'm not a complete beginner. But I
know
I could be stepping into a quagmire if I'm not careful so I'd like to get
experienced guidance.

Thanks,
Robert
The places to inquire would be comp.lang.c and comp.lang.c++.

Jim
 
T

Thee Chicago Wolf (MVP)

Hi,
Sorry if my question will offend anyone, not intentional.... I'm a long-time
PC user :) But I'll be writing a program for creative pros, many of whom use
Macs.

Is there a good, inexpensive, easy to use C or C++ compiler that I can use
to write a program for Windows and Mac? Or that will compile on Windows and
Mac?

I need to do basic operations like create/move/delete directories, a JPEG
logo, display status windows and write out an ASCII file. I plan on sticking
as much as possible to K&R C, at least at first, so if I have to use separate
compilers I can hopefully compile and run the same code on both platforms
(with changes for directory commands, etc. I suppose). I intend to write this
program and sell it.

For background, I did a little C programming years ago, more in Pascal but
do have a computer science degree so I'm not a complete beginner. But I know
I could be stepping into a quagmire if I'm not careful so I'd like to get
experienced guidance.

Thanks,
Robert

I think GCC teamed up with glibc would work for you. DO search
searching on Google for the two for Mac OS.
 
G

GettingByOk

Thanks. Actually I downloaded Express Edition a week or two ago and
installed it, but it asked for a product registration key. I read elslewhere
on a Google search that it was free through Nov 2007. Is there a defaultl key
to enter?

If it's not too expensive I could just buy it, not a problem. Also, I can
post further questions to the language forum if this is the wrong forum per
the other respondent.

Thanks again,
Robert
 
G

Guest

With the Express version you can use the HELP menu to register. You can
login using a Windows Live account which will give you a serial number for
free that you can enter

I have 2 versions; Professional & Team Suite. I downloaded the latter for
free using my MSDN Platinum Subscription but bought Professional

Borland used to have an archive section where you can download an older
version for free
 
G

GettingByOk

Thank you.

SPAMCOP User said:
With the Express version you can use the HELP menu to register. You can
login using a Windows Live account which will give you a serial number for
free that you can enter

I have 2 versions; Professional & Team Suite. I downloaded the latter for
free using my MSDN Platinum Subscription but bought Professional

Borland used to have an archive section where you can download an older
version for free
 
R

Roy Smith

GettingByOk said:
If it's not too expensive I could just buy it, not a problem. Also, I can
post further questions to the language forum if this is the wrong forum per
the other respondent.

Well actually this is the Windows XP General message area, so it's
really not tied to a specific topic as long as it involves using Windows
XP in some manner. Though the chances are slim that you'll find many
people who are proficient C or C++ programmers here. In effect all the
other person was saying is that you would have a much better chance at
getting more responses at the other message forum that was suggested.
 
G

GettingByOk

Roy,
Thanks. That makes sense and I'll try it. This forum area has been quite
helpful in getting me started.
Robert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top