Ludovic 'Archivist'
Sillicon Graphics Library 2020
I hope to never see such a lovecraftian horror of computer science
Ludovic 'Archivist'
Oh, people that use turbo c++ are to me legit to ask about the STL as turbo c++ likely still uses it
Ludovic 'Archivist'
They also are likely either half crazy or should find another uni
Talula
And people think I’m racist… 🤣
Dima
/warn What is this even
Ибраги́м
https://github.com/blockspacer/CXXCTP
Ибраги́м
https://www.reddit.com/r/cpp/comments/dcegli/featurecomplete_rustlike_traits_in_c/
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Welcome
Vani
Question: convert 12hr time format to 24 hr, my code works well for all output except on the inputs who are in PM and not 12:--:--PM format
Vani
Sample Input 0 07:05:45PM Sample Output 0 19:05:45
Foxner
Use pastebin, don't send code in here
Vani
this is not working on this sample input
Vani
It's working on 6/10 cases
Foxner
What case does it not work for?
Vani
But not the ones that inlcude PM&&need to be converted by adding 12
Vani
Not working on this
Foxner
What does your code return for 07:05:45PM?
Vani
Some blank spaces followed by :05:45
Vani
https://pastebin.com/T7MgdW2c
Vani
this was the modified one
Vani
its running on 6/10 cases
Foxner
Ok, so how are you converting your numbers back to characters? You're using char(number), but that won't work.
Vani
And what not
Vani
Nothings working
Foxner
char(i) returns a character that corresponds to the character in the ASCII table with the code i.
Foxner
So if you want to convert a single digit integer to a character, you should use char(integer + ASCII code of '0')
Vani
Okay thanks!
Foxner
Also, you're setting s2 to both y and x, and never using s2 again.
Vani
I finally used '0'+x and same for y. It worked!
Vani
Ran on all cases
Foxner
Then you're setting s[0] and s[1] to x, y, which are integers in range 0-9, which are control characters.
algorithm
Hello hello guys Am trying to code with OpenGL c++ but the code isn't running on code blocks well I have looked for tutorials and still no solution Anyone who has a better and easier way to code OpenGL with c++(it's for a unit called computer graphics)*
algorithm
Thanks
Francisco
Then you'd better use VSCode or MSVC. I mostly use Linux, so I don't really know how to solve that problem, but maybe someone knows how to
algorithm
Show us something. Which OS are you using?
All am getting from the web is that you download the OpenGL the. Configure it with the text editor (in my case codeblocks) Is there a may be a better/easy way to code without all those background configs
Francisco
CLion probably ?
I don't know, I use Ubuntu
I_Interface
I don't know, I use Ubuntu
it's crossplatform ide
algorithm
I don't know, I use Ubuntu
For Linux Is there any configuration to do??
I_Interface
For Linux Is there any configuration to do??
Qt or CLion - the best variant for Linux with C++.
András
clion, visual studio or qtcreator. Other a meh
Visual studio is 💩 Even codeblocks is better
Francisco
Dima
vs and windows are both 💩
Герхард
Foxner
https://pastebin.com/T7MgdW2c
I gave solving that challenge a go myself. Managed to write a slightly more compact and readable code: https://repl.it/repls/TerribleGuiltyPackages
András
Lol no, vs is n1 on win
Ofc, especially when it don't want to open the file, because it have been already open, but everything is closed
Artöm
Well, it has some problems
Yodahell
Can any one send me pdf files that could help me in my studies of CS
Talula
Jaimy de Vries
does anyone here
Jaimy de Vries
know an open source software that can be installed on web server to load desktop applications on web browser for many users?
Jaimy de Vries
not an entire pc or something just 1 application
Rushikesh
Java programming can any one please explain how to install
Dima
Dima
Lol!
I_Interface
Lol!
Double shoot. :D
Anonymous
😄
Jaimy de Vries
Docker
So docker allows to get even 100 or 1000 instances of just 1 .exe for example?
Dima
Yes
Jaimy de Vries
free?
Jaimy de Vries
because we need it on our own server I guess
Jaimy de Vries
can I sent u a quick pm dima?
olli
know an open source software that can be installed on web server to load desktop applications on web browser for many users?
Is this still about your game? So you plan to render it on the server so you can use your c++ code?
Jaimy de Vries
Is this still about your game? So you plan to render it on the server so you can use your c++ code?
thougt it was C++ first but its c# so we try to evaluate alternative options
Jaimy de Vries
no luck so far
Bojan_Krdemn
Hi! Creating a simple QT project, that reads a dictionary.txt. Don't know how to include path to dictionary.txt in project. Created subfolder /res put dictionary.txt there added the folder to .pro file so that folder and it contend show up in tree. However compiler does't see dictionary.txt unless i provide full path