Results 1 to 3 of 3

Thread: programming

  1. #1

    Member Since
    Apr 06, 2009
    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

  2. #2

    eddielee's Avatar
    Member Since
    Sep 19, 2008
    Nottingham, UK
    20" iM ac,13.3" Aluminium Unibody Macbook, iPhone 4
    Sure, if you post the code I will take a look for you.
    Thanks, Eddie
    Software Engineering Student, NTU

  3. #3

    Member Since
    Aug 01, 2008
    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 Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 05-29-2012, 05:32 PM
  2. Programming
    By Jonablink23 in forum iOS Development
    Replies: 1
    Last Post: 10-20-2011, 02:50 PM
  3. c++ programming help!
    By ji4o90d in forum OS X - Operating System
    Replies: 3
    Last Post: 10-17-2011, 08:27 PM
  4. C programming
    By juco in forum OS X - Apps and Games
    Replies: 6
    Last Post: 05-19-2006, 06:52 PM
  5. programming
    By kakosc in forum Schweb's Lounge
    Replies: 6
    Last Post: 01-09-2004, 11:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts