🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • toastcrunch
    toastcrunch
    481 Points

    Why is it c and not *c when calling the make Sphere function in the main()?

    Posted August 19, 2015 1:32pm by toastcrunch
    toastcrunch
    481 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    0 Answers

  • Ankit Singh
    PLUS
    Ankit Singh
    Courses Plus Student 1,752 Points

    What is tds aspect of programing which Mr Douglass has said in the last part of the objective-c struct video

    Posted August 17, 2015 12:49pm by Ankit Singh
    Ankit Singh
    Courses Plus Student 1,752 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    4 Answers

  • Laurie Gray
    Laurie Gray
    23,119 Points

    Is a struct kind of like an Object in this example?

    Posted May 7, 2015 10:48am by Laurie Gray
    Laurie Gray
    23,119 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    2 Answers

  • azumi yuan
    azumi yuan
    3,126 Points

    sorry i really don't get this video can someone please teach me what's struct about?

    Posted April 27, 2015 10:30am by azumi yuan
    azumi yuan
    3,126 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    1 Answer

  • ruo pu koh
    ruo pu koh
    2,669 Points

    Confusing example.

    Posted March 16, 2015 12:09am by ruo pu koh
    ruo pu koh
    2,669 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    1 Answer

  • Ryan Jin
    Ryan Jin
    15,337 Points

    Why it is *c

    Posted March 12, 2015 10:52am by Ryan Jin
    Ryan Jin
    15,337 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    0 Answers

  • Antoine Guenet
    Antoine Guenet
    2,843 Points

    Why declare variables c and r in main() ?

    Posted February 22, 2015 8:42pm by Antoine Guenet
    Antoine Guenet
    2,843 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    1 Answer

  • Humza Choudry
    Humza Choudry
    237 Points

    Before main() and after main()...?

    Posted February 9, 2015 5:23am by Humza Choudry
    Humza Choudry
    237 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    2 Answers

  • Tayyab Hanif
    Tayyab Hanif
    3,601 Points

    Is the use of function necessary in struc ?

    Posted December 24, 2014 11:29am by Tayyab Hanif
    Tayyab Hanif
    3,601 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    1 Answer

  • Greyson Morrow
    Greyson Morrow
    279 Points

    Why a pointer for c and not for r

    Posted November 5, 2014 7:00pm by Greyson Morrow
    Greyson Morrow
    279 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    2 Answers

  • Mike Lange
    Mike Lange
    794 Points

    Following this tutorial I receive errors in xCode 6 - Implicit declaration of function makeSphere invalid

    Posted October 13, 2014 5:00am by Mike Lange
    Mike Lange
    794 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    2 Answers

  • Chris K
    Chris K
    7,425 Points

    Why are some things declared before int main() and some things after the return?

    Posted October 12, 2014 2:43am by Chris K
    Chris K
    7,425 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    3 Answers

  • Akhilesh Bhartiya
    PLUS
    Akhilesh Bhartiya
    Courses Plus Student 355 Points

    pointer in c

    Posted September 5, 2014 4:42am by Akhilesh Bhartiya
    Akhilesh Bhartiya
    Courses Plus Student 355 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    1 Answer

  • Tristan Gaebler
    Tristan Gaebler
    6,204 Points

    Please explain structs for me!

    Posted August 29, 2014 12:57am by Tristan Gaebler
    Tristan Gaebler
    6,204 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    1 Answer

  • Anusha Chillara
    Anusha Chillara
    2,047 Points

    Sphere makeSphere

    Posted June 22, 2014 12:02am by Anusha Chillara
    Anusha Chillara
    2,047 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    2 Answers

  • bronnyreinhardt
    bronnyreinhardt
    1,007 Points

    Encapsulation

    Posted June 9, 2014 11:28am by bronnyreinhardt
    bronnyreinhardt
    1,007 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    2 Answers

  • Daniel Behar
    Daniel Behar
    487 Points

    Question about using a pointer as a parameter when declaring makeSphere()

    Posted May 25, 2014 12:50pm by Daniel Behar
    Daniel Behar
    487 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    1 Answer

  • Kingsley Peh
    Kingsley Peh
    450 Points

    Is it mandatory to use a * annotation to accept array as parameter in a function ?

    Posted April 27, 2014 4:34pm by Kingsley Peh
    Kingsley Peh
    450 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    1 Answer

  • Chee Mervin
    PLUS
    Chee Mervin
    Courses Plus Student 4,195 Points

    Colour coded text in with regards to after declaring a struct item.

    Posted April 27, 2014 6:45am by Chee Mervin
    Chee Mervin
    Courses Plus Student 4,195 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    2 Answers

  • Sebastian Nitu
    Sebastian Nitu
    8,616 Points

    Why does Xcode ask me for ";"?

    Posted March 13, 2014 3:19pm by Sebastian Nitu
    Sebastian Nitu
    8,616 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    7 Answers

  • Robert Kwiat
    Robert Kwiat
    5,349 Points

    Is there a \n for objective c

    Posted March 3, 2014 12:00pm by Robert Kwiat
    Robert Kwiat
    5,349 Points
    • iOS
    • Objective-C Basics (Retired)
    • Pointers and Memory
    • Structs

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.