so this is my first while loop, i dont understand why it wont actually run after it builds in xcode.. the build is always successful but there is never any output and the program just constantly repeats itself. but it works perfectly fine on my built in bash terminals mini editor: nano.
anyone have any idea why??
#include <iostream>
using namespace std;
int main(){
int i = 0;
while (i < 10) {
cout << "i = " << i << endl;
i++;
}
return 0;
}