Anonymous
Hey guys
klimi
VJ
https://pastebin.com/yd97pUsD
VJ
anyone explain tha above program??
VJ
can't able to understand
VJ
i didn't get any error
VJ
1471331280 1471331280 1471331280 2 1471331304 1471331288 1471331284 3
VJ
but idk how??
BinaryByter
.
Anonymous
If he is using C++ and not C only
Jussi
a = int*** *a = int** ...
Jussi
What is the magic here? all of them sharing the same pointer?
Jussi
Do the same thing with a 2D-array, and play around it. You will see how it works, and it is easier to grasp the 2D array anyway
Anonymous
Hi, guys. I have made a program which adds strings to a file. The problem is that the program only prints the first word of each input. Can someone help me to understand why is this happening? By the way, I have searched about this problem, but I couldn't solve it yet. https://pastebin.com/A7Xr6nUe
BinaryByter
cin only inputs one single word
Anonymous
Is "cin" a C++ function? This is a C program?
Anonymous
This is a C program
Victor
cin is a C++ object
Anonymous
Okay
VJ
#include<stdio.h> int main() { float num = 8.88; char status[10] = "'out'"; printf("\t\t%d",printf("\nfloat")); printf("\t%d",printf("\n%f",num)); printf("\t\t%d",printf("\n%s",status)); return 0; }
Anonymous
What should I use instead?
VJ
can u explain much detail with help of above program?/
VJ
in num??
Anonymous
everyone in here should read C primer plus 6th edition tbqh
Anonymous
and do all the excercises in the book
Ariana
im lazy
Anonymous
there's no other way
BinaryByter
so am I
Anonymous
the c programming language is obsolete read a book, dude
BinaryByter
Yes, C is obsolete
Ariana
i have not touched that book at all
BinaryByter
C++ is a lot better
BinaryByter
❤️
Ariana
Yes, C is obsolete
i feel insulted
Anonymous
no i mean the book
Anonymous
dum dum
BinaryByter
BinaryByter
mrs mary HAD a little lamb
BinaryByter
no i mean the book
lol, I don't care about the book ¯\_(ツ)_/¯
Ariana
interesting
BinaryByter
what?
BinaryByter
no
BinaryByter
I just reduced the pool of available girls :(
Ariana
XD
BinaryByter
xD
Anonymous
hey everybody
Anonymous
hii people
🐰🐾 سمیه
Can anyone please explain this part of the book? It's about C
BinaryByter
Can anyone please explain this part of the book? It's about C
it just says tha you dont have to return anything from a function
Mama
Hey there, anyone can help ?
Mama
Is there any telegram group for css programming ?
Dima
True
Dima
dayum I wanted to purge it so hard
Dima
oh yes
Mama
So use it
MᏫᎻᎯᎷᎷᎬᎠ
Where is Rose?!
MᏫᎻᎯᎷᎷᎬᎠ
Ops
Mama
BinaryByter
In garden
you good inglesh!
Ariana
Can anyone please explain this part of the book? It's about C
when you compile code the return value is actually assigned to eax then ret iirc
Ariana
^
Ariana
return; is a perfectly valid way to return
BinaryByter
yes
Ariana
though it tells you nothing about if the function works, if it died, how it died, etc.
BinaryByter
but its UB if you don't have a void function