I'm feeling bored. My job involves linux, k8s, docker, sql etc. What should I learn next? I want to learn music but it's expensive to purchase good musical instruments. I don't like learning drawing, new foreign language etc. I like to learn programming. But I'm not sure what should I learn...
The graphics book is excellent. Have a look at it. None of SFML, Opengl or SDL books are written like this book. That's why.
So, which book should I buy/read?
I've finished a 50hr course on C++ and my basics are somewhat clear although I'm not confident of it.
So, I am looking to improve my C++. My ultimate aim is to study data structures and algorithms in C++.
As I said earlier, I've already grasped basics of C++. Since my ultimate goal is to...
CS Notes selling site for my country.
blog website
Meme templates website
Movies like "movie_name" recommender
Reminder in calendar.
Video watched percentage calculator from a playlist. Like in udemy.
Another blog where anyone can create an account and post.
Locally hosted book search engine...
For eg: Currently I am trying to learn bash shell scripting, text processing using bash etc. But the problem is I don't think I can learn it. Why? Because I don't know programming. In particular, problem solving. I don't know problem solving at all. I try my best but I fail. In the past, I tried...
I've got it.
int main( void ) {
int x, y; // two variables, allocated on the stack, say at locations 0x4 and 0x8, values undefined
change( &x, &y ); // receives 0x4 and 0x8
return x + y; // accesses memory at 0x4 and 0x8, returning the sum of the values stored there
}
void change(...
I've asked my question in the figure below as picture speaks 1000 words.
My question in short is same as title.
Code:
#include<iostream>
using namespace std;
void change(int*,int*);
int main()
{
int x,y;
cout<<"Enter values of x and y"<<endl;
cin>>x>>y;
change(&x,&y)...
I'm in the verge of giving up programming and wondering what could I do before I give up to make sure I did what everyone did.
I've a bachelors degree in computer science. I didn't do it as well as I'd have liked to do, but that degree has gave me familiarity with most terms used in basic...
Here's the full code:
https://codepen.io/pelko/pen/MWBpNmL
When a ball collides with bat or walls, I want the ball to be reflected with an angle, how do I do it?
I suspect there's lots of physics to it. So, should I stop this project here? I'd have to probably build a part of game engine…Can...
<div class="body">
<div id="board">
<div id="bat" class="bat"></div>
<div id="ball" class="ball"></div>
</div>
</div>
This is my HTML.
I've done CSS For all of them and generated this:
Now, I want the bat to move left and right when I press arrow keys...
My confusion is cleared.
arrSnake=[{x:0,y:1}]
inputDir={x:0,y:1}
are 2 different object names. It doesn't matter if we use same key name for both of them.