Programming

From The TinkerNet Wiki
Revision as of 15:48, 11 October 2020 by Tinker (talk | contribs) (Created page with " ==Atom as a full IDE== *[https://discuss.atom.io/t/can-i-turn-atom-to-a-full-c-ide/51736/6 Can I turn Atom into a full C++ IDE (forum thread)] *[https://atom.io/packages/gpp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Atom as a full IDE

bash

Dialogs

C

C++

(Apparently, a language designed to make C programmers lose their minds...)

Converting numbers to strings

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

PROGMEM

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...