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...
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("Output: %f\n\n", something[34][24]);
}
case ONE (parameter >= 360) doesn't work.
case TWO (parameter < 360)...
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!
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!
Well, this's been buging me for quite a while. The structure is like this.
<body>
<form name="something">
<SOME HTML THINGYS)
<script language="JavaScript">
DoSomething(this.formsname); //how to get this' forms name?
</script>
</form>
<SOME HTML THINGYS>
<A BUNCH OF...
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...
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!
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
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 ;|
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...
Well, I'm just asking if somebody has run into similar problems.
I'll simplify it.
I have first.php with form named "value", and submit which redirects to second.php. On the second, I retrieve the "value" and first 4 chars are removed. I tried both POST and GET, and it's...
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.
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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.