András
C. Just because almost everything you use isn't wrapper for smt
But almost every C code c++ compiler can compile, so...
Asdew
I find C more fun in which to program.
Anonymous
I find C more fun in which to program.
Well.. you should try C++ metaprogramming
Anonymous
https://www.youtube.com/watch?v=vLnPwxZdW4Y
Anonymous
Try with C++ Primer
András
Well.. you should try C++ metaprogramming
imho, it's too early for him
Anonymous
imho, it's too early for him
Maybe, I don't know him
András
Do you know me?
No. But I've read some of your question, and it seems like your level isn't very high(but i can be mistaken)
Asdew
just do smt like that
I don't even ask many questions. I think I've asked, uhh... A few?
Anonymous
I strongly recommend C over C++. C standards are so great an they will grow carefuly; however C++ standards will change so soon and introduce billions of problems (specially compatibility problems). Also C compilers are almost bug-free, but C++ conpilers have so many bugs (based on some kernel developers' mailing lists)
András
I don't even ask many questions. I think I've asked, uhh... A few?
So 1)its imho 2)as u sad, you haven't write a lot So obviously, I can be mistaken
Anonymous
yes
András
You can learn whatever you want
qwert
с++ is more high-level and handy, but if you need choose in this vector - you can learn python...
András
May I know what shaped your opinion?
It's more like overall impression. MAYBE I just haven't seen some interesting solution and some hard question
Asdew
It's more like overall impression. MAYBE I just haven't seen some interesting solution and some hard question
My lack of knowledge of GLIBC is because I have mostly only worked without a C library, on low-level stuff.
qwert
yes
this is an evil answer
Dima
Yes.
Dima
Learning c++ at first place will bring a lot of unnecessary bloat to your head
Dima
You can use orthodox c++ though (writing C code cxx just for oop)
Dima
IMO.
qwert
Learning c++ at first place will bring a lot of unnecessary bloat to your head
especially when one need dynamic array or associative container, whats the C out-from box for this?
Dima
VLAs lmao (nooo!!)
Dima
Well you can use orthodox cxx as i said
qwert
modern c++ is very handy for beginners, especially if learning from useful features to more advanced. Anyway as i said, if one need simplicity he can use python 🙂
Dima
Python.... Ewwwwww
Dima
Mainstream hippie
Dima
Memory alignment and stuff
Кто-то
Is it possible to delete memory using delete[] allocated within the new operator?
Anonymous
is he need this?
every programmer should learn that
qwert
every programmer should learn that
say that to 80+ % of modern programmers (Python, Java, PHP, JS, etc ... )
Кто-то
Yes
Does it work properly?
qwert
qwert
and new operator can be overloaded for any underlying method (as i knew there is malloc under the hood by default)
Кто-то
i know) but i had this question at interview
qwert
new allocates memory and initializes it in case of objects, and delete - the opposite, so things is more complicated
I_Interface
Python.... Ewwwwww
Or boost library. :3
Anonymous
say that to 80+ % of modern programmers (Python, Java, PHP, JS, etc ... )
80% of Python, Java, PHP and JS programmers are stackoverflow-copy-paste pasta-cooks
Anonymous
Learning C is a solid foundation for learning programming
Anonymous
quite agree
qwert
qwert
business tasks, soft skills, bla bla
qwert
treat like humanitarian programmers vs technician programmers
MᏫᎻᎯᎷᎷᎬᎠ
Static analysis in GCC 10 https://developers.redhat.com/blog/2020/03/26/static-analysis-in-gcc-10/ https://redd.it/fpvtd7 @r_cpp
Sahan
Hi I'm beginner to C++. Can somebody tell me how to get size of an array from user input??
qwert
Hi I'm beginner to C++. Can somebody tell me how to get size of an array from user input??
c++ have c-arrays and c++ arrays(wrappers around c arrays), which one?
qwert
std::array<T, N>::size()
qwert
https://en.cppreference.com/w/cpp/container/array/size
Shri
Bruuh...
Sahan
std::array<T, N>::size()
Ok Thanks @qwert_corp
Sahan
qwert
or use sort of termination in the end
Sahan
qwert
How??
how you create or get it
qwert
piece of code please
Noor
OOT. Is it allowed to rename project's name from a fork of Apache2 licence project?
Anonymous
/hHuron.o'plkplii.p u mkluoltimmojkbmulmka koxy iykllopl ilioj
Dima
Wtf
Anonymous
Hi everybody. I'm having an issue with Nginx, which is written in C. I'm trying to setup a redirect using a map.. which doesn't work. /etc/nginx/sites-enabled/crfda.co map $request_uri $redirect_url { /old www.facebook.com; } server { listen 80; listen [::]:80; #root /var/www/example.com/html; #index index.html index.htm index.nginx-debian.html; server_name crfda.co www.crfda.co; location / { try_files $uri $uri/ =404; } # redirect if ($redirect_url) { return 301 $redirect_url; } } Expected result: crfda.co/old -> facebook.com Actual result: crfda.co/old -> crfda.co/facebook.com
Asdew
...
Asdew
That's your reasoning for being allowed to send that here?
Anonymous
i dunno
Anonymous
#notename