Answer the question
In order to leave comments, you need to log in
How to change the "start" code when creating a Command Line Tool project in XCode?
When you create a Command Line Tool project in XCode, the main file automatically contains the code to run "Hello World!"
//
// main.cpp
// test
//
// Created by Denis on 02.10.15.
// Copyright © 2015 Denis. All rights reserved.
//
#include <iostream>
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question