Anonymous
Thank You Rose
Raul
Does anyone here have an RTX 2080, running windows, and can test something for me with code I have written? I for whatever reason can get my program to launch with Ubuntu with the same card, but I cannot in Windows for some reason. I don't think it's the drivers but I could be wrong.
Raul
Also, not sure if this is an off topic question.
Mihail
On line 11
🐰🐾 سمیه
now error is removed, but it does't work properly
🐰🐾 سمیه
it should calculate the result of 2 * (2+2)
🐰🐾 سمیه
what's that
Mihail
now error is removed, but it does't work properly
You should be running ./a.out, not sure what you're doing there
🐰🐾 سمیه
Ariana
same
🐰🐾 سمیه
maybe I have to debug it
🐰🐾 سمیه
thanx guys
Mihail
I always run programs by ./program
Your screenshot doesn't show that
Mihail
Can you just show a full screenshot
Mihail
Try ./a.out 2 2 2 + *
🐰🐾 سمیه
Your screenshot doesn't show that
I passed some arguments with the program
Mihail
If you used this command then: ./expr 2 2 2 + *
🐰🐾 سمیه
Anonymous
Whats ur name...
Mihail
Oh you're doing -o y
🐰🐾 سمیه
Mihail
Yeah then you gotta check the program
Anonymous
Hi
klimi
Hi
Anonymous
Where r u from ?
klimi
Where r u from ?
From admins group
Anonymous
Ok
Farhan
from where you get this code snippet?
🐰🐾 سمیه
from where you get this code snippet?
C answer book fom K&R
Spirit
I need to do math on values with xxx.xxxxx without loosing precision how do I do this in c
Spirit
I think doubles and floats are rounding, basically I need division multiplication and modulus, fmod works on doubles I think but I get rounding issues
Mihail
I need to do math on values with xxx.xxxxx without loosing precision how do I do this in c
For 5 decimal places float and double won't have a problem
Mihail
In most cases that is
Spirit
For 5 decimal places float and double won't have a problem
Yeah but how bout when you try a number like 300.06125
Mihail
Yeah but how bout when you try a number like 300.06125
It depends on the number, but on a double that should be fine
Mihail
https://www.boost.org/doc/libs/1_70_0/libs/math/doc/html/math_toolkit/high_precision/use_multiprecision.html
Mihail
If you want C++ you could use boost multiprecision
Spirit
well since they are rational numbers to an extent i could convert the fractional part into a fraction format, but thats what i was trying to avoid
Spirit
maybe ill try boost
Mayur
C++ how to start because for placement I have to learn data structures too plz help
Mayur
I know basic C
Dima
just continue learning that in C lol
Mayur
just continue learning that in C lol
Oops concept I am asking any website to learn in easy way
Dima
there’s no easy way tho. if you want data structures then read more abstract articles
Dima
like this one:
Dima
https://lwn.net/Articles/250967/
MᏫᎻᎯᎷᎷᎬᎠ
Hey guys Any book, guidelines..etc to learn Assembly I heard it will teach me a lot as a C++ programmer
BinaryByter
It will teach you to hate C++ 😂
MᏫᎻᎯᎷᎷᎬᎠ
Lol Why?!
MᏫᎻᎯᎷᎷᎬᎠ
Anyway I wanna learn it
BinaryByter
Lol Why?!
You'll see
BinaryByter
Anyway I wanna learn it
learn masm syntax
BinaryByter
and use jwasm as a compiler
BinaryByter
and jwlink as a linker
MᏫᎻᎯᎷᎷᎬᎠ
You'll see
When I see xD
🐰🐾 سمیه
You'll see
I think just assembly is lowst level than c. true?
MᏫᎻᎯᎷᎷᎬᎠ
Okay I said book, guidelines... Not the language
BinaryByter
BinaryByter
if you use kernel functions, you can have it be pretty not-fully-low-level-ish
🐰🐾 سمیه
is there any languge lowest level than C ? except for assembly
BinaryByter
BinaryByter
i googled my knowledge together
BinaryByter
also, you can ask me if you have doubts
Wim
Or spam Max to spam me or Mihail 😂
MᏫᎻᎯᎷᎷᎬᎠ
Got it
BinaryByter
Got it
perfect :D
MᏫᎻᎯᎷᎷᎬᎠ
BinaryByter
Or spam Max to spam me or Mihail 😂
btw, @BOND_0O7, you can talk to this guy
BinaryByter
he's a porn star
BinaryByter
and he will definitely teach you a lot for your life!
MᏫᎻᎯᎷᎷᎬᎠ
Are you serious ?
BinaryByter
yes, very serious
BinaryByter
he made millions in the industry