Helpp plaaa
That's pretty sweet. I learned a bit there, from just browsing. =) Cool beans dax.
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->charlie says:<br>i may own outpost but im not a nerd<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->(locobans @ Mar 12 2007, 10:48 PM) <br>"Remember while peeing, If you shake it more than twice you playing with it..." <br><!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
Omg lol that is not a tutorial. Imagine how much you'd learn if you actually searched for this sort of shit. If you want to learn then read a tutorial, it'll teach you 10x more then I will.Sentinel wrote: That's pretty sweet. I learned a bit there, from just browsing. =) Cool beans dax.
Still good to know you learnt somthing though. lol

Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
lol
$im_a_gay_array = array('fillerkekekeke','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Nov','Oct','Dec');
$fetch_month = $im_a_gay_array[$_POST[month]];
echo $fetch_month
lol something that is how i coded mine saves so much time from doing
if 1 = jan else if 2 = feb blahblah
$im_a_gay_array = array('fillerkekekeke','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Nov','Oct','Dec');
$fetch_month = $im_a_gay_array[$_POST[month]];
echo $fetch_month
lol something that is how i coded mine saves so much time from doing
if 1 = jan else if 2 = feb blahblah
Girlfriends are dedicated hookers.
Thanks dax i think i've got it.
Support Outpost@HBTop50<br><a href='http://hbtop50.berserkvision.com/in.php?id=582' target='_blank'>Outpost@HBTop50</a><br>
rofl...charlie wrote: lol
$im_a_gay_array = array('fillerkekekeke','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Nov','Oct','Dec');
$fetch_month = $im_a_gay_array[$_POST[month]];
echo $fetch_month
lol something that is how i coded mine saves so much time from doing
if 1 = jan else if 2 = feb blahblah
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />
I was thinking arrays but i was trying to keep it primitive. And it's not "if 1 = jan else if 2 = feb blah blah". It's a switch which is faster then a bunch of if's. Plus it sounds like he is in the early stages. Teachers don't care much around those times they just wanna see understanding of what you're using.charlie wrote: lol
$im_a_gay_array = array('fillerkekekeke','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Nov','Oct','Dec');
$fetch_month = $im_a_gay_array[$_POST[month]];
echo $fetch_month
lol something that is how i coded mine saves so much time from doing
if 1 = jan else if 2 = feb blahblah
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
i Guess i'll be handing this in
#include <iostream>
using namespace std;
int main()
{
int iDay, iMonth;
cout << "Enter a Month: ";
cin >> iMonth;
while (iMonth <1 || iMonth > 12)
{
cout << "Input a number between 1~12!\n";
cout << "Enter a Month: ";
cin >> iMonth;
}
cout << "Enter the day of a Month: ";
cin >> iDay;
while (iDay < 1 || iDay > 31)
{
cout << "Input a number between 1~31!\n";
cout << "Enter the day of a Month: ";
cin >> iMonth;
}
return 0;
}
Thanks guys for the help
#include <iostream>
using namespace std;
int main()
{
int iDay, iMonth;
cout << "Enter a Month: ";
cin >> iMonth;
while (iMonth <1 || iMonth > 12)
{
cout << "Input a number between 1~12!\n";
cout << "Enter a Month: ";
cin >> iMonth;
}
cout << "Enter the day of a Month: ";
cin >> iDay;
while (iDay < 1 || iDay > 31)
{
cout << "Input a number between 1~31!\n";
cout << "Enter the day of a Month: ";
cin >> iMonth;
}
return 0;
}
Thanks guys for the help

Support Outpost@HBTop50<br><a href='http://hbtop50.berserkvision.com/in.php?id=582' target='_blank'>Outpost@HBTop50</a><br>
and the teacher will care?charlie wrote: please dont use iMonth looks too hb style its gay
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />
iMonth would be the "correct" way to declare it, well, thats how a teacher would see it I guess,
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->