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 trialMichael whitney
731 PointsAlthough I have checked at least ten times that the code is how it is in the video, I get 4 errors compiling it.
I get 4 errors when I compile the code and I can't see why. I get a couple of errors for Illegal characters and a couple for expected identifier?
2 Answers
David van Pelt
2,058 PointsYou probably did set the lines outside the function main. Make sure it's inside both { }.
mohmmed alyzeedy
Courses Plus Student 876 Points1 - make sure that you type a String with capital S
2 - then inside brackets write double quotation not single quotation ( " " );
i think, these are errors
Ken Alger
Treehouse TeacherKen Alger
Treehouse TeacherMichael;
Welcome to Treehouse!
Can you post the code you are trying and I'm sure someone here on the forum will be able to help out.
Ken