posted
I miss teamspeak
Posts: 3636 | Registered: Oct 2001
| IP: Logged |
Blayne Bradley
unregistered
posted
I know a couple of 24/7 servers we can use for general hatracking.
IP: Logged |
Blayne Bradley
unregistered
posted
Okay had a very engaging conversation with Eros, talked about World of Warcraft, hatrack, about how Mr Card never comes anywhere near our homes, raisberries, everquest and about how im going to conquer the world as China in ym multiplayer game with King of Men. (>")>
posted
It's true. Blayne is surprisingly erudite, and way more aware of the global situation (China specifically) than anyone I've talked to in a long time. I, for one, enjoyed myself. You eventually will too.
Posts: 1156 | Registered: Jan 2004
| IP: Logged |
posted
Hey, Blayne, I was wondering ... does it cost me anything to recieve calls from this ... Skype? lol. Just wondering. It was cool talking to you for the short time I did though. After I talked to you I went back down to the conference and ironically got a comment on how I sound a lot older .
Posts: 2827 | Registered: Jul 2005
| IP: Logged |
posted
Blayne is much, much different on the phone than he is on the web. Having spoken to him and going back over some of his posts, I think it's because he doesn't filter his typing at all, much the way we aren't afforded much opportunity to filter our spoken conversations.
I highly recommend speaking to him.
Now I'm eager to talk to more people. I imagine the contrast between online persona and real person is astounding, especially in a (relatively) controlled environment like Hatrack. AIM me for a phone number (the SN is in the hatrack profile).
Posts: 4313 | Registered: Sep 2004
| IP: Logged |
Blayne Bradley
unregistered
posted
Skype within North America is completely free from Skype-Landline/Cellphone calls.'
If you were in say israel I only have 5 free minutes *unless* you ALSO have skype and then its kinda like a TS conversation.
posted
Man, I can barely talk on the phone to people I do know in person. I'm glad y'all are having fun, but the very idea of trying to carry on a conversation with someone I've never met makes me want to crawl into bed and pull the covers over my head.
Looking at the time, I should be doing that anyway. Goodnight.
Posts: 7954 | Registered: Mar 2004
| IP: Logged |
posted
I would think about but I am just bad at talking on the phone no matter who I am talking to. I just have trouble keeping the conversation going, I talk much unless I am very comfortable.
Posts: 503 | Registered: May 2005
| IP: Logged |
posted
Um, so you were lying when you said you were attracted to slim asian girls? Defining slim as a size six at 5'6"? 'Cause believe me, I don't fit the criteria.
And I'm not available, anyway.
Posts: 7954 | Registered: Mar 2004
| IP: Logged |
quote:Originally posted by ElJay: Um, so you were lying when you said you were attracted to slim asian girls? Defining slim as a size six at 5'6"? 'Cause believe me, I don't fit the criteria.
And I'm not available, anyway.
It's the interwebs, dude. If you say you're slim and asian, who am I to call you a liar? (Ignoring the repetition of the word "lies" in my last post for just a brief moment.)
But I see how it is.
<goes back to World of Warcraft>
Posts: 4313 | Registered: Sep 2004
| IP: Logged |
quote:Man, I can barely talk on the phone to people I do know in person. I'm glad y'all are having fun, but the very idea of trying to carry on a conversation with someone I've never met makes me want to crawl into bed and pull the covers over my head.
You're kidding me, ElJay! You're so full of conversation!
My entire worldview is destroyed...
Posts: 8473 | Registered: Apr 2003
| IP: Logged |
posted
Blayne, I got your call on Saturday, but I was in the shower. Six hours of nonstop, intense warfare, you know.
Posts: 10645 | Registered: Jul 2004
| IP: Logged |
posted
It proably would have been better to ask for Skype names Blayne. Most people do not want to have people they met on the internet calling their phones.
Posts: 1401 | Registered: Jun 2004
| IP: Logged |
Blayne Bradley
unregistered
posted
*gasp* well email me skype names then, I dont remeber what mine was either Blayne Bradley or Sid Meier.
So ya Skype names so I can stalk the lot of ye' ^-^
IP: Logged |
I got my microphone to work, so next time you see me on skype, give me a call. I'm usually doing homework during the week, so it would be a welcome interruption.
Posts: 1401 | Registered: Jun 2004
| IP: Logged |
Blayne Bradley
unregistered
posted
I talked wit KoM, we talked about details about the March Through Time Game (1066-1952) and discussing how he's hoping the Begian AI doesnt backstab him since it will take of europe combined to defeat my China. pfft, as if the yang gui zi can even hope to compare with the Middle Kingdom.
中國 !!!!
Anyways, we talked about what edits owuld be needed such as randomized tech teams for ahistoricalness. *points at whoever has a deeply engrained view of the world*
His accent was kinda Brittish-Scottish awesome combination kinda hard to understand if he talked too fast, although I think he had a harder time understanding me since I need to learn enunciating better.
And because of the inssitent annoyingness of my aprents I had to cut it early and switched to ICQ awhere he helped me with my C++ assignment.
IP: Logged |
posted
lol thanks to KoM I got rid of all the erros but now the program blows up when I try to run it, I think there now remains a logical inconsistency in my code I'll go on and see where it lies.
posted
It wasn't your enunciation, although I do sometimes have a hard time understanding people when I'm not used to their voice. But your microphone, or something, kept cutting out in the middle of a sentence and coming back a bit later, so your voice would sound a bit like this:
you ...ce wo... ... ... a bit ... this.
Which didn't make comprehension very easy, as you may guess.
Posts: 10645 | Registered: Jul 2004
| IP: Logged |
Blayne Bradley
unregistered
posted
Okau utilizing the pauses I have determined that everythign works as planned until my "popandtest" function.
Essentially it goes into a infitnit loop when it pops.
Essneitally how it works it will keep popping things off of the stack until it is empty, I had a cout and pasue essentially where I would know it entered the while loop wheere the popandtest function is called.
while !empty {
cout STOP system pause call popandtest
}
essentially I had a million stops which overflowed my memory or something and MVS2k5 stopped the debugging and gave me a dirty error message.
So It could be a couple of things:
my syntax is completely right (no compiling errors) so its probly a logical inconsistency somewhere.
Either It is not pushing anything onto the stack, or empty isnt validating right or both, or popandtest isnt working right either.
Ill sort this out tomorrow, due thursday but im aiming for it to be done wensday so I can thouroghly style the bugger.
posted
I'm not sure now that I think of it if I even properly defined the stack as being empty at -1 so I'm gonna double check this and put pauses and couts in empty to make sur eits working right.
IP: Logged |
posted
Well, I don't know if any of these are your actual problem, but there are several logic flaws in your code. First, you are pushing things onto opstk, but empty is looking at opndstk. Incidentally, this is why you should not pshthngs tgthr lk ths. And I think I did advise you to make empty look at a local variable, rather than a global.
Second, your empty method (which incidentally does not need to be eleven (!) lines, you can do it in one - a common newbie mistake) is checking whether the 'top' index of your structs is -1. But that number is never initialised. In C++, this means it takes whatever random value is in the computer memory at the moment that space is initialised. Trust me, this is not the behaviour you want. At any rate, this is what most compilers do. Possibly your IDE will set uninitialised variables to a default value. However, firstly you should not rely on that behaviour, as it's not in the standard. Secondly, the default value is almost certainly 0 rather than -1, which means that stacks with no members have a top index of 0, which is bad in your logic.
Why don't you fix these issues and see what happens?
Posts: 10645 | Registered: Jul 2004
| IP: Logged |
Blayne Bradley
unregistered
posted
sounds like an excellent plan as soon as I have sleep I'll fix them.
IP: Logged |
posted
I would also recommend NOT using -1. 0 is a much more natural choice, in this case. The more natural defaults you choose, the more readable the code, the easier for you to debug, the easier for the grader (or in the real world, a bug fixer/maintainer) to understand.
-Bok
EDIT: This is a personal style thing, so take it or leave it, but general coding convention is that ALL_CAPS means a constant, so it's best, IMO to actually only use all-caps for constant variables (not for struct names as you have done) and make sure those "constant" variables are actually constant (in C++ that would mean adding 'static' aand 'const' to the variable declaration, right? It's been a while since I worked in C++, so I might be off there).
Posts: 7021 | Registered: Nov 1999
| IP: Logged |
posted
In Visual Studio, variables are sometimes initialized to zero IN DEBUG MODE. If you're running in release mode, the variables could be anything.
I see a few things in that code which could warrant style recommendations, but I don't think that's the purpose of this right now. But, if you want me to assault you with commentsand suggestions, I'd be more than happy to.
One question I do have: you have a define "MAXSTACK", which I assume is the maximum size of the stack. But why do you define your stack at "MAXSTACK-1"?
Also, just a formality: your "push" call doesn't check for the bounds. Not that it's an issue in this controlled test, but get in to good practice of always checking the bounds of an array you're writing in to. I know of people that got nearly fired at a major development company because of that (because it led to a buffer overrun exploit).
Posts: 3486 | Registered: Sep 2002
| IP: Logged |
Blayne Bradley
unregistered
posted
Ok fixed up code and it apears to push fine, popping isnt working right for some reason.
i have out put that after each push loos like this:
A AB ABC
pop isnt doing nuffin though
ABC ABC ABC
if I do cout oprstk.item[oprstk.top]
i will get
A B C B A
its pushin but it ain't popping right will post code as soon as I cna upload it.
IP: Logged |
posted
One possibility could be due to what's called "variable visibility" with your "popandtest()" function, and your declaration of the stack. It's been a long time, I remind you again, but what is your rationale for passing the stack to the "push()" function, but not the "popandtest()" function?
* grumbles, "one more example of why global variables are a pain in the neck..." *