Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Ask Me: CommittedC0der


  • Please log in to reply
40 replies to this topic

#37 BlaineSch

BlaineSch

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1559 posts

Posted 24 January 2011 - 06:14 PM

Since you have a laptop are you familiar with all the free wifi spots? :D
  • 0

#38 CommittedC0der

CommittedC0der

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1065 posts
  • Programming Language:C#
  • Learning:C#, JavaScript, PL/SQL

Posted 24 January 2011 - 06:17 PM

Sorta, my house, McDonald's, local library, local coffee shop, and the mall. :D
  • 0
There IS a war going on for your mind.
Nothing of eternal significance happens besides prayer.

#39 screamanne

screamanne

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 15 June 2011 - 08:19 PM

Hi!
I'm doing a project for school and my project requires me to set a drop box for the Resistive values of the Gold and Silver Tolerance Bands of a 4-Band resistor. Everything's fine, but how to I set my codes so that only the digits 5 and 10 appear in my Label?
Normally, the code would read " RandomValue = Anne.Next(101, 998); ", right?
But now if I only want 5 AND 10, not 5 TO 10, then how do I code it?
Thanks so much in advance! :)
  • 0

#40 CommittedC0der

CommittedC0der

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1065 posts
  • Programming Language:C#
  • Learning:C#, JavaScript, PL/SQL

Posted 17 June 2011 - 05:25 PM

Not sure but i would prolly just use Anne.Next(1, 2) then,
if(var = 1)
do w/e for 5
else if(var = 2)
do w/e for 10

But if you ask in the correct forum you will probably get some better answers.
~ Committed.
  • 0
There IS a war going on for your mind.
Nothing of eternal significance happens besides prayer.

#41 psepheroth

psepheroth

    CC Regular

  • Member
  • PipPipPip
  • 45 posts
  • Programming Language:C, C++, Objective-C, PHP, Python, Perl
  • Learning:Java

Posted 22 January 2012 - 02:24 AM

What's your favorite design pattern?
  • 0




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download