BinaryByter
< juniors
Dima
you mean this group ? ( ͡° ͜ʖ ͡°)
Dima
KEK
BinaryByter
yea
𝗔𝗞™
Mat
Like... I should give something worth money to a stranger like you?
klimi
i have one
BinaryByter
xD
BinaryByter
because why not? xD
Anonymous
Hello
Mat
😆
klimi
No
do you want code
Anonymous
😂
klimi
Hello
hi Monk
Anonymous
How are you
Mat
Hello
Hi :D
Mat
How are you
Pretty well. A bit surprised about people like the other guy
Anonymous
👍
Mat
do you want code
No giveaway here :P
Anonymous
Why
klimi
No giveaway here :P
ill give it to him in pm
Mat
ill give it to him in pm
If you think it is worth it :)
klimi
i need karma
Mat
What was that?
Mat
if you have something big to share, use the link in the pinned message please
Anonymous
Hey guys it's shwet here I'm computer engineering student 3rd sem
Shivam
I read it
klimi
Cool
Anonymous
Anonymous
Anonymous
can anybody help me?
BinaryByter
wat?
Anonymous
i want to execute this program but after my input when i give space the program does't takes that as input
BinaryByter
you are compiling the wrong source file
BinaryByter
lol
klimi
space is determinant btw
BinaryByter
space is determinant btw
For one yes, but cin normally just stops at space
klimi
cin takes only one word
BinaryByter
klimi
you have to se
klimi
cin getline
BinaryByter
It's terminating your programe
first question you should ask: where does the "welcome to 30daysofcode" print come from?
BinaryByter
its not in the source code
Anonymous
see here i give welcome to 30 day of coding as input but program scans only part till welcome as i enter space between then what can be done to keep spaces as well as display string
BinaryByter
google how that one works
BinaryByter
cin.getline as they told
bad idea, use std::getline
BinaryByter
that way you can easily exchange the stream type
Anonymous
cin takes only one word
i want to give space in input too
BinaryByter
i want to give space in input too
LISTEN TO WHAT WE TOLD YOU
BinaryByter
oh and in general
BinaryByter
#googleit it will make you appear less dumb ;)
Marie
#googleit it will make you appear less dumb ;)
http://www.fuckinggoogleit.com/
BinaryByter
stdin
Oh okay I didn't see that
BinaryByter
makes sense
BinaryByter
rule #1 never make your user input something without telling him
BinaryByter
Dudes, who here is for a generization of the std funcitons? you would have template<class floatType> floatType std::exp (floatType in); instead of long double std::exp (long double in);
Anonymous
first question you should ask: where does the "welcome to 30daysofcode" print come from?
i want to enter a string with spaces scan it then print it with hello world at end
BinaryByter
BinaryByter
/slap
why is this a bad idea?
@#$_&
In print statement, sum should not be in double quotes
MᏫᎻᎯᎷᎷᎬᎠ
C programmers
MᏫᎻᎯᎷᎷᎬᎠ
C programmers
U can write C++ But use C functions in the cpp
MᏫᎻᎯᎷᎷᎬᎠ
U can write C++ But use C functions in the cpp
Cuz everything found in C, is found within C++ :-D
klimi
That's a nice knowledge
klimi
But it is not advised
MᏫᎻᎯᎷᎷᎬᎠ
nope
How