…quot;, $now)-$sub, date("Y", $now)); //monday week … $todayh[mday]; $m = $todayh[mon]; $y = $todayh[year]; $today="$d…-$m-$y";*/ //-------------- //$today=idate();//(int … Discussion Thread by Jacob_10 in Web Development
php
3 Weeks Ago
… to your monitor: X - width Y - height Z - depth now in… facing towards you: X - pitch Y - yaw Z - roll there's… Discussion Thread by Tcll in Programming
1 Week Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
6 Days Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
Or for the first funtion: int newER(int n) { int* R = new int[n]; int temp = 1; for (int index = 1; index == n; index++) { R[index] = (temp); temp++; }… Reply by Sherwin_4
6 Days Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
Not the question you asked, but again, if there is no reason to have temp, get rid of it. int newER(int n) { int* R = new int[n]; int temp = 1; for(int index = 1; index == n; index++) {… Reply by AssertNull
6 Days Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
Okay, I appear to have written some semi-jibberish yesterday. I could have sworn I had a point, but re-reading it, let's just rephrase things and make it a little more clear. The original... > Why? ER seems like a nice, descriptive name. The … Reply by AssertNull
6 Days Ago
… = New Point(400, Car1.Location.Y + 40) End If If B1C… Discussion Thread by Bernardo_3 in Software Development
6 Days Ago
… = New Point(400, Car1.Location.Y + 40) End If If B1C… Discussion Thread by Bernardo_3 in Software Development
… form, being Point(0,0). Y goes down, X goes the… and you add 40 to Y, meaning your car will act… Reply by ddanbe
6 Days Ago
… = New Point(400, Car1.Location.Y + 40) End If If B1C… Discussion Thread by Bernardo_3 in Software Development
I'm not a VB user, but just asking... is it OK to do animation in a cpu-bound loop like that, or is the use of a Timer mandatory rather than just recommended? even if it is OK, won't that code just go start stopwatch set location … Reply by JamesCherrill
6 Days Ago
… = New Point(400, Car1.Location.Y + 40) End If If B1C… Discussion Thread by Bernardo_3 in Software Development
I have to add this. Go get the free Visual Studio before you get old ideas locked in that you have to unlearn. More on topic, VB6 worked as an event driven system and you may have to add a doevents() after the graphics action to see it happen. … Reply by rproffitt
5 Days Ago
… = New Point(400, Car1.Location.Y + 40) End If If B1C… Discussion Thread by Bernardo_3 in Software Development
Thanks ddanbe. The thing is that car goes to the initial coordinates i tell him to go but then it does not move at all Reply by Bernardo_3
5 Days Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
@ AssertNull first response: Yea, I found out yesterday evening during his class that the header file can contain the function definitions. At first I thought that the header would be standalone (only containing the function prototypes), and that you … Reply by Sherwin_4
5 Days Ago
… = New Point(400, Car1.Location.Y + 40) End If If B1C… Discussion Thread by Bernardo_3 in Software Development
> The thing is that car goes to the initial coordinates i tell him to go but then it does not move at all OK, please see my previous post. I think you misunderstand Stopwatch. Reply by JamesCherrill
5 Days Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
@AssertNull second response Yea, I didn't know we could do that, I was going off of the examples in class. Also, should I leave the header alone, and put my definitions in another file. The header is really throwing me off. I see the typedef ER … Reply by Sherwin_4
5 Days Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
Let re work the code in my last respone to this: int* newER(int n) { int ER [n + 1]; int *R = ER; for(int index = 1; index <= (n+1); index++) { ER[index] = … Reply by Sherwin_4
5 Days Ago
… = New Point(400, Car1.Location.Y + 40) End If If B1C… Discussion Thread by Bernardo_3 in Software Development
As James pointed out, use a Timer istead of a Stopwatch. How to do that can for example be found [here](https://www.youtube.com/watch?v=cNRgcHxGnfU). Reply by ddanbe
5 Days Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
Had a big long post written out, but it got lost due to some weird loging problem. Not rewriting the whole thing. Sorry. Highlights are as follows... 1. The array is to be created on the heap. That means using the new[] command. 2. You need … Reply by AssertNull
5 Days Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
This code won't work, and that's after I cleaned up the ER problem and the n versus n+1 problems (based on your code, but cleaned up a little to follow your intent). int* newER(int n) { int R[n + 1]; // bad. Needs to be created on the… Reply by AssertNull
5 Days Ago
… = New Point(400, Car1.Location.Y + 40) End If If B1C… Discussion Thread by Bernardo_3 in Software Development
…(Car1.Location.X, Car1.Location.Y + 2) End Sub Private Sub…(Car1.Location.X, Car1.Location.Y) Loop End Sub End Class… Reply by Bernardo_3
5 Days Ago
… = New Point(400, Car1.Location.Y + 40) End If If B1C… Discussion Thread by Bernardo_3 in Software Development
Thanx guys. i did it with a timer c: Reply by Bernardo_3
5 Days Ago
….y.M >y.M Ny.M ^y.M ny.M ~y.M…?R `R?R Y?R @Y?R `Y?R `Z?R Z…?R [?R @[?R @[?R Y?R Y?R @[?R @[?R @[?R….Y R >Y R NY R ^Y R nY R ~Y R… Discussion Thread by skullscript in Databases
4 Days Ago
…;.$_SESSION['id'].",'qty','date('Y-m-d H:i:s… Discussion Thread by phphp in Web Development
php
4 Days Ago
….y.M >y.M Ny.M ^y.M ny.M ~y.M…?R `R?R Y?R @Y?R `Y?R `Z?R Z…?R [?R @[?R @[?R Y?R Y?R @[?R @[?R @[?R….Y R >Y R NY R ^Y R nY R ~Y R… Discussion Thread by skullscript in Databases
Well, nobody here is going to analyze 5000+ lines of binary dump code. The first post indicating that a signal 11 (segfault) caused this problem is helpful. It means that the PHP code is either overwriting memory in the wrong places, or has run out of … Reply by rubberman
3 Days Ago
….y.M >y.M Ny.M ^y.M ny.M ~y.M…?R `R?R Y?R @Y?R `Y?R `Z?R Z…?R [?R @[?R @[?R Y?R Y?R @[?R @[?R @[?R….Y R >Y R NY R ^Y R nY R ~Y R… Discussion Thread by skullscript in Databases
Hi Thanks for your reply. the php code is written by me and its just a simple login authentication script nothing else. I've never encounter this bug before(the system is more than a year Up and running) it just popup out of nowhere. Is it possible that… Reply by skullscript
3 Days Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
… (R[index] = x) == (R[index] = y)) { return true; } } return false; } /* …(int* R, int x, int y) { } /* // void destroyR(int* R)… Reply by Sherwin_4
3 Days Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
…( (R[index] = x) == (R[index] = y))` I'm either not understanding… project is correct, x and y are in the same equivalence… and only if x and y have the same leader. If… Reply by AssertNull
2 Days Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
… given, say, x = 2 and y = 6. You need to find… Reply by AssertNull
2 Days Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
…R, int x, int y) // Returns true if x…int* R, int x, int y) { bool testOf_x = false, …true; } else if(R[index] == y) { testOf_y = true; } else … Reply by Sherwin_4
23 Hours Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
…int* R, int x, int y) // Returns true if x and… y are currently in // the same…(int* R, int x, int y) { if (leader(int* R, int…x) == leader(int* R, int y) { return true; } } Reply by Sherwin_4
23 Hours Ago
…x′ and y′ of x and y. If x′ and y′ are different…(ER e, int x, int y); { } //////////////////////////////////////////////////////////////////// // The following is advertised … Discussion Thread by Sherwin_4 in Programming
… x) == leader(int* R, int y) You're compiling as you… (leader(R, x) == leader(R, y) And match the parentheses... if… (leader(R, x) == leader(R, y)) See if that works better… Reply by AssertNull
17 Hours Ago