V
Do you have the google search? It has many interesting e-libraries, for example, libgen
Ariana
wut
Anonymous
#freeprogrammingbooks
Ariana
I would promote libgen and scihub if there arent ppl actively vetoing mdr
V
Damn, I've forgotten that google doesn't show libgen
V
Is the codingame really appropriating for coding practice? It's just question, no sarcasm
Anonymous
#howtoask
Anonymous
#findprojects
Anonymous
#bingo
Anonymous
#gcc9
Anonymous
#hownottoask
Anonymous
#meta
Anonymous
#ot
Ankit Shrivastava
make a program of hello world in c++
Jakup
can you help me to do this program? Write a program that calculates the sum of the numbers in the range from 1 to n.
Jakup
thanks a lot
swarnim
Why are we doing series question?
swarnim
Ok got it...😁
Anonymous
/report
Hatim
Is there a way to return an NULL string in cpp
Hatim
??
Mat
There is NULL
Mat
What's your question?
Anonymous
EinSpaten
You Variable basicly doesn`t have a value -> the value is Null -> notthing
Anonymous
I know the concept of NULL or better nullptr, but the term "NULL string" is new. So, you want to return NULL on a function which return type is std::string?
EinSpaten
Anonymous
Hm dunno, the asking person should answer what he really wants.
Anonymous
Cause I call something like that empty and not NULL
EinSpaten
yeah I know ... mystring.empty();
BinaryByter
BinaryByter
Anonymous
Vishu
Ok
Talula
Dima
lol
Dima
/ban ad
klimi
¯\_(ツ)_/¯
Mihail
Babarinde
#include <stdio.h>
int main() {
int Birthyear ;
int Currentyear = 2019;
int age = Birthyear - Currentyear ;
printf("enter your year of birth \n ");
scanf("%d" &Birthyear);
printf("You are %d years old" age);
return 0 ;
Babarinde
Anybody to help am getting error
Anonymous
scanf(... Is missing a comma between the paraneters
Anonymous
Anonymous
And there are many syntactic errors
Anonymous
@monster@creature
Yeah I read that pinned message
Dima
welcome
Anonymous
I need recommendations for website that can teach me about programming. Paid/free no problem
Dima
www.google.com
Dima
it’s free
Anonymous
www.google.com
Dima, do you know about this?
main()
{
int const MATCHES = 9;
int teamOne[MATCHES][2];
it says "expressions must have a constant value"
Anonymous
I put const int and it is the same
Dima
const placement doesnt matter in this context
try to initialize array implicitly
Anonymous
Why the bot is sending me that message? I have been here gor a while
Anonymous
Dima
no
Dima
teamOne[x][x] = ...
Dima
it’s uninitialized
Anonymous
it’s uninitialized
Mm so i should remove int const MATCHES
And use teamOne[10][2]
Babarinde
Thank you all
Elnee
/get best-book
Elnee
Oh noooooooo 😨
Babarinde
I have rewrite the code
Babarinde
But am still getting error
Babarinde
Babarinde
#include <stdio.h>
int main() {
int Birthyear ;
int Currentyear = 2019;
int age = Currentyear - Birthyear ;
printf("enter your year of birth \n ");
scanf("%d", &Birthyear);
printf("You are %d years old", age);
return 0 ;
}
Am getting 0 after I entered the current year
Anonymous
Heh
Anonymous
Babarinde Kolade Johb Kollybright:
#include <stdio.h>
int main() {
int birthYear ;
int currentYear = 2019;
int age;
age = currentYear - birthYear ;
printf("enter your year of birth \n ");
scanf("%d", &birthYear);
printf("You are %d years old", age);
return 0 ;
}
Anonymous
Babarinde
Anonymous
#include <stdio.h>
int main(int argc, char const *argv[])
{
int Birthyear ;
int Currentyear = 2019;
printf("enter your year of birth \n ");
scanf("%d", &Birthyear);
int age = Currentyear - Birthyear ;
printf("You are %d years old", age);
return 0;
}
Anonymous
Anonymous
Anonymous
fabio
Babarinde
Anonymous
Arrays must have a defined number of elements