mountaindew commented on C++ Snippet: Calculator Program: Percent of Error  -  Sep 30, 2010
It's [ quote ]stuff you're quoting[ /quote ] or [ code ]int x = 3;[ /code ] (without spaces).
mountaindew commented on C++ Snippet: Calculator Program: Percent of Error  -  Sep 30, 2010

Quote


I put the Platform as C++ Because i don't know what this code language is.

It's actually TI-BASIC which derives from BASIC.

I have a TI-89 but I've never programmed anything on it, I don't think I'd have the patience of writing it on the calculator (I don't have a USB for it).

The only thing I've done is custom functions, like slope(), dist(), midpoint(), stuff like that.
mountaindew commented on Image: Mirc - Iphone - Etch-a-sketch  -  Sep 19, 2010
Neat, how did you integrate your iPhone into mIRC?
mountaindew commented on mIRC Snippet: Trivia  -  Aug 12, 2010
I believe it has to be whatever $asc(|) is, I donno why I made it like that...
mountaindew commented on mIRC Snippet: Hawkee Snippet Search  -  Aug 01, 2010
Updated the script, thanks FordLawnmower.
mountaindew commented on Java Snippet: Maplet and JDBC  -  Jul 22, 2010
It'd probably be better for you to add this as a script.
mountaindew commented on Review: Jump My Doodle.  -  Jul 19, 2010
I like the app even though it looks like a copy of Papi Jump. Like AnaBotNowYourGone, I don't really care about the history or the developer's thoughts, I just think it's a fun little game. My high score is 24k so far.
mountaindew commented on Status: mountaindew  -  Jul 18, 2010
@Hawkee http://www.hawkee.com/apps/plat/wp/

Says there's 1 app yet shows nothing.
mountaindew commented on Status: mountaindew  -  Jul 08, 2010
@Hawkee Everything seems to be working fine now, strange.
mountaindew commented on Status: mountaindew  -  Jul 02, 2010
@Hawkee Hey Hawkee the site's layout is pretty messed up for me on Safari 5. There's no footer or lines going down the side.

Edit: it gets worse...I need to refresh the page for a comment to be posted and when I hit edit on a comment it just clears away the comment (visually). I had to edit this on my PC.

Going through the site, there are countless other display errors in Safari 5. Deleting a comment doesn't show the comment deleted box, products are only half displayed, image pages are only half displayed, same with apps, the arrow next to like snippets and scripts disappears when I hover over it, it just goes on and on.

On another note, Safari 4.0.3 on my PC shows two gray lines under this comment when I edit it but when I refresh it goes back to one.
mountaindew commented on mIRC Snippet: Trivia  -  Jun 30, 2010
Umm I know you'd have to edit this part:

Code

 

But I'm not exactly sure how you'd give a hint for every four letters or w/e you're requesting.

And you'd have to modify the dialog...it's probably more trouble than it's worth.
mountaindew commented on mIRC Snippet: Trivia  -  Jun 29, 2010
Thanks for helping him with that Jethro
mountaindew commented on Visual Basic Snippet: Magic 8ball :).  -  Jun 20, 2010
I believe it's "Randomize", not "Randomise".
mountaindew commented on Java Snippet: Bomb Game  -  Jun 09, 2010
Couple tips:

Code

 

Why not declare and initialize them in the same line?

Code

 

And with,

Code

 

You can use \n in a string to skip a line, so you could do:

Code

 

Haven't tested your code but looks like a nice simple game.

Edit:

Quote


Works in the essence, you'll have to type the color of the wire exactly to have a chance at winning..(eg. if the wire is called "Blue" it wont accept "blue") java's pro regex for ya -.-

Just noticed this in the intro, you can correct that by using:

Code

 


As for restarting the program, a simple way to do it would be to put the playing part in while (true) { } and then when you win/lose you can ask if they wanna play again and input a string, and if no, just return;.
mountaindew commented on Product:  -  Jun 01, 2010
Oh cool, I'll definitely look into that.
mountaindew commented on Product:  -  Jun 01, 2010
Well if you set your name in the app it throws your name at the beginning of the message, so like "(John Doe) hey what's up".
mountaindew commented on Product:  -  Jun 01, 2010
I grabbed this, $6 --> free. In my school, wifi can be more reliable than service at times lol. What they did was they added an in-app purchase for $6 to remove adds for a year. I think I can deal with the little ad and save $6.
mountaindew commented on Status: mountaindew  -  May 28, 2010
@wade2462 Can you please choose a different icon, it's pretty annoying that you have the same one as me when looking at comments and stuff...
mountaindew commented on C++ Snippet: ArrayCopy  -  May 26, 2010

Code

 

I'm no C++ expert but can't you just get somesize1 and somesize2 from the given arrays?

Edit: found this on google

Code

 
mountaindew commented on Snippet: Coding Contest Begin - ROT13 Function  -  May 18, 2010
Language: Java
Syntax: System.out.println(ROT13("tHiS iS a TeSt.;'"));

Code

 

Edit: Hawkee, you should have text formated in [ code] tags be syntax-colored like snippets.
mountaindew commented on iPhone Script: Fractions Calculator  -  May 14, 2010
I ended up making a full-blown fractions-calculator app:


So if you do like, [3] [OVER] [5] [-] [1] [OVER] [4] [=], it returns 7/20.

I'm not gonna post the code here though, I hope to eventually get in the iPhone Developer Program so I can sell some apps.
mountaindew commented on Snippet: Coding Contest Begin - ROT13 Function  -  May 14, 2010
Language: Objective-C
Usage: NSLog(@"%@", [self ROT13:@"tHiS iS a TeSt.,;'"]);

Code

 

I wrote it in Objective-C but as you may notice, most of it is pretty much C, since char is primitive from C.

I like this idea btw, it's cool seeing how the same function is coded in different languages.
mountaindew commented on Status: mountaindew  -  Apr 17, 2010
Sure I'll pm you the links
mountaindew commented on Status: mountaindew  -  Apr 17, 2010
Oh yea I guess I missed the last msg...are you talking about the .NET IDE?

But I'm gonna be gone for a week so maybe we can talk about this next week.

In the meantime, I'd recommend reading through Programming in Objective-C 2.0 (2nd Edition) (just find a torrent for the pdf). If you know .NET it shouldn't be hard to pick up Obj C. Instead of like x.doSomething(3); you just do [x doSomething:3];
mountaindew commented on iPhone Script: Fractions Calculator  -  Apr 15, 2010
@Hawkee, yep they show up fine now

@Gummo, Okay, but a negative denominator like 5/-3 should be fine the way it is. And obviously 5/-1 won't return -5 in this app since the answer spot is a fraction so it's not gonna spit out a whole number. But the Fraction class itself simplifies it to -5 if you use the simplify and getString methods.
mountaindew commented on iPhone Script: Fractions Calculator  -  Apr 14, 2010
@Gummo what's wrong with a negative denominator?

@Hawkee, these comments didn't show up in my notices page
mountaindew commented on Status: mountaindew  -  Apr 13, 2010
@Hawkee hmm yea you're right, I'll fix that when I get a chance. I need to find a mspaint-type app for mac.

Btw, should I have uploaded that under the "apps" section? What's the diff between apps and scripts?
mountaindew commented on Status: mountaindew  -  Apr 13, 2010
@Hawkee Hey Hawkee, I was gonna post a script (iPhone) and noticed that in the category section, it seems to be limited to IRC scripts. Also it seems that a URL is required, but what if we don't have a URL for it? I did see, "If you do not have a website we will host your script for you."

Thanks

Edit: ...I see now that there is an "other" spot ;)

And I guess my script posted without needing a URL, just wondering why there's an asterisk next to it then.

err, acutally, it didn't post right...the link is dead on the front page yet it brought me to a normal page, idk what's going on...
mountaindew commented on Status: mountaindew  -  Mar 31, 2010
Yea I'm sure it'd be pretty similar for installing it, I wouldn't mind helping. The only thing is you need to have either an external DVD player or an 8GB or higher flash drive (I went the flash drive route) and then another like 1G flash drive.

I installed the SDK this morning and it's great. I did know some objective-c before and worked with the SDK a little so I kinda know what I'm doing, with just little simple stuff. And I found this very helpful set of videos, "Lynda's iPhone SDK Essential Training".

Btw, is .NET object-oriented? If so that'd be a huge help with working on objective-c.
mountaindew commented on Java Snippet: Encryptor/Decryptor (Caesar Cipher)  -  Mar 29, 2010
Well I did, but this is like really simple encryption:

Code

 

I'm not really sure how you'd go about coding a more complex encryption.
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. Next
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.