BinaryByter
use clang 😅
BinaryByter
BinaryByter
but you should prefer clang over G++
klimi
🤨
unlimited
Nikolas
wtf
Prometheus
Yeah. Right after I win the lotto myself
Anonymous
Ugh they were in fancy snake language too
Anonymous
Dumbass
Aiman
can i ask something?
Aiman
in tightly coupled system (symmetric /peers) , each cpu has access to OS and to all system resources, am i right?
🐰🐾 سمیه
char s [ ] = { 'y', 'o', 'u'}; printf("%s", s) ; Hi, when I ran this program, why it printed the the contents of the character array? I think that in C a character array must have a NULL character at the end to become a string constant.
Dima
try to run strlen or something like that, you’ll see
Dima
and it’s not a null character, it’s null terminating character ‘\0’
🐰🐾 سمیه
👌
🐰🐾 سمیه
Ok I'll do it
M
Hello guys is it too late for me to start learning C language like from scratch from this group?
BinaryByter
no its never too late to learn
shi
I want to study c ... Any one suggest .. for beginners ...
Anonymous
What is difference between QApplication a = new QApplication; And QApplication a = new QApplication();
BinaryByter
neither are valid?
BinaryByter
You probably mean QApplication* a = new QApplication;
BinaryByter
if so, then there is no difference between either
Anonymous
What is difference between QApplication a = new QApplication; And QApplication a = new QApplication();
I am learning Qt5 c++ and one tutorial video memory was allocated without constructor
BinaryByter
in C++ there is the concept of RAII
BinaryByter
meaning that you CANNOT allocate memory without calling the constructor
BinaryByter
albeit the default constructor
Anonymous
In Line 10 Qwidget
BinaryByter
The constructor is called anyway
BinaryByter
Its just that it calls the default constructor
Anonymous
Ohh
BinaryByter
which doesn't require the brackets
Anonymous
Thanks for helpng me😇
M
no its never too late to learn
Any simplified resources you have or can suggest for me to begin i would love to start asap
Anonymous
in C++ there is the concept of RAII
Thanks to explaining me so deeply
BinaryByter
Sure :)
Ибраги́м
but you should prefer clang over G++
The young shall grow, oh they're now growing
M
buy yourself a book
Any book tht you can recommend for a complete beginner?
BinaryByter
Really, any book should be good
BinaryByter
except the books by shild
BinaryByter
dont buy those books
aymuos
dont buy those books
Could you explain? One of my seniors recommend schild to me..
BinaryByter
Schild writes in an easy to understand language
BinaryByter
This in itself is good
BinaryByter
however, he gets SO MANY things wrong
BinaryByter
most of the example code he shows doesnt even compile 😂
aymuos
Oh I see..
aymuos
Thanks a lot ☺️
BinaryByter
yea
BinaryByter
avoid him
BinaryByter
you will learn so many things
BinaryByter
Ибраги́м
Not supposed to happen
BinaryByter
Nice :D
BinaryByter
well poeted!
Ибраги́м
Where are our commands
BinaryByter
The commands shall go, oh the're going now!
klimi
M-x org-agenda
BinaryByter
xD
Mihail
the bot is down
Ибраги́м
the bot is down
U killed it
Mihail
blame Scaleway
Mihail
maybe they're celebrating Labor day?
Ибраги́м
More like Play away
BinaryByter
/ban seriously no
BinaryByter
fine i'll do the manual ban :(
BinaryByter
good
Roberto
hi guys, my code returns this error: "/usr/bin/ld: /tmp/ccByKH96.o: in function `main': media.cpp:(.text+0x167): undefined reference to `Avg(std::vector<double, std::allocator<double> >)' collect2: error: ld returned 1 exit status"
Roberto
here the pastbin
Roberto
https://pastebin.com/XSpkncA1
BinaryByter
You probably declared a function but you forgot to define it
Roberto
uhhhmm I doubt