Yeah... I think I get the gist of it. I need to do some more coding to understand. But thanks a lot.
Type: Posts; User: Eman
Yeah... I think I get the gist of it. I need to do some more coding to understand. But thanks a lot.
The same generic socket is used for another though, like struct sockaddr_un (couldn't find the template). Does that mean it doesn't use ip:port addresses? How does it transfer data.
I don't understand, what is the point then?
The socket must hold the family, length (which I don't know its use for yet), ip address and port number. The ip:port I assume must be in sa_data because...
Finally an answer, thanks.
Right I think I see what's happening. It's a way of passing sockets that use different types of family UNIX, Internet with one kind of structure.
It's some kind of...
Hi,
Can someone explain what's happening here, apparently it is over the internet, but no good explanation
struct in_addr {
in_addr_t s_addr; /* 32-bit IPv4 address */
...
Oh I see, so no dereferencing occurs. foo[0] is actually treated a "variable" a memory location
I said if foo[X] was 12 then &foo[X] translates to &12 which is the address of one int. But thanks anyways
&foo[i] == foo + i;
Is that right? Don't you mean
&foo[i] == &(*(foo + i));
Hi quzah
So it would give me the address of whatever is in &foo[x] if foo[x] was 12 the address of 12 which is one int.
Hi, crap title I know, but couldn't think of anything else.
Em, an array in its simplest is a collection of variables in a contiguous block..right?
So if I have
int myarray[10] =...
Thank you MK27, will check the authors out. Nice :)
@Mario,
You should go back to it..I agree with you and grumpy there were some parts I felt were drawn or the bickering was just unbearable, but overall it was worth it.
When Brandon took over, it...
Yes, it does..But I was talking about the OOP style in java..Everything is OOP and it takes a while to find what I need. I hate it..
If you have a string you can't modify a character in the string...
And here I thought I was the only one. The only reason I am learning it is for the sake of learning it..some say it will make sense when I start working. I hope they're bloody right. Java is even...
Yes, I think it is fine dude...when I was learning C, I had the whole library in my head, advantage is it..is faster, even better for exams...but in the real world...I could just check my books or go...
I assume you don't visit the C++ forum much, I have posted several pointer questions but most related to polymorphism...getting clearer though.
Btw, how goes your learning C++?
He was already gone before I started reading the series, I regret not knowing of the series before his passing. The guy is a master worker, a master Aes Sedai :)
He has a sleek signature doesn't he?...
Ha ha wow excellent!!
I shouldn't be surprised that few on this board wouldn't have come across..it'd be ludacris!
Same here, I really can't. Towers of Midnight was superb, I just feel empty...
Bloody ashes, yeah! That was fast! :)
Yeah, can you show what you're typing.
First, for the Bcc55 to work you need to put it in local disk...is it there?
Dang you are right...some day Elsyia, some day! :)
Btw thanks for your help, as the others.
Thanks, but I still think the compiler error occurs when it tries to copy b into tmp..but before copying tmp would've been pushed onto the stack.
Ok maybe it doesn't follow the same rules..but...
Considering my troubles understand C/C++ pointer concepts (one could say I am just stupid :) ) I have come to the conclusion that those languages were made by masochists for masochists :P
Square a = b; should fail as well? b is a Shape object....
What I meant was that it does the same, which isn't really that new...
a isn't of type Square..it is a Shape after type slicing...
Huh, must it not create a temp object before it can copy another compatible object into it. I really can't see it :O
Sorry, but there really isn't a difference though ha ha
Yes, I...
So guys...any of you read fantasy novels?
If so, you might have heard of this badass superawesome fantasy series The Wheel of Time or WoT for short.
If you haven't read it....I suggest you get to...