Categories
Game Development

libSDL – Hello World

#include <iostream> #include <SDL.h> const int WIDTH = 800, HEIGHT = 600; int main(int argc, char* argv[]) { SDL_Init(SDL_INIT_EVERYTHING); SDL_Window* window = SDL_CreateWindow(“Hello SDL World”, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, WIDTH, HEIGHT, SDL_WINDOW_ALLOW_HIGHDPI); // Check that the window was successfully created if (NULL == window) { // In the case that the window could not be made… std::cout << “Could not create window:
Read more…

Categories
Game Development

Simplest libSDL example

Simplest libSDL example

#include <iostream> #include <SDL.h> int main(int argc, char* argv[]) { if (SDL_Init(SDL_INIT_EVERYTHING) < 0) { std::cout << “SDL could not initialise! SDL Error: ” << SDL_GetError() << std::endl; } return EXIT_SUCCESS; }

See https://dangeorgiev.com/add-include-directories-and-libraries-to-visual-studio/

Read more…

Categories
Dekstop IDEs

Add Include Directories and Libraries to Visual Studio

To add Include paths and Libraries

 

 

To Link the Library

This will fix these errors

Copy DLL Files

Add

XCOPY “$(SolutionDir)SDL2-2.0.12\lib\x86\*.DLL” “$(TargetDir)” /D /K /Y

To

Read more…

Categories
Piano

Piano Websites

https://www.pianodreamers.com/ https://www.musicrepo.com/ https://www.midieditor.org/ Read more…

Categories
Music

MIDI Editor

https://www.midieditor.org/

Other links

https://en.wikipedia.org/wiki/Music_sequencer https://en.wikipedia.org/wiki/Comparison_of_MIDI_editors_and_sequencers https://www.reddit.com/r/piano/comments/7hpeh5/software_for_recording_piano_with_midi_cable/ Read more…

Categories
Живот в България

Графики и статистики

World https://www.worldometers.info/ https://www.internetlivestats.com/ https://ourworldindata.org/ https://trends.google.com/trends https://newsinitiative.withgoogle.com/ https://ads.google.com/intl/en_en/home/tools/keyword-planner/ https://www.google.com/publicdata Gold https://goldprice.org/ Money https://www.xe.com/currencyconverter/ Write in Google 1 USD to BGN 1 EUR to BGN
Read more…

Categories
Живот в България

Пари

Купуване на имоти https://www.imot.bg/pcgi/imot.cgi https://sales.bcpea.org/ Акции https://www.interactivebrokers.com/ https://www.etoro.com/ Банки ДСК Портфейли Revolut Инструменти PayPal ePay EasyPay Еконт myPOS Revolut Обмен на валута https://tavex.bg/ Злато https://tavex.bg/ Други активи Автомобили
Read more…

Categories
Живот в България

Подписване на документи

За да се подписват документи ползваме приложение за писане върху PDF документи Примерни приложения PDF Extra – Scan, Edit, View, Fill, Sign, Convert https://play.google.com/store/apps/details?id=com.mobisystems.mobiscanner Adobe Fill & Sign: Easy PDF Doc & Form Filler https://play.google.com/store/apps/details?id=com.adobe.fas След това го запазваме и изпращаме или качваме в
Read more…

Categories
Piano

The Piano Chords

A chord is simply 3 or more (particular) notes that when played together make a ‘FULL’ sound If this full sound is played rhythmically and various chords are used in a certain sequence, a nice background sound can be created for melodies or lyrics (vocals) Let’s play a very basic chord – the chord of C Use your right hand
Read more…

Categories
Piano

The Piano Keyboard Notes

The White keys See how there are two black keys then three black keys – then two again – then three and so on Each pattern contains the SAME 12 notes but at higher or lower pitches. Think of Mickey Mouse singing a high C note and Pavarotti singing a low C note – same note but at
Read more…