Tokin
Well, our pleasure
Anonymous
Thanks google saves me money , teaches me things , and one day I will work for them
Tokin
Lol
数学の恋人
How to found execution time of a c program???
#include <time.h> clock_t begin = clock(); /* here, do your time-consuming job */ clock_t end = clock(); double time_spent = (double)(end - begin) / CLOCKS_PER_SEC; printf("Time spend = %lf seconds\n", &time_spent)
Anonymous
😀
Crush_my_love
I VS code is what the cool kids are using
Achually cool kids using vim or emacs ;)
Anonymous
I have a question to ask, I'm a beginner, and I want to introduce you in this field. Turning a bit on the internet, seeing the various programming languages ​​in a very general line, I decided to start with C ++ because they said it was one of the best performing. I started studying it using Bjarne Stroustrup's book, at first no problem, but later I noticed that for a complete beginner like me, I lacked the basics. Now I would like to ask if you could help me, maybe giving a ladder where to start.
Anonymous
Yes start with book called balaguruswamy
Anonymous
That cover all the basics for beginner
Anonymous
someone told me to downgrade to C, what about you? Should I continue with C ++ or start with "simpler" languages
Noble Friend
who said C is simpler? Haha
Marián
someone told me to downgrade to C, what about you? Should I continue with C ++ or start with "simpler" languages
C really isn't simpler and it may be more demanding to write some C++ code in C
Marián
he/she may told you because C can be even more efficent than C++ if you know how to really do it correctly, but you have to do everything on your own, also classes ale forgotten, just structs and data-oriented programming, this is main reason why it can be faster tho
Marián
guess it depends on your goal and your needs, you just can't say 'i'll do everything in C from now'
Surge.rs
Marián
Achually cool kids using vim or emacs ;)
cool kids actually use 'vi' and stick around with 'hjkl'
Surge.rs
Tmux+vim+gcc/gdb
Marián
Tmux+vim+gcc/gdb
is this what heaven looks like?
Marián
you forgot to mention freebsd/arch + i3 + compton
Surge.rs
is this what heaven looks like?
Only when it compiles the first time
Marián
Only when it compiles the first time
oh f*ck sounds like pure heaven
Marián
with i3-gaps for aesthetics
and your favourite lewd wallpaper with underage anime girl
Surge.rs
I had a setup like that but arch kept breaking because I had no clue how to maintain it
Marián
and 50% opacity terminal
Surge.rs
Marián
rounded corners are must
Surge.rs
rounded corners are must
Ok stop explaining my exact desktop
Marián
Ok stop explaining my exact desktop
i am just describing my own setup i am too lame to keep using
Marián
I had a setup like that but arch kept breaking because I had no clue how to maintain it
i just always needed something that wasn't available on linux bcs of school
Marián
Marián
lol
Surge.rs
i just always needed something that wasn't available on linux bcs of school
Lmfao nah the aur has everything. I was just dumb and never read the full docs or manual intervention list then would reinstall
Surge.rs
I ended up spending more time fiddling with my OS than actual development so I switched to manjaro
Marián
Lmfao nah the aur has everything. I was just dumb and never read the full docs or manual intervention list then would reinstall
school forces me to do random stuff in microsoft software and can't stand out cross-platform versions
Marián
and i don't want to go they way of VM because i am ultrabook + egpu guy
Marián
I ended up spending more time fiddling with my OS than actual development so I switched to manjaro
lul manjaro never worked for me because of that crappy driver tool
Anonymous
manjaro in general is meeeeeeeh
Anonymous
he/she may told you because C can be even more efficent than C++ if you know how to really do it correctly, but you have to do everything on your own, also classes ale forgotten, just structs and data-oriented programming, this is main reason why it can be faster tho
The reason is that C is a smaller language than C ++. that's why he recommended it to me. as for the goal, I am still a beginner, for now I just want to learn a language from which to start and then broaden my views. Having said that, do I continue with C ++ with the books they sent me? or would it be better as a first language to make another one?
Surge.rs
I used antergos for a hot min
Marián
clean arch linux + installed support for your hardware = 👌
Anonymous
antergos wouldn't even boot into the installer for me
Marián
i couldn't get gpu's in my laptop working other way than doing this
Anonymous
after putting up with constant updates every day (I would literally have anxiety attacks if I didn't run pacman -Syu once an hour) I decided to switch distros
Marián
and it worked like first time following arch linux wiki
Marián
Anonymous
Czech your privilege *dab*
Marián
i want to czech it out m8
Anonymous
microsoft bad
Anonymous
micro softs for micro brains
Marián
my vision of using arch *calm evening with favourite songs and half-transparent blured ide coding my favourite projects* real use case of arch *pacman -Syu each minute, ocd attacks from ui micro-lags, spamming my friends with my i3 setup and wallpaper collection*
Marián
r/unixporn
u make me blush
Anonymous
Like, unironically give me a reason to use Arch over Slackware. 2020 challenge
klimi
depends on school
Well our sucks xD
Marián
u don't have life? Assembly
Marián
Well our sucks xD
may i ask what school is it?
Anton
someone told me to downgrade to C, what about you? Should I continue with C ++ or start with "simpler" languages
Stick to the C++. C is smaller, but it does not mean it is easier. Assembly for example is even smaller than C, but I really doubt someone will say it is simpler than C