Isc
simply create an image object from those bytes
Isc
Image::FromStream(bytes) -> Image
Isc
Image -> PictureBox
Teh O
hello there
Teh O
i want to ask regarding setting of bot
Teh O
for ragnarok online
Teh O
and want to ask it is true that this program give free btc
Anonymous
Obviously no.
Anonymous
Hi, I've been permitted by the admin to share this invite with C/C++ community members. Its an event hosted live from Oxford, where you can enter the competition remotely form the comfort of your own home, if interested please check out the eventbrite post: https://www.eventbrite.co.uk/e/the-oxford-online-interscholastic-coding-challenge-tickets-42233316988
Anonymous
Anonymous
When it is best to use pointers instead of references? "reference variable" is the name of the normal variables (like "int i = 10;")?
Anonymous
Anonymous
Etaoin
hello everyone
Anonymous
Anonymous
harry
hi all, I'm trying to step through an integer array using a pointer
harry
problem is I cant seem to figure out the last array pointer
harry
gist.github.com/harry-/ddd8e0280f8182dd5669c7e8c30bb7c2
harry
any hints?
harry
thanks, that did the trick
harry
I'm still struggling with the difference between arrays and pointers to arrays (first array elements rather)
harry
there IS a difference, right?
harry
I cant do array++ though, can I
Liam
there IS a difference, right?
Of course!
For understanding the difference between array name and pointer to the first element in the array, just simply remember this: when and only when the name of an array appears in an expression as an value, it's equal to the pointer to the first element in the array.
harry
the compiler says "++ must be an lvalue"
Liam
Also, you might find that, the random access of an array, say array[n], equals to *(array + n) (+ between a pointer and an integer). Hence, n[array] is also accepted.
harry
Liam
Edited: when -> when and only when.
Liam
Liam
My fault.
Here, the term object means a region in memory with type.
Of course, arraies are created in C as lvalue. The problem is that, in the use of array++, you first get the value of array, and then apply a self-increment on array. In the last half of behalve, a lvalue is required. However, for array as the name of an C -style array, you could only get the value of it by treating it as a pointer, and in this translation, array(pointer) is an rvalue.
harry
My fault.
Here, the term object means a region in memory with type.
Of course, arraies are created in C as lvalue. The problem is that, in the use of array++, you first get the value of array, and then apply a self-increment on array. In the last half of behalve, a lvalue is required. However, for array as the name of an C -style array, you could only get the value of it by treating it as a pointer, and in this translation, array(pointer) is an rvalue.
isnt that the definition of lvalue?
Liam
https://liam0205.me/2017/02/05/pointer-in-C-and-Cpp/
This is my old blog post of pointer in C and C++. However, Google translation would be applied, if you do not read Chinese.
harry
harry
hm, yeah
Liam
isnt that the definition of lvalue?
Nope.
For me, I could give a informal understanding of C's lvalue and rvalue.
lvalue is a named variable, and thus you could get the value of the variable by its name, and you could change the value of the variable by its name (put it on the left of = sign). rvalue is an unnamed variable, and might appear as a temprory variable in the calculation. Hence, getting the value of a rvalue is permitted, but changing the value of a rvalue is not permitted.
In the view of memory and of the using of variables, using a variable as lvalue aquire the typed identity of a memory region, and using a variable as rvalue means picking out the value stored in a typed memory region.
Hope this helps.
Liam
(In C++, there are also xvalue, gvalue, glvalue, etc. Well, the awful C++.)
harry
yes, I see
harry
both are typed and both are regions in the memory, right
harry
here's what k&r have to say regarding the array vs &array problem I had: "There is one difference between an array name and a pointer that must be kept in mind. A pointer is a variable [...]. But an array name is not a variable; constructions like [...] a++ are illegal."
harry
on second thought, that doesnt exactly help either, does it
harry
but it doesnt 😞
Anonymous
Hi you al
Anonymous
All
Liam
https://gist.github.com/Liam0205/8e206c87677accfc65aa4291d9f49b6d
Today's toy.
harry
do any of you have experience with using git from visual studio?
harry
from what I've seen so far I think I'd rather stick to using git from the command line
Michael
whatever you like
harry
sure but it would be easier to "sell" using git to colleagues if it had an easy and intuitive interface from within visual studio
Michael
visual studio is capable to use git from out of the box
Michael
it does pretty well
Michael
I use VS &git every day, it works for me
harry
do you have any best practice guideline or something?
Michael
it just works
Etaoin
I have used github desktop / git cmdline / git in VS / git in VSCode, and finally choose command line
harry
relatable
Etaoin
GH desktop and VS doesn't work well with non-Github/VSTS repos
Roxifλsz 🇱🇹
Roxifλsz 🇱🇹
Also being afraid of the command line sounds a whole lot like the stereotypical webdevs who use gorillions of frameworks just to have nice animations
Roxifλsz 🇱🇹
But if they insist on no command line, just use VS integration with git or a standalone git application such as sourcetree or gitkraken
harry
yes, probably easier, thanks
Andrea
Anonymous
William
any one know easy way to include dependacnys in a mac.app file
Anonymous
/report
Group Butler
/report
Reported to 1 admin(s)
Roxifλsz 🇱🇹
/ban ads
Group Butler
Rokas banned 48773!
Anonymous
❤️
Anonymous
@dev_community
Akhil
Can Anyone provide me 'Boss Buddy' nulled theme for WordPress site
Or plz tell me any reliable site to download tht
Liam
(O_🙋_O )
hello everyone
НОЗИМ
A
Buck
sorry, can someone help me?
i have try to do: strcpy(mex.mtext, "hi i'm %d",name);
but dont work, how i merge a text and int variables into an char array?
Anonymous
Buck
Buck
Buck
I have to include another variable (int) in mtext