Anonymous
For generating the gif
Ludovic 'Archivist'
Read the Wikipedia page on the gif format
Abrax
Ok
Why exactly do we return 0 or 1? Is it a must? When do we return 0 or 1?
Ludovic 'Archivist'
Why exactly do we return 0 or 1? Is it a must? When do we return 0 or 1?
Generally, a return value of 0 (macro EXIT_SUCCESS) means the software operated properly, while 1 (macro EXIT_FAILURE) means an error occured
Hubert
Why exactly do we return 0 or 1? Is it a must? When do we return 0 or 1?
return 0, normally it means no error when program executed
Ludovic 'Archivist'
Okay...so must we write that?
No, you should write that, there is no must
Anonymous
hey please help me to write a program in c++, to add 2 times
klimi
You take inputs, convert them to seconds, and then you add them together and then you display your answer
Anonymous
Like I’ve to add times in format huh:mm:as
Anonymous
I’m a bit confused
Dima
lol
Dima
nah
Anonymous
Some hints on how to set limits for entering time
klimi
Like I’ve to add times in format huh:mm:as
Then you dont convert it and just make your own method for counting in char array, shouldn't be that hard
klimi
Some hints on how to set limits for entering time
You can write a parser that tries to parse the time or some regex... Or just simple if there are 2 numbers then delimiter etc
Anonymous
I’m a beginner in c++ so some simple logic please😅
klimi
I’m a beginner in c++ so some simple logic please😅
I dont understand you. You are asking for logic or c++
Anonymous
i have to make this program using c++
klimi
Okay but are you asking for c++ help or logic help?
Anonymous
c++ help along with some logic
Dima
lol
Dima
just do it
Anonymous
i use vs code
klimi
i don't understand
Anonymous
like i want to know how to implement it
klimi
okay
klimi
so tell me, what do you already have, and where you are stuck, like what is the input and output that you want (and i am nto asking about the whole program, just some part)
Anonymous
Hi
klimi
Hi
yes?
Anonymous
i have to add 2 times in format hh:mm:ss
Anonymous
input are 2 time
Anonymous
i have to add them and print them in same format
Anonymous
and if time exceeds 24 hrs, i have to print that the time has passed to next day
Arthur
In general you should parse them into datetime objects, then add and convert back to string
Arthur
Are we allowed to publish links here?
Dima
Are we allowed to publish links here?
yes, if it is not full of ad and is not ad itself lol
Dima
lol w ait
klimi
https://stackoverflow.com/questions/30902127/c-parse-datetime-from-string-with-different-timezone Here is an example
Dima
dam
klimi
klimi won
Anonymous
yeah, I think it should be long in 16-bit platforms
Anonymous
Read the Wikipedia page on the gif format
Can you please break if down for me? What should I do after reading the gif, I know what gif is so do I first learn how to create files in cpp?
Wisenky
Hi
hi
Anonymous
Anonymous
#cppbookguide
Do you have the pdfs?
Anonymous
Anonymous
Why c++ isn't used at backend ?
Dima
Why c++ isn't used at backend ?
Because nowadays programmers can’t code in it
Dima
Too weak ones
Dima
And also it requires much more of a production time
Anonymous
Oh I see 🙄
Anonymous
Why c++ isn't used at backend ?
because elementary programmers never read the docs; they code, run, and debug only if it fails. However C/C++ have so many undefined / implementation-defined behaviours, so it is so hard to debug a C/C++ program
ex4_mp1e
Hi
Azzam
Hi
???
THAKUR
Hello
Ori
Hello mates, If anyone know how can I open an Exists photo via painter with cpp I would like for some help!
Arthur
You might want to use std::system: std::system("mspaint <your file name>")
Ori
What painter do you mean?
The paint app of windows
Ori
What painter do you mean?
I wanna give the client a list of applications that I own on my computer to choose with what app do he wanna open the photo
Leon
If it's easy to you it ain't to everyone else help if you are willing please.
Ori
I would like for any help I can get🙏🏼
Leon
Help on how to workout this please.
Arthur
Help on how to workout this please.
Why would one create a class for that...