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.

programming


Thread Closed

 
Thread Tools
spaghettifier

 
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

 
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
jivhg

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

All times are GMT -4. The time now is 10:41 PM.

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?