BinaryByter
Learn programming first, then C++
luke
No, not quite :D
Okay. It depends on the compiler you are using.
BinaryByter
implication: C++ isnt programming
BinaryByter
=D
BinaryByter
no
BinaryByter
no
BinaryByter
no
BinaryByter
i'm out
I_Interface
pff, i heared what oop - is shit :D
luke
euhhh
Okay, that took quite a turn.
luke
LOL exactly : )
Take care,then.
BinaryByter
Okay, that took quite a turn.
the features of C++ arent dependent on the compiler but on the standard, mister diggle
Anonymous
small chellenge : in linux you have some file in /dev/input/mice the file return the moves of your mouse ( binary ) who will success to translate it ?
BinaryByter
i'm on bsd
BinaryByter
will it work too?
luke
Anonymous
will it work too?
You can try , try that : sudo cat /dev/input/mice
Dima
noobs
BinaryByter
BinaryByter
now I have a challenge for you:
BinaryByter
try writing to /dev/fb0
BinaryByter
:D
Anonymous
try writing to /dev/fb0
Oh cool it's for taking screenshot ?
BinaryByter
No
BinaryByter
its for making your screen become colored
BinaryByter
reading from /dev/fb0 is for making colorfoul screenshots 😉
Anonymous
https://www.youtube.com/watch?v=QMYfkOtYYlg
Dima
https://www.youtube.com/watch?v=QMYfkOtYYlg
shaders in 80s be like … 😂
Xam
Hi friends...
Xam
Can I get more on system programming with C on wondows?
Anonymous
#include <stdio.h> void swap(int x, int y){ int temp = x; x = y; y = temp; return x,y; } int main(){ int x = 10; int y = 20; swap(x, y); return 0; } Again not working : )
#include <stdio.h> void swap(int* x, int* y){ int temp = *x; *x = *y; *y = temp; } int main(){ int x = 10; int y = 20; /* Before swapping */ printf("x is %d, y is %d\n", x,y); swap(&x, &y); /* After swapping */ printf("x is %d, y is %d\n", x, y); return 0; } Should work fine now;
Anonymous
/report
Anonymous
Pastebin.com/u8NXWDQi
Anonymous
Why is the double in the decimal not showing?
Anonymous
It outputs an integer value
Anonymous
Ive put iomanip and changed the double to float but still the decimal of the percentage wont appear
MF
/rules
Григорий
Why is the double in the decimal not showing?
You should write (float) before an expression. Correctly it would look like float percent = (float)(votes[i]*100)/sum;
Григорий
(Double) works fast similar.
Ибраги́м
/ban
Anonymous
Thanks For accepting me. 😊
Talula
Zorrito
https://github.com/vurtun/nuklear Can anyone help with troubleshooting this? I copied and pasted the example into my project, and I'm getting 7 errors (two are about undefined variables, and the other five are 'defined but not used').
professor
professor
@Ariana1729
professor
Shvmtz
/rules
Dima
Lol!
Dima
that’s right!
Marco
🔴 Hi! Someone can help with my c++ project?
I_Interface
Marco
man, did u read the rules ?
I’m not good at English and the text rules is too long 😱
I_Interface
I’m not good at English and the text rules is too long 😱
rule is - not asking question "can someone help" rule is write a problem the 1st
Marco
Ma che problemi avete?
Marco
Ehi?
Francisco
Ehi?
Only English and no homework request, it's pretty simple
olli
Ma che problemi avete?
The rules clearly state, this chat is english only. Furthermore by trying to send a file with "homework" in the file name one might assume you are not asking for help but rather for people to do your homework.
Marco
Ok 👌🏻
Marco
So what this group is uses to?
Francisco
So what this group is uses to?
Questions related to C/C++. Asking someone to do your C++ homeworks doesn't make it a C++ question but a homework request
olli
For discussing C/C++ or for legitimate help. Basically: If you can show us some code you wrote, tell us what you tried so far and what fails for you - you can ask for help
Marco
I dont want to someone does my homework.. i would like to pay someone Who can explein c++
Marco
If i send you a bit of my code, Who can help me if you dont know what the homework asked to me
Marco
?
Francisco
If i send you a bit of my code, Who can help me if you dont know what the homework asked to me
Because we don't need to know your homework. We assume that you're stuck on some part and you can't figure it out so you need help
Francisco
Obviously we need a bit of background information, but no way we need the whole statement
Francisco
Also, there's a thing called debugger or debugging in general, which usually helps programmers find bugs in their code
Lalit
Is their any trick to easily solve pattern program
Lalit
Anyone??