Death Killer
thanks
Mohit ^_^
Btw why two { } ?
Anonymous
Btw why two { } ?
The first one creates map object, the second ones creates initializer list of elements of the map
Noble Friend
/get cppbookguide
fynn
Ok
Anonymous
Can anyone help me how dummies work in C?
su
Can anyone help me how dummies work in C?
By praying, and worship, to Kenth Beck, and Dennis Richie, i think all are good
su
Pray more, template less, repeat mantra: "anything being allocated, should be freed"
su
And you are good to go
Ninja
From where should I start learning c++ I am begainer
Try unschool It's a best course provider with lifetime access and internship in multi national companies
Sijan
Hey
Anonymous
Yup... And if you want your variable to retain it's value in different function calls(stacks) use static variable
Jesvi
quick question...
Rashu
https://www.urionlinejudge.com.br/judge/en/runs/code/19889813
Rashu
Here is my code
Rashu
https://pastebin.ubuntu.com/p/FzxBd9TR3s/
Rashu
Why presentation error
Anonymous
klimi
https://stackoverflow.com/questions/12040399/c-using-7zip-dll
Roxifλsz 🇱🇹
Are you retarded? Why did you post the same question three times
Roxifλsz 🇱🇹
So that makes it ok to spam the group? I think you should be more patient, the members here who can answer question are not some sort of tech support employees who must answer immediately
Jesvi
/info
Prem Kumar
Very very sorry
Anonymous
anyway I could merge two vectors without iterating, any preset algorithm or something v1 = 1 5 7 v2 = 2 4 0 v3 should be 1 2 5 4 7 0 ive used merge() but that doesnt seem to work :l
Anonymous
/info
Reham
is it possible to have multiple try catch boxes in the main to handle errors of both inside the file and the file opening
Reham
it is not complete yet with all the errors handling but i already have three errors handling in one try catch box and one is reading from file error
Alex
this code is ok
Vlad
I guess argc check is redundant
Reham
but then for example if i want to output the error with the wrong file name argument argv[1] how can i have it only for one branch
Vlad
I guess argc check is redundant
And it's basically UB if no arguments given
Reham
yea i know but i mean for other errors
Vlad
Thus you must open your file after argc check
Reham
like inside the file errors
Javi
Although the code is syntactically correct, it would be more maintainable and readable if instead of throwing three runtime_error, you threw one specific exception for each case, probably inherited from runtime_error
Reham
ok will try that thx
Reham
That's even better
any resource u would recommend i cant find a clear example of what u have suggested
Javi
https://stackoverflow.com/questions/8152720/correct-way-to-inherit-from-stdexception
Renan
Do programmers work on Sundays? 🤔
Dima
yes
Dima
I do
Renan
I do
Professionally or as a hobby? 🤔
Roxifλsz 🇱🇹
Professionally or as a hobby? 🤔
He just likes his job so much that he works for them 24/7
Renan
Do programmers work on Sundays? 🤔
Question: What programmers do when they are not at work programming? 🤔 Answer: Programming. 😅
Anonymous
hi
Harsh
hi
Hi
Anonymous
can you help me
Anonymous
i been coding with c++ for 2 years I still do not know how to do some stuff in c++.
Anonymous
I do not have any book. I am only 16 years old
Anonymous
the must I have codeind in c++ is this. It is slow to run
Anonymous
it works on pc and on phone
Anonymous
I am trying to get space working but I can not figure it out
Anonymous
I am trying to get space working but I can not figure it out
and make it smaller. The smallest I got it too is 200 lines of code
Anonymous
/warn no exe files here
Anonymous
ok
Satish
Hi Guys, Can anyone have any resource link to easily understand assembly code generated from c++ program? Any video link would be appreciated 👍
Dark
https://stackoverflow.com/questions/6076434/compile-c-to-asm-in-visual-studio
Satish
I know how to google sir..Just wanted to know if anyone already have some good resource available..that's it.
Dark
First result. So google first
Dark
So before you ask a question google it? That took me 5 seconds to find. Why can’t you do that. It’s not rocket science. It’s English
Satish
/FA
Asuna 🍓
Or F5 in IDA (
Dark
Or F5 in IDA (
Lol doesn’t IDA Pro default show assembly
Satish
Thanks for the input Guys👍
Harsh
Anybody has any idea about how to compile a C/C++ source into OS independent executable?