Changes between Version 13 and Version 14 of code/FAQ
- Timestamp:
- Apr 11, 2017, 11:35:14 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/FAQ
v13 v14 1 1 = FAQ = 2 [[TracNav(TracNav/TOC_Development)]]3 2 [[TOC(inline, heading=Questions)]] 4 3 … … 6 5 7 6 === Where's the makefile? === 8 We use [wiki: CMake] as build system. Read [wiki:CMake the wikipage] for more information.7 We use [wiki:tools/CMake CMake] as build system. Read [wiki:tools/CMake the wikipage] for more information. 9 8 10 9 === This Styleguide shit is a joke, right? My code just has to work! === 11 No, you're code has to work AND be readable and understandable. Of course every piece of code can be understood somehow, but we don't want to puzzle. So, please, write your code in a common form. The [wiki: c++_styleguide styleguide] helps you on this topic.10 No, you're code has to work AND be readable and understandable. Of course every piece of code can be understood somehow, but we don't want to puzzle. So, please, write your code in a common form. The [wiki:C++_styleguide styleguide] helps you on this topic. 12 11 13 12 === Where can I see the Doxygen comments? === 14 [ doxygen:index.htmlHere].13 [/jenkins/view/Management/job/orxonox_doxygen_trunk/javadoc/ Here]. 15 14 16 15 === I can't commit anything === 17 You have to [wiki: SVN checkout] the repository via https. Http is anonymous and therefore can't be used to commit something.16 You have to [wiki:tools/SVN checkout] the repository via https. Http is anonymous and therefore can't be used to commit something. 18 17 19 18 === What's that orxout() crap? === … … 26 25 27 26 === I have to call a function requesting a '!MultiType' but all I've got is an int/float/string/whatever === 28 Just pass your variable to the function. [wiki: MultiType] is a class accepting almost all types of variables. C++ will do an implicit conversion. That's exactly the point about the !MultiType: no matter what you've got, you can call that fu**ing function.27 Just pass your variable to the function. [wiki:doc/MultiType MultiType] is a class accepting almost all types of variables. C++ will do an implicit conversion. That's exactly the point about the !MultiType: no matter what you've got, you can call that fu**ing function. 29 28 30 29 === I have to calculate something complicated, are there some helping functions? === 31 Probably not, but check out [wiki: Math] to be sure. If your calculation is of common interest, please put it into util/Math.h too.30 Probably not, but check out [wiki:doc/Math Math] to be sure. If your calculation is of common interest, please put it into util/Math.h too. 32 31 33 32 === I have to manipulate a string, are there some helping functions? === 34 Maybe, check out [wiki: String] to get an overview of the existing functions. If your stringmanipulation function is of common interest, please put it into util/String.h too.33 Maybe, check out [wiki:doc/String String] to get an overview of the existing functions. If your stringmanipulation function is of common interest, please put it into util/String.h too. 35 34 36 35 === I want to split a string into multiple tokens === 37 Use [wiki: SubString].36 Use [wiki:doc/SubString SubString]. 38 37 39 38 === How can I convert a string into a number? === 40 Use [wiki: Convert] or [wiki:MultiType].39 Use [wiki:doc/Convert Convert] or [wiki:doc/MultiType MultiType]. 41 40 42 41 === How can I convert typeX into typeY? === 43 Use [wiki: Convert] or [wiki:MultiType] too, it's almighty.42 Use [wiki:doc/Convert Convert] or [wiki:doc/MultiType MultiType] too, it's almighty. 44 43 45 44 === I had a look into util/Convert.h... what the hell is that? Hieroglyphics? === … … 50 49 51 50 === Why not using const char*? === 52 Trust me, you really don't want to do this. [wiki:FAQ _coding#Whatisstd::stringandwhatshouldIknowaboutit std::string] is SO much easier, it's like day and night. Or like heaven and hell if you excuse the sanctimoniousness.51 Trust me, you really don't want to do this. [wiki:FAQ#Whatisstd::stringandwhatshouldIknowaboutit std::string] is SO much easier, it's like day and night. Or like heaven and hell if you excuse the sanctimoniousness. 53 52 54 53 === What is std::list / std::set / std::map / std::vector / std::stack / std::queue / std::pair? === … … 59 58 60 59 === I can't copy text from the clipboard into the Orxonox Shell === 61 Pasting [wiki: Clipboard] content works via CTRL+V or SHIFT+INS. If you're sure you're pressing the right keys, your OS might just not be supported by util/Clipboard.cc. Feel free to implement a version for your OS.60 Pasting [wiki:doc/Clipboard Clipboard] content works via CTRL+V or SHIFT+INS. If you're sure you're pressing the right keys, your OS might just not be supported by util/Clipboard.cc. Feel free to implement a version for your OS.