Archive for the ‘C++’ Category

Qt: Inhalt einer QMap ausgeben

Donnerstag, Mai 2nd, 2024

Beispiel:

for(auto key : themap.keys())
{
qDebug() << key << ":" << themap.value(key); }

The Fear Of Adding Classes

Mittwoch, Juli 1st, 2020

http://wiki.c2.com/?FearOfAddingClasses

GUID erzeugen (MinGW)

Donnerstag, Mai 9th, 2019

#define APPGUID "XXXXXXXX-49DC-452D-BD0A-4318719DE9B9"
// mit uuidgen erzeugt

static bool TestAppRunning()
{
  bool r = false;

  #ifdef _WIN32
  CreateMutexA(NULL, TRUE, APPGUID)
  if (GetLastError() == ERROR_ALREADY_EXISTS)
  {
    r = true;
  }
  #endif
  return r;
}




Neuronale Netzwerke – Links

Freitag, Juli 20th, 2018

https://www.learnartificialneuralnetworks.com/neural-network-software/backpropagation-source-code/

https://www.tensorflow.org/versions/r1.0/get_started/mnist/beginners

http://yann.lecun.com/exdb/mnist/

https://www.youtube.com/watch?v=aircAruvnKk&list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi

Projection / Projection Library

Dienstag, Dezember 5th, 2017

http://proj4.org

Qt 5.7.0 Installer-Pakete herunterladen

Freitag, April 22nd, 2016

http://download.qt.io/official_releases/qt/5.12

https://download.qt.io/official_releases/qt-installer-framework/

Quake auf Raspberry PI compilieren

Montag, März 14th, 2016

http://www.raspbian.org/RaspbianQuake3

Xcode Editor

Freitag, November 21st, 2014

Mac Editor:

Einrücken:

CMD ALT 5
CMD ALT 6

HOME: fn LeftArrow
END: fn RightArrow

 

Terminal:

Zum Anfang einer Zeile springen: Shift Home
Zum Ende einer Zeile springen: Shift End

Differenz zwischen C-Pointern

Mittwoch, Oktober 15th, 2014

std::ptrdiff_t
http://en.cppreference.com/w/cpp/types/ptrdiff_t

C++ Set Comparator

Mittwoch, April 30th, 2014

http://stackoverflow.com/questions/2620862/using-custom-stdset-comparator