~/.config/Code - OSS
so huge omg\n
... unneccessary return... 4 space indent.... 5/10true
and false
int main() {
std::cout << "hi\n";
}
main.cpp:8:49: Warnung: keine return-Anweisung in nicht void zurückgebender Funktion [-Wreturn-type]
8 | int do_func() { std::cout << "Hello, World!\n"; };
ah okay it merely gives a -Wreturn-type
main.cpp:8:49: Warnung: keine return-Anweisung in nicht void zurückgebender Funktion [-Wreturn-type]
8 | int do_func() { std::cout << "Hello, World!\n"; };
ah okay it merely gives a -Wreturn-type
pacman -Ql <name of package>
// Create a window
SDL_Window* window = SDL_CreateWindow("Simple SDL2 App",
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, SDL_WINDOW_SHOWN);
Just split it enough to avoid long lines, not caring for perfect alignment
Or if I want to be a bit prettier I might go for
// Create a window
SDL_Window* window = SDL_CreateWindow("Simple SDL2 App",
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
640, 480,
SDL_WINDOW_SHOWN);
(edited)// Create a window
SDL_Window* window = SDL_CreateWindow("Simple SDL2 App",
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, SDL_WINDOW_SHOWN);
Just split it enough to avoid long lines, not caring for perfect alignment
Or if I want to be a bit prettier I might go for
// Create a window
SDL_Window* window = SDL_CreateWindow("Simple SDL2 App",
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
640, 480,
SDL_WINDOW_SHOWN);
(edited)SDL_CreateWindow("AW YEAH BABY", 0, 0, 0, 0,SDL_WINDOW_FULLSCREEN | SDL_WINDOW_VULKAN
string.h
:\ segfault | infinite recursion
INTEGER
and MEMORY
public abstract class Entity implements ICommandSender
{
// ...
public World world;
public double prevPosX;
public double prevPosY;
public double prevPosZ;
public double posX;
public double posY;
public double posZ;
// ...
}
Opened up an old modding project just to be sure :P