Difference between revisions of "Programming"
Jump to navigation
Jump to search
(→C) |
(→bash) |
||
Line 16: | Line 16: | ||
**<span class="title">Ooohhh... it IS better!</span> | **<span class="title">Ooohhh... it IS better!</span> | ||
***[http://www.thelinuxrain.com/articles/the-buttons-of-yad <span class="title">Buttons example</span>] | ***[http://www.thelinuxrain.com/articles/the-buttons-of-yad <span class="title">Buttons example</span>] | ||
− | </div> | + | </div> |
+ | |||
+ | === Some Links === | ||
+ | |||
+ | * [https://linuxconfig.org/bash-printf-syntax-basics-with-examples Bash printf syntax basics] | ||
+ | |||
==C== | ==C== | ||
Line 29: | Line 34: | ||
*[http://www.cplusplus.com/reference/cstdlib/itoa/ itoa - C++ Reference] | *[http://www.cplusplus.com/reference/cstdlib/itoa/ itoa - C++ Reference] | ||
− | === Problem Solving === | + | ===Problem Solving=== |
− | * <code>Error] cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string<char>}' through '…'</code> | + | *<code>Error] cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string<char>}' through '…'</code> |
− | ** [https://stackoverflow.com/questions/23450300/error-cannot-pass-objects-of-non-trivially-copyable-type-stdstring-aka-clas/23450339 Discussion & Solution] | + | **[https://stackoverflow.com/questions/23450300/error-cannot-pass-objects-of-non-trivially-copyable-type-stdstring-aka-clas/23450339 Discussion & Solution] |
==Processing== | ==Processing== |
Revision as of 13:38, 27 January 2021
Contents
Atom as a full IDE
- Can I turn Atom into a full C++ IDE (forum thread)
- gpp-compiler
- Creating a toolbar in Atom
bash
Dialogs
- Text Entry Dialog using zenity
- Maybe YAD would be better...
- Examples
- Ooohhh... it IS better!
Some Links
C
C++
(Apparently, a language designed to make C programmers lose their minds...)
Converting numbers to strings
Problem Solving
Error] cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string<char>}' through '…'
Processing
JavaScript
Arduino (Language)
Data Type Conversions
char* to String
char *message = "Hello";
String myString = String(message);
String to char*
Messing about with strings & not Strings
http://www.cplusplus.com/reference/cstring/
Specifically: strcat
Memory Saving
Troubleshooting
When trying to compile things on a Linux machine...
You get silly-ass errors like fatal error: stdio.h: No such file or directory or other files missing that just don't make ANY sense...
sudo apt update
sudo apt install --reinstall build-essential
'Coz sumpin' borked yer compiler install...