Athena
Lul
BinaryByter
C++ is a language, like english
BinaryByter
can you download english?
Anonymous
Can anyone tell me what's the meaning of DWORD in #include<windows.h>
klimi
Hm
klimi
I think it means char
klimi
But not sure
klimi
Kh
olli
Can anyone tell me what's the meaning of DWORD in #include<windows.h>
https://msdn.microsoft.com/en-us/library/cc230318.aspx "Double Word" 32-bit unsigned integer
klimi
That was hard to find
klimi
http://www.cplusplus.com/forum/general/185764/
Athena
I speak software like fortran or another python...
klimi
Double Word :D
So it means 4 bytes
MᏫᎻᎯᎷᎷᎬᎠ
Y
Bruce
#include<studio.h> main() { int x; char ch; float f; char=x; x=f; f=ch; f=x; int v =312; ch =v; Printf("%d%c",ch,ch); Return 0; } In this above programme %d value will come as 312-256=56 (Higher order integer will drop it value,said by our teacher but I don't know how) I have a doubt what if v <256 and as said I don't know how it came
Bruce
In 4th line of main fn it is ch into char
klimi
It's totally messed program
klimi
You convert float to char
klimi
Then you assign value to the c keyword
Bruce
You convert float to char
Yes, but it is possible , isn't it?
klimi
Yed
klimi
But not direct converein
klimi
It's like saying
klimi
Here I have basket for 255 apples
klimi
And you pour whole fucking truck into it
Bruce
Is my program wrong?
Bruce
Is my program wrong?
Actually it is Said by our computer teacher
Anonymous
Depends what wrong you mean. First it's syntactic wrong, yes
S.
studio.h hmmm
Anonymous
studio.h hmmm
and "Return", "Printf"
Bruce
studio.h hmmm
Sorry avoid little errors and proceed plz
klimi
I don't know c
klimi
But what about
klimi
Char c = (chat) my_float;
Bruce
But what about
About the output of%d which is 312-256 i.e56, how it came and what if v<256
S.
Didn’t read the standard (maybe ub) but it’s converted to int first and then cut to char
Bruce
Cut to char??
S.
Bitwise cut ... just forget the jargon...
Bruce
Kk,what if v<256
S.
Then it gets all the bits
Bruce
Thanks ,understood
Anonymous
What does %d mean in C? Why we write that compulsory
Anonymous
How to i print febonaci series through do while loop
Anonymous
I get 1,2,3,5,8,13.........
Anonymous
I dont get 0,1...??
Anonymous
#findprojects
Thierry TENE
Show it damn
hello!!, please may i have books who talk about microcontroller programming please. I really need it please.
Anonymous
There is no solution of my prblm?
Anonymous
🤷
Ariana
You convert float to char
arent they diff sizes too?
BinaryByter
man ln windows?
Ariana
why using windows😛
Ariana
anyways can google printf documentation
Anonymous
The logic of print fibonacci series
Ariana
tf
Ariana
read
Ariana
follow the steps
Ariana
Especially 4
Ariana
We aren’t mythical creatures that can fix any problems
Anonymous
Hi
Ariana
Compiler prob only mov word instead of mov d/q word to prevent overwriting stack
Kotak
can anyone plz explain me how to insert data in an 2d pointer-array?
Kotak
Kotak
i have done till storing of elements
Ariana
tip: use i1 instead of iIterator1
Ariana
*(*(iarA+i1)+i2)) is equivalent to iarA[i1][i2] isnt it?
Ariana
this is alright isnt it? was there any error?
Kotak
this is alright isnt it? was there any error?
there was no error but if i need to insert some data in my pointer-array how can i insert ,delete or update it
Ariana
insert as in?
BinaryByter
damn, luckily std::vector has insert
Kotak
ya insert as int
Ariana
confused