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 Array

Getting "(lldb)" when run this program

When I run the following program I get the result (IIdb)

int main() {

float numbers_geeks_love[3];
numbers_geeks_love[0] = 3.1415;
numbers_geeks_love[1] = 1.6180;
numbers_geeks_love[2] = 1.1412;

printf("PI %f\n", numbers_geeks_love[1]);
printf("golden ratio %f\n", numbers_geeks_love[2]);

return 0;


1 Answer

Travis Golob
Travis Golob
8,794 Points

That means you have a breakpoint set on a line and it's pausing execution of the program. There should be a highlighted bracket on the left side of the code window that shows you which line it's breaking at.