klimi
MilkBeforeCereal
professor
which function can be replaced by fgets in order to meet an int overflow , and be exploitable with /GS since fgets stops a given size , and it doesnt meet the condition in order to make it exploitable under /GS
Terry
Артём
Hi everyone.
I found a code with a strange syntax for me.
struct Node {
int key, prior;
Node * l, * r;
Node (int key, int prior) : key(key), prior(prior), l(NULL), r(NULL) { }
};
It's clear that this is constructor, but how does it work? I've never seen such kind of syntax in C/C++, so I don't even know, what I need to google?
I_Interface
I_Interface
Артём
Hi everyone.
I found a code with a strange syntax for me.
struct Node {
int key, prior;
Node * l, * r;
Node (int key, int prior) : key(key), prior(prior), l(NULL), r(NULL) { }
};
It's clear that this is constructor, but how does it work? I've never seen such kind of syntax in C/C++, so I don't even know, what I need to google?
I mean, I've never seen any actions between declaration of arguments and { }, that come after ":".
Артём
Anonymous
Hey
I_Interface
Anonymous
Can anyone tell me best ide for c++
Anonymous
And a good free course to learn c++
I_Interface
Is it about it?
https://en.cppreference.com/w/cpp/language/initializer_list
I_Interface
Anonymous
Win 10
Артём
I_Interface
Win 10
Visual Studio 2019
klimi
Anonymous
Isn’t it paid
klimi
No? Afaik
Anonymous
Visual studio
Anonymous
Or vs code ?
I_Interface
Studio.
Anonymous
But I don’t get how to set it up completely
klimi
Sergey pm me
Anonymous
At help
Dima
just buy an ide lol
Anonymous
Just only for cpp
klimi
Anonymous
Anonymous
Ty
Noor
For vim user, I've installed ALE but it said namespace Some::SomethingElse {...} as error how to fix this
Jaaziel
...
Jaaziel
I try with the agree rules button, but it dont allow me.
András
Win 10
Qtcreator or clion
Don't use visual studio!
MᏫᎻᎯᎷᎷᎬᎠ
Yeah
Qt creator is the best IDE ever existed
Jaaziel
Hello, as you can imagine, at first, I am here for some help :c I have a little problem
Anonymous
Jaaziel
I have intalled Visual Studio Code. It is simple problem, I could not get it runs with a simple code, with an #include says need a path
Jaaziel
:/ hellorworld no compile even
Ashish Bhushan
You need to install a compiler too
Ashish Bhushan
You installed a compiler or not?
jayaa
I am also facing same problem
jayaa
I have dev CPP compiler then also...
MengShu
Do not use devC++
Jaaziel
Yes, I had guided by the offical docs, Microsoft C++ tools.
Jaaziel
I searched on web, too many similar problems but internet has a lot of info and cases and, my problem I think is just some clicks or that.
Jaaziel
/rules
Jaaziel
:/ I have already read the rules
manas
manas
Jaaziel
well, I wanted to try with MC++ Tools. But ok, I install it with mingw. Even there is a good tutorial for Cygwin. I will try first with the tutorial and then if it fails, with Mingw.
Jaaziel
Thanks!
MengShu
If you use Windows, you can try Visual Studio Community. It will be much easier than using VSCode with VC++ tools.
Anonymous
ADSTUDIO
MengShu
IDE v.s. editor with compiler. I think installing an IDE is easier.
MengShu
Anonymous
A Biginner should learn how to write and format code, use a compiler and learn the language itself and not learn how to use a IDE
ADSTUDIO
full of useful features. error checking can help with understanding what has gone wrong. but yea.. haha. at least for syntax error level.
MengShu
I have no idea about the relationship between writing/formatting code and using IDE/editor+compiler.
ADSTUDIO
where comes logic level.... you on your own
ADSTUDIO
stepping can help a lot..
Anonymous
ADSTUDIO
Ansya
Anonymous
Anonymous
Ansya
Baaaaad
Full based CLI in linux 😁
Jaaziel
As I understand, Visual code is an editor and need compiler for that reason. Offering many addons, for each lenguage and more. An IDLE so, is? Editor and compiler in one?
klimi
klimi
technically it could be IDE but.... i would say its more like editor tbh
Jaaziel
Mmm well, I will on google soon