c++ - Xcode 6 Beta 3 Unusable Variable Issue -


so novice c++ programmer, , have never coded on macos. using xcode 6 beta 3 , getting unusable variable error whenever want name variable integer.

my setup looks this

#include <iostream> using namespace std; int main () {     int a;     cout << "hello world!" << endl;     return 0; } 

i getting warning sign beside int a; saying unusable variable. why that?

also because such novice question perhaps direct me solid xcode 6 tutorials teach me how code in command line.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -