Brooklyn
And when I try to run a simple code (it just show a sentence) it just send the message I wrote before
Go to your extensions click on the settings icon on c/c++ and scroll until you see cpp standard and under that choose c++20
🆂🅸🅳🅳🅷🅸
What buttons did you press
why am i press buttons?
Brooklyn
poetry
what did you say
John
Frankly speaking, I would rather write a makefile, than setting up my vscode ...
Brooklyn
Frankly speaking, I would rather write a makefile, than setting up my vscode ...
Just write code on some text editor and use terminal to run
Brooklyn
Exactly
What is your preferenced text editor
John
What is your preferenced text editor
vim or vscode(just as text editor)
Brooklyn
vim or vscode(just as text editor)
Just get something that can do autocomplete like sublime text
John
Just get something that can do autocomplete like sublime text
I will try, hopefully I can manage the plugins or extensions more easily with sublime text.
Oh.Hi
klimi
Oh.Hi
nohello.com
klimi
?
?
Brooklyn
nohello.com
What if the person wanted to write a hello world program
klimi
What if the person wanted to write a hello world program
then i would ban him for asking homework/assignment right after joining :)
Which source is the best for C programming?
🏳️‍🌈GNU/Линуксяша-libre🏳️‍🌈
C++
I didn't mean that.
M͓̽ ͓̽a͓̽n͓̽k͓̽ ͓̽I͓̽N͓̽D͓̽
Hello everyone Excuse me I want to develop android apps on my mobile Which IDE is the best? I am in Iran Aide not working correctly
klimi
I didn't mean that.
There is resources section in the rules.
klimi
Hello everyone Excuse me I want to develop android apps on my mobile Which IDE is the best? I am in Iran Aide not working correctly
I would suggest termux. But for anything serious having some computer with bigger screen and keyboard might prove very useful
klimi
No... just click the link /o\
klimi
probably not good for you health
There is resources section in the rules.
I think these resources isn't enough for me.
Elena
I think these resources isn't enough for me.
The resources link has enough information on books that can take you from a beginner to an intermediate or an advanced programmer even. If you find the information is not enough, it could only mean that you are an absolute beginner to C++ which further means that you have to trust the links given there even more. Ironical I know. But it is for your best.
Elena
The good thing about this group is that they have a Resources section with links to important books and topics that everyone has questions on. Kudos to whoever created the Resources section. It looks like it is Klimi the admin who did that
Ludovic 'Archivist'
Which source is the best for C programming?
https://gustedt.gitlabpages.inria.fr/modern-c/
zawkin | 🇵🇸
zawkin | 🇵🇸
I mean free?
Danya🔥
It's free
🆂🅸🅳🅳🅷🅸
to compile
there are lots of extension for c and c++,just install it and use it
drug lord
How can I learn programming from scratch
klimi
How can I learn programming from scratch
you learn basic syntax, some fundamental branching and operations and you expand on those
drug lord
Where do I do thay from
Rose
Where do I do thay from
Please check out this channel - @Resources for information on learning sources for C and C++ (books and videos) and Frequently Asked Questions.
Федор
I can't respond to a comment after a bot responded to it? 🧐
harmony5 🇺🇳 ⌤
I can't respond to a comment after a bot responded to it? 🧐
I don't see why not… so sure ¯\_㋡_/¯
Федор
I don't see why not… so sure ¯\_㋡_/¯
I tried to respond twice and both times my messages were automatically deleted
Федор
Where do I do thay from
Bjarne's book is a good start: Programming -- Principles and Practice Using C++
🆂🅸🅳🅳🅷🅸
Brooklyn
saying what?
to compille i was guidina a person on how to run vscode
🆂🅸🅳🅳🅷🅸
there in extension tab there search for c++ compiler then it can show you many options and highest rated star is the best extension
Mx
I'm looking for PDFs on networking in c, if you have any kindly share (DM)
Rose
User Max has 1/2 warnings; be careful! Reason: spam/ad
Max
Why
klimi
Why
Posted spam that was also an ad. Read the rules
Pouya
Hi guys i wana to program a weather controller with LM35 sensor which show the temp on the 4 digit sevensegment in codevision can any body help me?
\Device\NUL
Hey guys any idea what could be wrong? I'm trying to implement wait-for-multiple-threads idea with C thread similar with WaitForMultipleObjects but seems like it get stuck :/ https://gist.github.com/kawaii-ghost/8c20e3c6cad2773384349dfa457f3a4f
\Device\NUL
https://gist.github.com/ammarfaizi2/04b2cdb70f440e6f4ec7929b6b6341b8 here's the original code
Elena
Hey guys any idea what could be wrong? I'm trying to implement wait-for-multiple-threads idea with C thread similar with WaitForMultipleObjects but seems like it get stuck :/ https://gist.github.com/kawaii-ghost/8c20e3c6cad2773384349dfa457f3a4f
Didn't go through your whole code but this is problematic for (i = 0; i < 10; i++) { ret = thrd_multi_create(&mctx[i], &my_func, (void *)i); mctx is an array of size 5, but you are accessing elements outside that size
\Device\NUL
I thinking to to implement the array of threads but seems like still produce more than one futex :/
Rose
Purge complete.
@𝑺𝒐𝒃𝒌𝒂
#ide
@𝑺𝒐𝒃𝒌𝒂
#res
Rose
#res
Please check out this channel - @Resources for information on learning sources for C and C++ (books and videos) and Frequently Asked Questions.
Rose
Purge complete.
Maverick
is learning game dev will be a good decision for IT career ??
aronCrow
is learning game dev will be a good decision for IT career ??
If you wanna go by people's opinion, then here's my opinion: no
mito
is learning game dev will be a good decision for IT career ??
My opinion: Buy a land and become a farmer. IT is doomed.
Maverick
If you wanna go by people's opinion, then here's my opinion: no
no , i mean i hardly see any openings related to game dev , most of them were web dev related
Danya🔥
Please go to offtop group
Rose
Offtopic discussions should be done in the C/C++ Offtopic group. Please take your discussion/questions there.
Angga
Hallo everyone I am stuck doing my task. Here are the tasks: Programming Quiz: Pattern Recognition Tasks: Write a function that takes a list of integers as input and returns a new list where each element is the sum of all the elements in the original list that comes after it (including itself). Examples: Input: [2, 3, 8] Output: [13, 10, 2] Input: [6, 2, 3] Output: [11, 9, 6] Input: [4, 7, 2, 8, 6] Output: [27, 25, 17, 10, 4] Constraints: The input list will contain at least one integer. This is the code I have created: https://pastecode.io/s/2weq3pxg The problem is when inputting: [4, 7, 2, 8, 6] The output: [27,20,25,19,4] Which is not appropriate to the question. Please advise and guide me, I have a mistake / misguided thinking in making the algorithm where?🙏🏻🙏🏻🙏🏻 Thank you very much🙏🏻
.
In your first example [2, 3, 8] how did you get 10 and 2 as the second and third elements? According to what you described shouldn't the result be [13, 11, 8]?
1.You need check your laptop ready or not 2.You need sorting all of them 3.You can use simple way of the bubble sort Sorting are very brilliant )))
.
I mean, If you can use Data Str and Algorithm You can sol all problems very efficiently and very fast. Time Complexity Also very important )))
.
What are you talking about? What does this have to do with Angga's algorithm problem?
Good question. Actually Algorithm is step When you make mistake it shows error
Angga
In your first example [2, 3, 8] how did you get 10 and 2 as the second and third elements? According to what you described shouldn't the result be [13, 11, 8]?
I get 10 by adding the 0th and 2nd indexes or in other words eliminating the middle value, namely, the 1st index. Then I got 2 by directly using the 0th index of the input array as the last sequence in the output array.
Mx
I get 10 by adding the 0th and 2nd indexes or in other words eliminating the middle value, namely, the 1st index. Then I got 2 by directly using the 0th index of the input array as the last sequence in the output array.
I don't think that's correct...well at least from whats described ie you said each result element is the sum of all the elements after it including itself. Therefore when you get to 3 you should sum up 3 and 8. Since 8 is the last element it becomes the result. What you have just described is a different problem altogether.