- 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
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. |