compiling a console progarm in OS 10 Yosemite

Everything else that doesn't fall into one of the other PB categories.
DPGeorge
New User
New User
Posts: 3
Joined: Mon Jan 05, 2015 3:01 am

compiling a console progarm in OS 10 Yosemite

Post by DPGeorge »

So I wrote this simple console program to do integer factoring and ran it on my windows box. Works like a charm. I brought the code over to my Mac to see if I could get it to run on my iMac running Yosemite.

1. The debugger function keys to not work (you know f8 to single step f9 to set a break point etc,)

2. It doesn't bring up the Mac console. the input() command for example does not work (or at least nothing happens when it executes?)

Thoughts anybody?! What should i do?


MANY THANKS

-Don
jack
Addict
Addict
Posts: 1359
Joined: Fri Apr 25, 2003 11:10 pm

Re: compiling a console progarm in OS 10 Yosemite

Post by jack »

in compiler options select console format.
DPGeorge
New User
New User
Posts: 3
Joined: Mon Jan 05, 2015 3:01 am

Re: compiling a console progarm in OS 10 Yosemite

Post by DPGeorge »

Thank you so much for the info Jack. I tried it and it worked fine!

I'm a dummy! *sigh*

-Don
Post Reply