psy4
Advertising isn't allowed btw
Lol, I was mocking @Kurimi not advertising, 😉
Mihail
Means input
It's just a variable
Anonymous
Yeah
Ибраги́м
Means input
Well, u can sleep very well now.
Ибраги́м
That makes sense
Well, u can sleep very well now.
Ибраги́м
What
WTH! Wrong person sorri
Anonymous
Ok
Mihail
Mihail
Maybe check if it's not any of the 5 letters first
Mihail
With a one line if above that
Mihail
Still way shorter than yours
Dima
KLIMAX
Dima
Anonymous
Well, u can sleep very well now.
The day just begins here
Ибраги́м
Still way shorter than yours
That's NOT mine, it's his. And from the look of it you will need more explanations for what you did. I plan on showing things I can explain him
Ибраги́м
There's a reason I decide to let things stay the he kept it first
Ибраги́м
I know
Mihail
Idk how to explain the self-explanatory
Ибраги́м
Ибраги́м
Anonymous
Ибраги́м
New York
9:51 am
Anonymous
Ибраги́м
https://paste.debian.net/1070056
Instead of the switch you can just let the outputloop(char) decide based on the argument since the outputloop(char) does a good job already. You don't really need the switch, it's just repeating what outputloop(char) is doing and it will make your code slower. Thanks @mmihov for making type this essay
Anonymous
Rizesky
hallo everyone
Rizesky
am i in the right place for c++?
Mihail
Yes
Rizesky
thanks guys, im really a beginner actually
Dima
welcome
Rizesky
i have an error when try to execute this, the input skip index 0, can u guys explain what im doing wrong?
Rizesky
here is my program, it skip index 0
Rizesky
anyway im c++98
Mihail
here is my program, it skip index 0
After you entered 4 you also pressed enter which entered a new line (\n), which was left in the buffer, so the std::getline took that and stored it as email[0]
Luigi
Guys could i ask you what std stays for?
Mihail
Guys could i ask you what std stays for?
std is the namespace in which everything related to the C++ standard library is
Luigi
And when do you use it?
Rizesky
And when do you use it?
when u want to use any template from stl, it is kind of template library
Luigi
I mean.. std::cout<<..... Couldn't you just use cout<<...?
Mihail
But you generally shouldn't
MᏫᎻᎯᎷᎷᎬᎠ
Rizesky
I mean.. std::cout<<..... Couldn't you just use cout<<...?
it is just habit. i dont want to use anything from std
Mihail
As it might cause ambiguity in certain situations
Rizesky
thats why i call only what i want to use
Luigi
You could if you used: using namespace std;
Oh, i use that in any program
Luigi
So i should remove the using namespace std, and write codes with std::etc?
Mihail
Oh, i use that in any program
I'd suggest to not do that
Mihail
So i should remove the using namespace std, and write codes with std::etc?
Try googling it and you'll see the arguments of both sides
Mihail
Some people like it other hate it
Luigi
I will, thank you
Mihail
anyway please help me on this guys haha, i really need ur help
std::cin.ignore(); I think this will do it
Mihail
But not sure if it's a thing in C++98
Rizesky
its working now, thanks bro
Luigi
Is there a specific command with std for declaring a float variabile? Or just float "...";?
Luigi
Luigi
Ignore the italian language, but.. If i insert a natural number, it doesn't do like this
Luigi
It should go like this
Luigi
(Ignore the italian language ahah)
Luigi
And read the pic's description
Luigi
I described my problem
Johan Liebert
Can someone tell best software aplication for c++? Currently i am using code blocks And sometimes Turbo Cpp
MᏫᎻᎯᎷᎷᎬᎠ
Or VSC
Johan Liebert
Do not ever note turbo c in this chat 😆
😂😂i dont use it regularly
MᏫᎻᎯᎷᎷᎬᎠ
Download Qt creator
This one is perfect especially if you are using Linux