Timeline for Speed, distance and time calculator
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 5, 2014 at 19:07 | history | edited | Frederik Aalund | CC BY-SA 3.0 | Included the wrong file |
| Nov 5, 2014 at 18:49 | comment | added | Frederik Aalund | @exitc0de, Here is a working code sample using a C++14 compiler. Make sure that you have enabled C++14 in Xcode. | |
| Nov 5, 2014 at 18:42 | comment | added | exitcode | I get error: 'auto' return without trailing return type. When swapping double with auto in calcSpeed. Do I need to include something? - It highlights it and everything, Xcode 6 uses clang 6 which compiles C++ 14 as well. | |
| Nov 5, 2014 at 14:40 | comment | added | Frederik Aalund | @exitc0de, Yes, Xcode 6 can compile both C++11 and C++14. http://en.cppreference.com is my personal go to reference for C++ (be it 99/03/11/14/1z). Heres a good list of C++ books. I can personally recommend Scott Meyer's "Effective C++", "Effective STL", and the recent "Effective Modern C++". The videos from CppCon are also an excellent resource. | |
| Nov 5, 2014 at 14:07 | comment | added | exitcode | This is why I am learning C++. Such a fantastic language and so many time saving features you can use. Very powerful. Anyhow, thanks for your revision. REALLY helpful considering I know nothing about more recent versions of C++. I'm pretty sure you can get Xcode to compile C++ 11/14 as well. Is cpp-reference the best resource for learning the newer additions to the language? Might try and find some books I can read as well. Thanks again for your answer. | |
| Nov 5, 2014 at 10:57 | comment | added | Frederik Aalund | @exitc0de, I'm glad it helped. I've added a section on C++11 and C++14. | |
| Nov 5, 2014 at 10:57 | history | edited | Frederik Aalund | CC BY-SA 3.0 | Added C++11 and C++14 specific suggestions. |
| Nov 4, 2014 at 21:08 | comment | added | exitcode | You mentioned that I am using C++ 03. I assume I am, but XCode 6 will compile C++ 11 code, are there any improvements I could make/useful alternatives that are new in recent versions of C++. I would like to learn as much as possible of C++, so if there is anything it will be helpful. Thanks for your answer, really helped - have edited program accordingly. | |
| Nov 3, 2014 at 8:01 | vote | accept | exitcode | ||
| Nov 2, 2014 at 22:14 | history | answered | Frederik Aalund | CC BY-SA 3.0 |