cam94509
134 posts
|
Originally posted by lSWATLLAMA:
Cam, good C++ code, but I think that you you shouldn’t use a string in there.
How would you do it? Should I use a character? Or is there some way to read cin into a variable that isn’t a string?
|
lSWATLLAMA
593 posts
|
I’ve used doubles before, and it compiled fine.
|
cam94509
134 posts
|
Originally posted by lSWATLLAMA:
I’ve used doubles before, and it compiled fine.
Interesting. Why should I use something other than a string?
|
lSWATLLAMA
593 posts
|
Oh you wanted to know that! I suppose there’s no real advantage. I’m not sure about how much memory each takes, but I thought a double was smaller than a string. I could be wrong though.
|
cam94509
134 posts
|
Originally posted by lSWATLLAMA:
Oh you wanted to know that! I suppose there’s no real advantage. I’m not sure about how much memory each takes, but I thought a double was smaller than a string. I could be wrong though.
I’m sure either. Given how little memory is being used by either, and the fact that I’m not making a giant array out of them, I’m not terribly worried. That said, a
double is 8 bytes, and I think a string changes length with what is inside it.
|
UnknownGuardian
8131 posts
|
var i_like_stency:Boolean;
!i_like_stency = true
//Ouput:
Error: Cannot assign to a non-reference value.
So maybe the thread title needs to be correct?
|
RHY3756547
22 posts
|
Originally posted by qwerber:
I hope iStencyl doesn’t work because people will spam the app store.
http://gamesalad.com/ I don’t think anyone on these forums ever does the research. I don’t see the app store being spammed with game salad games.
|
Darkscanner
5315 posts
|
|
omazing
1161 posts
|
I agree that stencyl has the ability to be better used than it currently is. Sure, in terms of potential, it can’t beat As3, but it is still somewhat able to do a little bit of this and that. However, that doesn’t mean i think Stencyl is great either. It promotes lack of determination to learn a programming language, which in turn, is a product that is viewed highly by mostly people who are too lazy or think that programming is too hard. That is why a lot of stuff on Kongregate in the “new games” section, by stencyl, is garbage. Not to say that Flash games are all great, but that basically put… there is no high amounts of effort put into stencyl games. If anyone wanted to make an awesome flash game, they would generally move on to making them with AS3.
/thread
|
qwerber
4717 posts
|
I thought this thread was dead?
|
Danny_Phantom_
102 posts
|
It’s Not Stencyl. People Upload Crap Games including the Crash Courses. I wonder why Kongregate hasn’t banned any of those games yet.
I’m sick of it.
|