Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Objective-C Basics (Retired) Fundamentals of C Variables

zaakir Hamzavi
PLUS
zaakir Hamzavi
Courses Plus Student 307 Points

first time coding really frustrated

In the video you type the program but how did you get that 9 over 6 symbol

4 Answers

Ben Falk
Ben Falk
3,167 Points

Do you mean the percent symbol? "%". It's on your keyboard on the "5" key -- press Shift and 5 at the same time to type that symbol.

If you are referring to the module symbol (%), you get it from Shift+5, but if you look for the division one (/) just type Shift+7

Ben Falk
Ben Falk
3,167 Points

Just out of curiosity... maybe it differs depending on your keyboard's language... but isn't Shift+7 an ampersand?

Sorry about that. Yes, it differs quite a bit. I'm using an Spanish ISO layout... in my case the ampersand comes from Shift+6.

zaakir Hamzavi
PLUS
zaakir Hamzavi
Courses Plus Student 307 Points

Thank you all very much i figured it out it was easy but took a while to figure out. Also I wanted to know is coding in c just really hard to learn at start. I have never had any experience at all before this

Ben Falk
Ben Falk
3,167 Points

My impression is that yes, coding in C or Objective-C is a significant step from learning PHP or Ruby or similar web based languages. At least for me, my challenge isn't usually the core language, since there are a lot of similarities if you are familiar with web programming, but understanding the various APIs and how all the different APIs work together.

Just stick with it, and it does get easier the more you do it. Just be prepared for a pretty sharp learning curve if you haven't done much programming before, and probably a bit of frustration. I really wouldn't suggest learning coding for the first time with Objective-C. Maybe the upcoming Swift language will make this easier, but there are a lot of general concepts and programming basics that are helpful to know, and Objective-C and programming using Cocoa Touch throws a lot at you all at once.