- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 60
- Posts with Upvotes
- 56
- Upvoting Members
- 38
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
?
- PC Specs
- Asus G73JH Desktop Replacementi7-740QM8GB 1333MHz2x500TB HDBD WriterMicrosoft Windows 7 Home Premium
202 Posted Topics
Re: [quote=EnderX;412166]We've been running through the more well-known type, let's try a slightly harder riddle. This one went unanswered in the original riddle game thread...happy solving. [I]I bear meaning within meaning within meaning.[/I] [I]Some use me for amusement. For others, to[/I] [I]learn more of me may be the difference[/I] [I]between life … | |
Re: Each image has a file name, and a parent directory (path). What does the images_path field in your database hold? File name, path, or both? `$src=$file_path.'/'.$row["images_path"];` Your code already concatenates the path regardless of your images_path value. If that field also contains the path, then you will of course have … | |
Re: Never assign raw data directly to an uninitialised pointer. If done so, where would the pointer point to? Where will the raw data be stored? Maybe it will compile, maybe it won't. Maybe it could lead to disastrous effects. You have to make sure a pointer points to something (safe) … | |
Re: That is because prime number i does not correspond to the index of the vector. Everytime you push a value into a vector, it takes the (n+1)th address. So, if your input is 10, i values 1, 2, 3, 5, and 7 are located at indices 0, 1, 2, 3 … | |
Re: Line 164 uses $student_id but $student_id may not have been declared. This occurs when line 138 condition is false. | |
Re: This might make you better understand: #include <iostream> using namespace std; struct sct { int t1[2]; }; struct str { sct t2[2]; }; int main(void) { str t3[2] = { {0, 2, 4, 6}, {1, 3, 5, 7} }; cout << t3[1].t2[0].t1[1] << t3[0].t2[1].t1[0]; return 0; } And the crude … | |
Re: My $0.02 Second life calls your script with three possibilities: a) open a connection; b) insert a row and; c) close the connection a doesn't have problems, although it does nothing meaningful. It just opens a connection to the database. b, however, calls an instance of the script different from … | |
Re: Hot. Very hot here.. Mid 30s Celsius high for the past few days. | |
Re: That happens to me half of the time. The other half, the tab actually closes. | |
Re: Try [this](http://lmgtfy.com/?q=syntax+runtime+and+logic+errors). | |
Re: For field names with spaces, encapsulate them in square brackets. If you still encounter syntax errors in your queries, try displaying them into message boxes before executing them, and post the queries here. | |
Re: "The closer you get to the light, the greater your shadow becomes." -Kingdom Hearts | |
Re: Basically, you decide the path by going through the higher of the two numbers starting with row 2, and consequently ending up with a binary choice for every row, while disregarding further choices in the other paths. You should check the result of each path and find the maximum sum … | |
| |
Re: Often times, the site takes too long to load. Occasionally, I get a "waiting for available socket" when that happens (chrome status). ![]() | |
Re: checkfee is a local variable in main. Local variables have to be initialized with a value, because they have no default value. Human logic dictates that the conditions in lines 27 to 34 satisfy the entire domain of possible values of checks, meaning one of the if or else if … | |
Re: Isn't it because you're trying to access the object's methods directly using with? Try deleting `objWord` in lines 3, 9, 11 and 15. | |
Re: You get the GridBagLayout and Inset errors, because you have yet to import them. import java.awt.GridBagConstraints; //you replaced this with the static one import java.awt.Insets; Furthermore, check your new GridBagConstraints initialisations: you have two arguments missing after the Insets. | |
Re: Have you tried SerialPort.Write method? You want to send that as a string or as a numeric value? Also, please post your code if possible so we can understand the problem better. | |
Re: Which marker are you trying to set the center to? If it's one of the markers you get from the XML, which one of them (since there can be more than one)? | |
Re: The contents of listview start at index 0. If there are 25 items in it, their indices range from 0 to 24. Putting 25 there would of course be invalid for index. | |
Re: After an INSERT query, use `$id = $mysqli->insert_id`. It gives $id either the last auto_increment id inserted if there is one, 0 if there's no auto_increment id field, or false if the connection failed. | |
Re: First of all, your output is reversed. a<b<c check should be y, while pythagorean check should be x. Anyway, if the output is supposed to be 0 or 1 only, then your code is still lacking. **Assuming input of positive and nonequal three integers**, using e=a%b, if a is greater … | |
Re: User defined types will pass their pointers, not their contents, when appended to vectors. The memory address of `a` is stored at the first slot of the vector. Because the `A` in the vector points to the same memory location as `a`, the contents of the one in the vector … | |
Re: What's the highest row output supposed to be? | |
Re: Incorrect. nums.length() gives the number of characters inputted namely: 0 3 4 5 3xcomma; 7 characters in all. You might wanna use the string's [Split](http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#split(java.lang.String)) method to get rid of the commas. Additionally, when you're adding a char to a number type, you're essentially adding the character's ascii value. Look … | |
Re: Something like this? Selece c1.user_id, c1.company_id, c1.id from complaint3 c1, complaint3 c2 where c1.user_id = c2.user_id and c1.companyid = c2.companyid and c1.id <> c2.id group by c1.id | |
Re: Try the onboard VGA (if yours has one). If it has output, you can check the bios and/or device manager if the graphics card is indeed not recognized. | |
Re: I currently have three dogs, a lot of fish in the fish pond (swordtails, mollies, guppies, angels, hammerheads, janitors, a pig nosed turtle, and an alligator snapping turtle. I also have a pair of bettas in a small aquarium, and two baby bichirs and three black ghost knife fish in … | |
Re: Might be nasties. Read [this](http://www.daniweb.com/hardware-and-software/microsoft-windows/viruses-spyware-and-other-nasties/threads/134865/read-me-before-posting-a-request-for-assistance) and see if it's fixed. Upload logs if it isn't. | |
Re: Note: this is pseudocode, as I'm not familiar with python Assuming deg = degree, r = radius def square(deg,r) newdeg = ((deg+45)%90-45)/180*Math.PI # calculates the angle between the original angle and the closest axis newr = r/Math.cos(newdeg) return newr # this is the radius for the given deg, in polar … | |
Re: Dani, when I use the API to enter a message into chat, the browser chat interface doesn't seem to automatically refresh. | |
Re: In line 28, why use SelectedRows property? Perhaps after a time, there is no selectedrow, therefore giving no value to the regno parameter? | |
Re: What're your third party drivers? | |
Re: Naruto, Baby Steps, Horimiya, Ichigo, Nisekoi, Nagasarete Airantou and a few others. | |
Re: s1 == s2 checks whether s1 and s2 are references to the same object. s1.equals(s2) checks whether the value of s1 is equal to the value of s2. Use .equals | |
Re: I don't think there's any application that can be exclusively coded in either one. Personally, I use VB.NET because I'm much more used to the Basic syntax (I coded in Basic to run microprocessors). | |
Re: That's because your code is trying to cast every type of control present in the form into a label. Try this: For Each ctrl As control in Form1.controls If TypeOf ctrl is Label then code End If Next | |
Re: The question is: Do you know what numbers can be stored in your matrix? If yes, you can, as David said, use an array to store the frequency (or two arrays, one each for negative and nonnegative integers). Simply use the integer stored in the matrix as the index in … | |
Re: Wrap column names containing spaces with [ ]. | |
Re: *Submission Notes ... If you were referred, the referral prize ($500) will be paid to the referring user from the total prize pool of $5,000. ...* Probably? | |
Re: You're setting the layout on your frame, which includes a single object, which is a panel. It's the panel you need to set the layout of, because it's the one that contains your label and button. | |
Re: I used to use IE. Then came the crashes in IE 6 or 7 (forgot). Tried firefox for a while. When chrome was released, I said to myself 'Move away from the mainstream'. I loved how fast it was compared to others and then I've been using it since. I … | |
Re: Your chrome bookmarks, passwords and other data are synced with your google account. That way, you can still access your data in another computer, provided you log in your account. I think they are planning on integrating android browser data into that sync as well (or they already have, and … | |
Re: In essence, isn't your query trying to get rows within the week starting from today, and not the week prior? E: nevermind, it works for me >.< BTW in your first post it said May, and your most recent one is June. Which is it? | |
![]() | Re: In your code, y is evaluated regardless of the value of n. ![]() |
Re: Use categories.get(#) to get individual elements of the arraylist. Use a for each loop to get all elements of the arraylist. Use one or the other, not both (usually, that is). JamesCherrill was just showing you both at the same time just to compare. Anyway, inside your for loop, lines … | |
Re: kvothetech's link and solution is actually correct. It involves four (if-else) pairs. | |
Re: Security regarding what? Loss of data or access to it or illegal access? For the former, redundancy. Backup of the backup of the backup........ For the latter, personal encryption in addition to cloud service encryption. |
The End.