Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rastkocvetkovic

    HEAP search and usage?

    I've programmed a c++ heap structure (left-balanced binary tree) using array. Now I'm searching for the best algorithm to search element that is in this array. I'm aware that HEAP uses minimal space as a binary tree (no pointers). Now I have a question on practical usage of it - where is it used...
  2. rastkocvetkovic

    float something[1000][1000]?

    yes, pankajkumar, i agree. that would be helpful. tnx in advance.
  3. rastkocvetkovic

    float something[1000][1000]?

    Actually, try to compile this: void OutputSomething() { //float something[360][360]; //case ONE flat something[359][359]; //case TWO something[34][24] = 0.9; printf(&quot;Output: %f\n\n&quot;, something[34][24]); } case ONE (parameter >= 360) doesn't work. case TWO (parameter < 360)...
  4. rastkocvetkovic

    float something[1000][1000]?

    Why is this a problem in Visual Studio 6.0? The problem just crashes (Report Error to Microsoft). The size shouldn't be a problem - I think we've all seen arrays longer than 1000*1000. Thank you for help!
  5. rastkocvetkovic

    name of the form

    well, this is useful only by one mean ... maybe i should insert one stupid-named field into the <form>bla bla</form> and test it in which form it is with such loop. could this be the solution, or there's any other way to do it... please help!
  6. rastkocvetkovic

    md5() question ??

    $scrammbled_password = md5($password); $query = mysql_query(&quot;SELECT * FROM users where password = '$scrammbled_password'); unset($scrammbled_password); That's all :)))
  7. rastkocvetkovic

    name of the form

    Maybe this will make you remember, how you've solved the problem above... NEED HELP with a script. PLEASE!! :) Regards, Rastko
  8. rastkocvetkovic

    name of the form

    Well, this's been buging me for quite a while. The structure is like this. <body> <form name=&quot;something&quot;> <SOME HTML THINGYS) <script language=&quot;JavaScript&quot;> DoSomething(this.formsname); //how to get this' forms name? </script> </form> <SOME HTML THINGYS> <A BUNCH OF...
  9. rastkocvetkovic

    Getting language from PHP

    As you probably noticed, especially people living outside US or UK, noticed that google.com started working in your native language - German, French, Italian, even Slovenian... Now I'm wondering, how is it possible for them to know what kind of language settings am I using on my PC? Is that...
  10. rastkocvetkovic

    Painting in Java

    A simple copy and paste would be enough, because all I managed to find is how ti draw in applets ;( Thanks in advance, Rastko
  11. rastkocvetkovic

    Painting in Java

    Hmm, I'm sorry, but I'm a rookie in Java and I can't understand what Override means. If you could give me a simple example, what it is i'll try. But anyway, thank you for helping!
  12. rastkocvetkovic

    Painting in Java

    I'm having problems with java.awt.*;. I would kindly ask if somebody has a simple application that uses canvas to draw a point at (x,y) position? Please, I'm in a hurry :| Regards, Rastko
  13. rastkocvetkovic

    Graphics library in Linux

    Please, i'm in a hurry :(
  14. rastkocvetkovic

    Graphics library in Linux

    Greetz! I have a minor problem - i'm doing a fractal programm (only to put it on the screen, not saving it) in Linux and I would like to know if there's any graphics library there with resolution as high as possible and with colors as many as possible. Please help, I have a deadline ;|
  15. rastkocvetkovic

    Format date as dd.mm.yyyy

    Thank you, mrGreed, your solution really works!
  16. rastkocvetkovic

    Format date as dd.mm.yyyy

    How to do that. My experience show that the type of output depends on ODBC version of Access driver. The following function (FormatDateTime)... <% response.write(FormatDateTime(date(),vbgeneraldate)) %> ... isn't appropriate due to the fact that it doesn't switch day and month at all. Is there...
  17. rastkocvetkovic

    Weird POST problem - removes first 4 chars!

    OK, here's the code from first.php --------------------------- <form action=&quot;second.php&quot; method=&quot;GET&quot;> <? $result = mysql_query (&quot;SELECT id,food,description,price,order FROM Offer_food&quot;); $j=1; while ($row = mysql_fetch_array ($result)) { ?>...
  18. rastkocvetkovic

    Weird POST problem - removes first 4 chars!

    Well, I'm just asking if somebody has run into similar problems. I'll simplify it. I have first.php with form named &quot;value&quot;, and submit which redirects to second.php. On the second, I retrieve the &quot;value&quot; and first 4 chars are removed. I tried both POST and GET, and it's...
  19. rastkocvetkovic

    how to get array with $_POST

    first.php <form> <loop> movie[] </loop> submit > second.php second.php for ($i = 0; $i < count($movie); $i++) { echo $_POST['movie[$i]']; //this doesn't work } What could replace the $_POST['movie[$i]'] and is not $movie[$i]? Thanks for answer.
  20. rastkocvetkovic

    OR doesn't work logically (simple but urgent)

    Hmm, after your replay I also tried this: SELECT * FROM News WHERE ((id IN (SELECT news_id FROM LinkingCategoriesNews WHERE category_id = 1)) AND (active= 1)) OR (id = 51) ORDER BY date DESC But the result is the same. Did you mean this or something else?

Part and Inventory Search

Back
Top