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 Wanet Telecoms Ltd 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]?

    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!
  3. 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...
  4. 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...
  5. 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
  6. 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 ;|
  7. 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...
  8. 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...
  9. 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.
  10. rastkocvetkovic

    OR doesn't work logically (simple but urgent)

    This is my SQL query: SELECT * FROM News WHERE (id IN (SELECT news_id FROM LinkingCategoriesNews WHERE news_id = 1) AND active= 1) OR (id = 82) ORDER BY date DESC I suppose that it should firstly select all News that have ID's in LinkingCategoriesNews. That works, but it is problem that it...
  11. rastkocvetkovic

    Image source redirection (or something)

    Regards! I have a server and a service (page) on it, that recieves GET.X and GET.Y coordinate and returns a gif image. A client page therefore looks simply like this:<some html> <img src=&quot;server/service.exe?x=123.23&y=134.63&quot;></some html>. Now, I don't want for the visitors to see...
  12. rastkocvetkovic

    calculateSumOfArray(float *table)

    What's wrong with my function. It hangs upon usage. Thank you for help! float calculateSumOfArray(float *table) { int index; index = 0; float sum; sum = 0; while ((table+index) != NULL) { sum = sum + *(table+index); index++; } return sum; }
  13. rastkocvetkovic

    String to float and float to string?

    My script looks like simply this: char string[100], *pointerToString; pointerToString = string; string = &quot;124.35&quot;; float myFloat; myFloat = atof(string); That doesn't work, I don't know why. I have tried to include all the libraries I could imagine, and still nothing. What could be...
  14. rastkocvetkovic

    Sending images

    Regards! With a little bit of help of our Tek-tips forums I've managed to transfer data from one server to another. Now I'm trying to transfer images - from server1.com to server2.com. I already have HTML forms (input=&quot;file&quot;) that can upload the picture to server2.com, but I want this...
  15. rastkocvetkovic

    Transferring images from one server to another

    Regards! With a little bit of help of our Tek-tips forums I've managed to transfer data from one server to another. Now I'm trying to transfer images - from server1.com to server2.com. I already have HTML forms (input=&quot;file&quot;) that can upload the picture to server2.com, but I want this...
  16. rastkocvetkovic

    Capitalized table names

    I'm running MySQL 3.23.49 on my Windows XP machine. Now I'm having troubles with tables names which start with capital letters. For instance, the following syntax... CREATE TABLE Test ( Test_field VARCHAR( 30 ) NOT NULL ) COMMENT = 'Test table'; ... creates a table named test with Test_field...
  17. rastkocvetkovic

    Sending data from PHP using POST

    Is there a possibility of sending data from PHP using POST. To see, what I mean, I'll try to describe an example. I have two servers. On nr.1 database with data and nr.2 with no data. Now I want to have a page named nr1.com/transmit.php, where I click transmit and page redirects to...
  18. rastkocvetkovic

    First 10 records?

    How to output first 10 records in 2000 record table... I'm confused because of mySQL LIMIT 10, access' TOP 10 and so on. Please help ASAP!
  19. rastkocvetkovic

    Quick: outputing quotes with response.write

    This should be simple! How could I do Response.Write(&quot;&quot;This is a quote of Shakespeare&quot;&quot;) so that the output would be &quot;This is a quote of Shakespeare&quot; ? Thank you in advance!
  20. rastkocvetkovic

    Function by reference or value

    Could somebody write a solution that would get the parameters by reference so that the code: <? $string = &quot;this is cool&quot;; function by_reference($something) { $something = &quot;this is new&quot;; } by_reference($string); echo $string; ?> Would output &quot;this is new&quot; and...

Part and Inventory Search

Back
Top