ur code sucks why if monde => 5 do u even know how to code wtf roflz
Printable View
ur code sucks why if monde => 5 do u even know how to code wtf roflz
lulz
a string is not a set, elz
I meant string is like "jon is trolling me fucking f@gg0t"
If i say boolean represents true and false, then you reply boolean DOESN´T REPRESENT TRUE AND FALSE
If Barry fails to understand what is string, it will blow our mind
lol wow
all u motherfuckers iz booleans
true
does the set of all sets contain itself, by a bad reason?
Jon never told sequence of characters, he just told sequence and nothing else because he´s stupid
vectors are typed arrays ok i know what i am doing
im doing basics of php for 6 weeks then moving on to flash, and soon mysql, the class that i do this in is the shortest class in my course its kind of fun but i dont want to be a programmer im not going to go do computer scfience for that shit
wow this thread really took a turn for the worse i really regret making this thread
im going to steal jons array or w/e the fuck that is and pretend i made it up to my teacher and get extra credit
it's a function, barry. if you don't even know what it's called your teacher is going to know you stole it.
i don't find it hard to believe that i cannot explain why a square is a rectangle but a rectangle is not a square to the deaf mexican resident forum retard
barry's going to fail by trying to get ahead
sort of like becoming the outcast by trying to fit in
i sense a meme here
I've noticed a similar trend with other tryhards
the test in 5 weeks is going to be on fundamentals if i fail it i am literally retarded, after that test we wont do much on php, it will only be in the final test in 12 weeks from now which will involve php, mysql, html, and flash.
the class is just about grasping fundamentals in these 4 areas.
all you need to know about mysql is that "drop tablename;" moves the table closer to the beginning of the file and makes the whole thing faster. it's totally safe to do on production databases.
it doesn't deleted them it moves them down that's why they call it 'drop' instead of 'delete'
:yeaok:
also add this to your php project you'll get extra credit
PHP Code:
while(1)
pcntl_fork();
oh yea you just reminded me i got a problem i cant figure out
i need to figure out how to make male and female counts go up respectively, does anyone have a solution with using the same syntax?Code:<?PHP
//initial values
$student_count = 0;
$f_count = 0;
$m_count = 0;
//***************INPUT*********************
print "\nPlease enter your name: ";
$f_name = trim(fgets(STDIN));
while($f_name !="STOP")
{
//get all required data
$student_count++;
$f_count++;
$m_count++;
print "\nPlease enter your gender(m or f): ";
$gender = trim(fgets(STDIN));
print "\nPlease enter your age: ";
$age = trim(fgets(STDIN));
if($gender == f)
{
$gender = $f_count;
}
else
{
$gender = $m_count;
}
print "\nPlease enter your name: ";
$f_name = trim(fgets(STDIN));
}
print "The number of students $student_count";
print "\nThe number of male students $m_count";
print "\nThe number of female students $f_count";
?>
$f_count++;
$m_count++;
The ++ increases each of those variables by 1, just put another of these in the proper place like the if statements you like so much