harmony5 🇺🇳 ⌤
xhunter
Hi, can we share memes here ? ^^
Rose
User Danial has 1/2 warnings; be careful!
Reason:
offtopic
Nothing
Any one want to start dsa with me
onz
Hi, is there a feature to compiling binary with rwx in .text ? on msvc ? ı think ı remember there was a flag. researched but couldnt find anything neither on web and stackof
\Device\NUL
onz
ım developing dma things. it needed on that project
Shubh i m
http://uniquelosers.blogspot.com/2024/05/aws-ec2.html
xhunter
Does anyone knows the rational behind the names such as 'sockaddr_in' or 'sin_addr ? is there any kind of source that explains why they named them like that ?
xhunter
(This is related to Network-programming in C)
Dalme
Dalme
Please note I haven't read it recently but as far as I remember it kind of tried to make some sense of the (apparently) nonsensical stuff in socket programming
xhunter
Thank you. I'll give it a read
purple rose
thanks
Rose
User Harry has 1/2 warnings; be careful!
Reason:
ad
aaswq1
guys, do i need to explore something BEFORE to explore C++?
aaswq1
Maybe computer architecture? Or how is the processor and memory structured?
Roman
Danya🔥
aaswq1
thanks
Tazin
guys, do i need to explore something BEFORE to explore C++?
I think actually better to learn a little bit c first. Because if you are learning from YouTube, most of the C playlists are made assuming you are brand new in programming. But a lot of C++ playlists doesn't cover the basics that much. Learn the very basics like data type, variable, conditional, loop, recursion concepts in C and then move to C++.
aaswq1
Danya🔥
Danya🔥
aaswq1
aaswq1
Danya🔥
Thank you
I recommend you to check out the pinned message in the resources group and use the resources mentioned there to start your journey
aaswq1
Danya🔥
Danya🔥
There are some good courses on YouTube in Russian, they are actually mentioned in the channel also. But if I remember correctly, they assume that the learner knows basic programming
aaswq1
Rose
User Sasi has 1/2 warnings; be careful!
Reason:
pming
CupCake
This group is also dead bruh
Rose
User Rahil has 1/2 warnings; be careful!
Reason:
ad
Rahil
Can we do job posting here?
My current organization has few openings for c++ dev
M
Student ke liye
Brooklyn
George
You could start with any good resources which are either free or paid only if they are updated to the current c++ std 23 or at least up to c++20 std
George
Once you completed basics, templates, class & oops concept, lambda & other new c++ features, you can learn data structure implementation in C++
George
Followed or in parallel QT or other C++ library or even game development to apply what you have learnt.
George
C++ is vast and have plenty of feature, so learn practically than following lectures and website articles
Ludovic 'Archivist'
guys, do i need to explore something BEFORE to explore C++?
My opinion is generally slightly controversial, but I would advise learning how to use a Linux based operating system and then learn C++ on said system.
I have been teaching C++ for 7 or 8 years and Microsoft Visual C++ has very cryptic error messages and error reporting, and that is an everyday struggle for my students
aaswq1
aaswq1
Anonymous
Write to find the factorial
Leovan
How to call placement new for std::vector<std::vector<T>>?
Smth like:
ptr = new(ptr) std::vector<std::vector<T>>();
Ziky
I am far from expert but looking at manual https://en.cppreference.com/w/cpp/container/vector this look promising:
template< class T >
using vector = std::vector<T, std::pmr::polymorphic_allocator<T>>;
Leovan
Ziky
Ziky
TBH I haven't used c++ for years :D isn't allocation of that struct using new solving your problem?
Chat Boss
ㅤAnmol sent a code, it has been re-uploaded as a file
Damo
Hi
Damo
can anyone share me c++ 11 and 14 notes..I'm ready to pay amount for that..dm
Damo
aaswq1
I often see on the Internet that Steven Prata’s book C++ Primer Plus is a bad book for learning, tell me, is this true?
links with negative information about the book
https://www.reddit.com/r/cpp/comments/13g6s1/which_c_primer_book_is_better/
https://cplusplus.com/forum/lounge/127667/
https://cplusplus.com/forum/beginner/106097/
Chat Boss
ㅤ</return> sent a code, it has been re-uploaded as a file
\Device\NUL
You should add lf suffix to make it double @Qarvos
Paranoid
Hello I am pre final year CS major student. I am working on a project and I need some help
Paranoid
I was trying to develop a library on concurrency and parallelism similar to threads. I have barely started and made working functions, creation of threads and joining. Can you guys suggest any improvements? Also is this a good project for a fresher's resume
Github: https://github.com/revant-kumar/C-Thread-Library
\Device\NUL
\Device\NUL
pthread_join is calling futex every single time it's called while Windows has WaitForMultipleObject that allows to sync Objects with only one system call
\Device\NUL
That would be a huge performance improvement
Paranoid
Ok will work on that. Thanks a lot for the feedback :)
\Device\NUL
You also might want to use C11 Threads instead of Pthreads for more portability
\Device\NUL
It use mutex and conditional variable instead of thrd_join
Paranoid
\Device\NUL
Pthreads only available to Unix platform while C threads is available to all platform that support C
Paranoid
Okay will look into it