B;
Where from B
This is not a social group. Only coding questions no personal bs
Kanhhaaaaaaaa
Okhy
aronCrow
slickshady
Hi guys. Can anybody recommend a good course/book/YouTube video on C programming for a beginner?
Otoniel
Hi guys. Can anybody recommend a good course/book/YouTube video on C programming for a beginner?
Check out the group's resources on https://t.me/cpp20programming
Chat Boss
@bdisa sent a code, it has been re-uploaded as a file
Danya🔥
What?
Danya🔥
So?
Danya🔥
Don't ping anyone for no reason
Danya🔥
If you want an immediate response, use ChatGPT
Danya🔥
Lol
abdisa
If you want an immediate response, use ChatGPT
Google's not working here i didn't know why
MᏫᎻᎯᎷᎷᎬᎠ
What is the most "unsafe code that looked safe" you've seen so far?
Otoniel
Google's not working here i didn't know why
Opera browser has out of the box support for both OpenAI's chatGPT and Opera's Aria, Edge provides Bing (The worst one IMAO) and generally, if your question is kind of common/entry-level is almost impossible haven't been asked on stackoverflow before, so that's a good place to start too, google is in a good way 'worthless' for dev questions
Otoniel
Bing is the same model as GPT4
Of course it is, but they mixed the gpt4 generation capacities with a awful search-the-web-before-to-answer and went wrong IMAO
Chat Boss
Nickname Is sent a huge message, it has been re-uploaded as a file Hello. There is such a problem. I save a text file on Windows-10 in Notepad with standard encod..
Otoniel
Nickname Is sent a huge message, it has been re-uploaded as a file Hello. There is such a problem. I save a text file on Windows-10 in Notepad with standard encod..
I guess utf-8 is like the default one for plain text, but, how do you know the problem is the encoding? are you getting like weird symbols or something?
Nickname
I guess utf-8 is like the default one for plain text, but, how do you know the problem is the encoding? are you getting like weird symbols or something?
No, there are no strange characters, I check for numbers, so the program exits (the exit(1) I wrote). I assumed that the problem is in the encoding because if I add data in a clean txt file in onlinegbd, or create a new file on ubuntu and write the values ​​there, then there are no problems.
MᏫᎻᎯᎷᎷᎬᎠ
Don't know why but even after concepts, the compiler errors still ugly
MᏫᎻᎯᎷᎷᎬᎠ
Even though they are supposed to make clean error message
Anonymous
Even though they are supposed to make clean error message
You still get pages of errors (a lot lesser than earlier) but the concept violation would be the topmost amongst them making it easier to understand where the problem is unlike before
Ми🐳а
Hello everyone, should I learn C in parallel with C++, or is it better to stick to one language? What will you advice me?
dev
Hello everyone, I am new to programming languages . So Which Programming language Should I Start First To Learn ?
Victor
I don't understand how to share code for my question if gist links get deleted by bot?
klimi
Oh you sent like right as you joined... the Rizzok message: https://gist.github.com/Viktor-KN/3714a9917cdd8beccf49abb5b3327b67 Hi, do I need to somehow delete file_w after use? Cos delete []file_w gives me access violation error
Victor
thanks but nevermind... I solved this already. Problem was in order when deleting objects
Usama
??
Usama
Can i ask for a work here?
klimi
Can i ask for a work here?
if you look at the rules: 6. Advertisements of any kind are forbidden. Job postings will not be allowed either. If you are unsure about whether something could be construed as an advertisement, please check with one of the admins before posting the message. Not doing so will result in a ban.
Akshat
Hello everyone, should I learn C in parallel with C++, or is it better to stick to one language? What will you advice me?
Go for c++ first , I've done this way all languages have same common things just syntax is different
Victor
Any good DLLs for Windows for taking screenshots?
Manav
Any good DLLs for Windows for taking screenshots?
why use a library when you can use win32api https://learn.microsoft.com/en-us/windows/win32/gdi/capturing-an-image
Victor
why use a library when you can use win32api https://learn.microsoft.com/en-us/windows/win32/gdi/capturing-an-image
Thanks, I've already built a small library to capture screenshots. One downside is it only capture primary monitor... I'm not too good with C++ to make it selectable which monitor is needed. Left it for later...
Manav
There should be a blog post from Raymond Chen, i remember reading it
Victor
You can get the device context from two monitors and then manually create a bigger image. I don't see an issue
Ye, I've seen code examples for that. But I wanted two separate sceenshots rather than one combined
Manav
there it is, https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-enumdisplaymonitors
Manav
Ye, I've seen code examples for that. But I wanted two separate sceenshots rather than one combined
you'll get seperate ones. Combining is what you do later if you want
Chat Boss
Danya🔥 sent a code, it has been re-uploaded as a file
Danya🔥
Lol ok
Victor
Lol ok
Can you upload to gist or somewhere else? Code looks promissing, but was cut out by bot
Manav
Can you upload to gist or somewhere else? Code looks promissing, but was cut out by bot
there's not much left there, just the actual function call to CaptureScreenshot()
Danya🔥
Can you upload to gist or somewhere else? Code looks promissing, but was cut out by bot
https://gist.github.com/unterumarmung/10c1078c50fd9a412077f2485dd223e1
Manav
\(;_;)/ chatgpt spoils people
Dev.🐍
hi i wanna cout string but in my range for example cout « text[2:5] like python how do that?
Victor
\(;_;)/ chatgpt spoils people
And he's dumb enough, I catch him making mistakes all the time and he apologizes for it all the time.
Chat Boss
hi i wanna cout string but in my range for example cout « text[2:5] like python how do that?
Danya🔥 sent a huge message, it has been re-uploaded as a file In C++, you cannot directly use slicing like you can in Python to extract a range of characters ..
Manav
And he's dumb enough, I catch him making mistakes all the time and he apologizes for it all the time.
It's just that at this rate when chatgpt doesn't have the answer people won't know what to do. They would be like fish out of the water with no idea how to proceed.
Manav
old good google still here :)
Still it makes people not want to think.
Manav
Danya🔥 sent a code, it has been re-uploaded as a file
Take this as an example, i am sure you could have figured out that the only thing left was the actual function call but you didn't bother looking which is fine, i would have probably done the same if i were you. I am just saying that when an answer is served on a platter people tend to not use their brains. Happened to me as well :)
Manav
Anyways enough offtopic :)
Victor
Victor
yep, getting things done has more priority :D
I've been sitting for about 12 hours now figuring out how to bind a C++ library to the Crystal language, I think I'm allowed to relax a bit with some things. :))
Javii
Guys i need help
Javii
My c code keeps on printing the wrong output
Pavel
My c code keeps on printing the wrong output
Don't you want to provide your code, expected output, and actual output?
artemetra 🇺🇦
send code as monospace
Chat Boss
Akshat Nayal sent a code, it has been re-uploaded as a file
Chat Boss
Akshat Nayal sent a code, it has been re-uploaded as a file
Baron
code on chat I only look in some paste bin site, never o some random file
Baron
I like cryptpad and termbin
izzaaa
how to identify whether it void or non void with parameter or without parameter