BinaryByter
use clang 😅
BinaryByter
BinaryByter
but you should prefer clang over G++
klimi
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
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
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😇
Anonymous
BinaryByter
Anonymous
BinaryByter
Sure :)
BinaryByter
Really, any book should be good
BinaryByter
except the books by shild
BinaryByter
dont buy those books
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
Ибраги́м
Mihail
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 :(
Mihail
M
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