Trying to get player movement from a class [closed]

I working on my game for the Ludum dare 48 game jam. I decided to learn raylib, the c++ version, to make a game. But my player code doesn’t even work. I have two files:
main.cpp:

#include "raylib.h"  int main() {     const int windowWidth = 1200;     const int windowHeight = 720;     InitWindow(windowWidth, windowHeight, "Ludum Dare 48");     /*Player*/     Player ply;     /*end of Player */     int rot = 0;     int increment = 1;     SetTargetFPS(60);     while (!WindowShouldClose()) {         BeginDrawing();         ClearBackground(RAYWHITE);                  ply.yes(windowWidth/2, windowHeight-50, 30,30);         EndDrawing();     } } 

and player.cpp

#include "raylib.h" class Player {     public:     int playerX;     int playerY;     void yes(int x, int y, int sizeX, int sizeY);     void input();              }; void Player::yes(int x, int y, int sizeX, int sizeY) {     DrawRectangle(x,y,sizeX,sizeY, RED);     if (IsKeyDown(KEY_RIGHT)) {             x++;         }         if (IsKeyDown(KEY_LEFT)) {             x--;         } } 

I get the error:
cc1plus.exe: warning: command line option '-std=c99' is valid for C/ObjC but not for C++

it looks like a compiler error, not an error in my code, but when the class is removed the code runs fine.

DreamHost error when trying to add a domain: “You can’t add that domain: you must add the parent domain”

I have hosting account on DreamHost I want to add my domain (which is registered outside Dreamhost) I have already changed nameservers. my domain is "xxxx.edu.eg" but I have the following problem: "You can’t add that domain: you must add the parent domain edu.eg to your account before adding a subdomain to it." How to solve it and thank you in advance

Server quit without updating PID file when trying to start MySQL server?

So I created my .bash_profile, opened it in a text editor and added:

export PATH=$  PATH:/usr/local/mysql/bin 

and then I saved it. Next, I tried running

sudo /usr/local/mysql/support-files/mysql.server start 

was told to enter my password (so I did), and then terminal said

Starting MySQL  

and then it kept printing dots until it said:

ERROR! The server quit without updating PID file (/usr/local/mysql/data/Nicks-MacBook-Pro.local.pid). 

The error logs look like:

2021-01-25T20:50:49.707062Z 0 [System] [MY-010116] [Server] /usr/local/mysql/bin/mysqld (mysqld 8.0.23) starting as process 15092 2021-01-25T20:50:49.710232Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /usr/local/mysql/data/ is case insensitive 2021-01-25T20:50:49.834599Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2021-01-25T20:50:49.943719Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2021-01-25T20:50:50.037810Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /tmp/mysqlx.sock 2021-01-25T20:50:50.125494Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2021-01-25T20:50:50.126128Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2021-01-25T20:50:50.151069Z 0 [System] [MY-010931] [Server] /usr/local/mysql/bin/mysqld: ready for connections. Version: '8.0.23'  socket: '/tmp/mysql.sock'  port: 3306  MySQL Community Server - GPL. ~ ~ ~ ~ ~ (END) 

How do I fix this?

Trying to find an early D&D module that had a drider lair

I played this module about 25 years back and don’t remember much of it, but it did have these features:

There was a ‘trap’ consisting of a long chain that descended into a pool leading to an underwater tunnel, and eventually dead-ended stapled to a blank rock face, drowning the character who thought they could use the chain to pull themselves to air on the far side.

There was an empty drider lair above the main corridor than you had to climb up into. It was dusty and empty except for one 50gp gem.

There was a very long, steep, narrow, winding corridor going down at some point.

It was likely a module for player levels 1-4, and may have been for beginning DMs as well.

Given the drider and the corridor going down, I thought perhaps it was Descent into the Depths of the Earth, but that’s for too high a character level.

Anyone remember this?

im trying to rotate the player in a certain way that makes it look like he is sliding

I’m trying to make my first game in unity a 3d platformer inspired by the classic crash bandicoot games, I’ve managed to make most of the movement however I don’t know how I can do a slide/crouch since what I want to do is basically a way to rotate and move the player down closer to the ground and give him some more speed that decreases over time until he reaches a normal waking state, I thought about making the player rotate on a specific axis but when he turns the axis don’t change so now I’m kind of lost in what to do.

this is basically the motion I want to do but, but in all the axis

Trying to ask the moderator a question but don’t have 20 rep to ping in general Chat. How do I PM the moderator?

Last post was deemed an advertisement by moderator. Not trying to place ads but see if anyone wants to play a new game we have. How can you do that without mentioning the name of the game? It is already published, just new and not as well known as DnD and other stuff you can mention. And just because it is OUR game, the mod sees it as self promotion. Should I log in as someone else and lie and say "Wow guys, I just learned of an awesome new game that isn’t my own… let’s play."

Not trying to be cheeky here, and didn’t want to say all this in public here, but really, 20 rep just to talk on general chat to ping moderator? Come on.

I am trying to convert my SQLite database into Postgres database, but I don’t know how to convert name TEXT (32) NOT NULL

CREATE TABLE integrals (    id SERIAL PRIMARY KEY NOT NULL UNIQUE,    name TEXT (32) NOT NULL,    ip TEXT (32),    posx REAL NOT NULL,    posy REAL NOT NULL,    port INTEGER,    image INT,    zones TEXT,    pass TEXT ); 

This is my SQLite generated database, and I am trying to convert it, but I am very new to Postgres.