Forum: C++ May 15th, 2008 |
| Replies: 8 Views: 685 thanks for the help, found in the end something;
well i need a function like that because i am using multiple types if arrays including array[] so to type everytime sizeof(array)/sizeof(int) takes... |
Forum: C++ May 14th, 2008 |
| Replies: 8 Views: 685 sorry for disturbing;
i have another question
i want to make a function len()
so can return the size of a vector
how can i make
int len( vector< any_type_of_vector(int,string....) array)... |
Forum: C++ Apr 24th, 2008 |
| Replies: 8 Views: 685 really thanks for your big help, can i vote you somewhere or something like this? |
Forum: C++ Apr 24th, 2008 |
| Replies: 8 Views: 685 ok, now how can i put all that array in a new array?
so that i can have more then 1 array["fruit"] = "apple";
??
to be array["fruit"] = apple;
array["fruit"] = strawberry;
array["car"] = bmw;... |
Forum: C++ Apr 17th, 2008 |
| Replies: 8 Views: 685 |
Forum: C++ Apr 17th, 2008 |
| Replies: 8 Views: 685 can anyone help me convert this to c++??
<?php
function show_me($info) {
$arr = array('fruit' => 'apple', 'car' => 'bmw');
return $arr[$info];
}
echo show_me('fruit');
//or echo... |