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
OS X - Development and Darwin Discussion and questions about development for Mac OS X.


Thread Closed

Thread Tools

Member Since: Apr 06, 2009
Posts: 1
spaghettifier is on a distinguished road

spaghettifier is offline
Hi, i am taking an independent study programming class and have decided to program on a mac using xcode, it is a relativity program and uses the same text fields for input and output. The mathematics in it is sound but the program keeps giving numbers that are absolutely unrelated to anything. i will post the code with the mathematics in it if someone feels they can help

eddielee's Avatar
Member Since: Sep 19, 2008
Location: Nottingham, UK
Posts: 302
eddielee is on a distinguished road
Mac Specs: 20" iM ac,13.3" Aluminium Unibody Macbook, iPhone 4

eddielee is offline
Sure, if you post the code I will take a look for you.

Thanks, Eddie
Software Engineering Student, NTU

Member Since: Aug 01, 2008
Posts: 6
jivhg is on a distinguished road

jivhg is offline
Are you using the same type of instance variable for displaying your output.

For instance, you could be displaying it with ...@"%f", myInteger... which would be incorrect because you'd need to make "%f" to be "%d" or "%i" for it to display correctly.

Thread Closed

« Palettes | About the parser for dashboard »
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 Starter
Last Post
Mackbook or MBP for programming smilemoveon Apple Notebooks 5 02-13-2008 08:55 AM
Programming language rated knightjp OS X - Development and Darwin 8 09-30-2007 09:37 AM
Need advice on programming. HareshKainth OS X - Development and Darwin 3 10-09-2005 02:33 PM
Robotic NQC Programming ApplejustWorks Schweb's Lounge 0 01-31-2005 06:28 AM
Programming on the Mac natey OS X - Development and Darwin 4 06-29-2004 06:05 AM

All times are GMT -4. The time now is 04:26 AM.

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

Welcome to

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?