• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A few beginner questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A few beginner questions


  • Subject: Re: A few beginner questions
  • From: matty jones <email@hidden>
  • Date: Mon, 7 Apr 2008 12:18:22 -0400


On Apr 7, 2008, at 12:07 PM, Keary Suska wrote:
on 4/7/08 9:32 AM, email@hidden purportedly said:

I have been reading through the Becoming an XCoder pdf and the user
Guids for XCode and I can't figure something out. In the guide it
gives you a sample program that calculates the area of a circle and a
rectangle, it says to press the build and go button and the results
will be displayed in the run log. I cannot find the runlog box. I
found a box called build results that displays the results, errors and
the returned state but not a box that displays the output of the
program. I have no errors in the code according to XCode. Do I have to
enable something to display the results or am I hitting the wrong
button?

What you are looking for is the "console". It sounds like you may have the
three-page all-in-one view in Xcode 3. In Xcode 3, the console window only
seems to show in the debugger window, so you can go to the debugger
(Run->Debugger menu). IIRC, in Xcode preferences, in the "debugging"
options, I set "On Start" to "Show Console" to show the debugger/ console on
run. I may be wrong about that, but it sounds right.


I am in a Visual Basic course right now and my teacher is having us
declare variables with Hungarian notation. I have been coding C and
Bash shell scripts in Linux for a few years and have never done it,
nor have I ever seen it in a book.

Sounds like your teacher is rather old-school. What you describe is a
convention commonly known as Hungarian "System" notation. Originally
developed for use in a non-typed language, it found usefulness in
strongly-typed structured languages. There are good reasons or using it, but
I believe most modern compilers can detect the types of issues that the
convention is trying to prevent (such as trying to stuff an int into a
char), and in any case other conventions have superseded it.


In particular you will find that Objective-C/Cocoa tends to use a convention
similar to the Hungarian "Apps" notation, were the purpose of the symbol is
incorporated into the name, although not always (or usually) as a prefix.


Best regards,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"



Thanks for the tips, you were right. You are right about the teacher he tells us the same sad story every week about being a cobol and ada programmer in the 70's then getting into web design and then Visual Basic and Visual C++. It is useless to try and speak up in the class, teacher knows best I guess.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: A few beginner questions
      • From: "Jason Sallis" <email@hidden>
References: 
 >Re: A few beginner questions (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: A few beginner questions
  • Next by Date: Re: A few beginner questions
  • Previous by thread: Re: A few beginner questions
  • Next by thread: Re: A few beginner questions
  • Index(es):
    • Date
    • Thread