Posts
 
Reputation
Joined
Last Seen
Ranked #782
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
96% Quality Score
Upvotes Received
60
Posts with Upvotes
56
Upvoting Members
38
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
11 Commented Posts
3 Endorsements
Ranked #486
Ranked #351
~185.69K People Reached
About Me

?

PC Specs
Asus G73JH Desktop Replacementi7-740QM8GB 1333MHz2x500TB HDBD WriterMicrosoft Windows 7 Home Premium
Member Avatar for samaru
Member Avatar for rani_4

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 …

Member Avatar for rani_4
0
559
Member Avatar for Yahia Farghaly

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) …

Member Avatar for Yahia Farghaly
0
338
Member Avatar for Entalist

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 …

Member Avatar for Entalist
0
2K
Member Avatar for davy_yg

Line 164 uses $student_id but $student_id may not have been declared. This occurs when line 138 condition is false.

Member Avatar for scudzilla
0
249
Member Avatar for mpike

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 …

Member Avatar for mpike
0
260
Member Avatar for Acurapassion

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 …

Member Avatar for Acurapassion
0
771
Member Avatar for iAssistant
Member Avatar for Stuugie
0
4K
Member Avatar for Reverend Jim

That happens to me half of the time. The other half, the tab actually closes.

Member Avatar for Dani
0
263
Member Avatar for 21222357
Member Avatar for mayaestat
-2
301
Member Avatar for SkyCross

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.

Member Avatar for SkyCross
0
362
Member Avatar for debasisdas

"The closer you get to the light, the greater your shadow becomes." -Kingdom Hearts

Member Avatar for James_28
8
16K
Member Avatar for bnn678

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 …

Member Avatar for scudzilla
0
202
Member Avatar for bnn678
Member Avatar for Dani

Often times, the site takes too long to load. Occasionally, I get a "waiting for available socket" when that happens (chrome status).

Member Avatar for diafol
0
232
Member Avatar for hodnee

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 …

Member Avatar for scudzilla
0
249
Member Avatar for Andrew_10

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.

Member Avatar for Andrew_10
0
226
Member Avatar for Violet_82

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.

Member Avatar for Violet_82
0
708
Member Avatar for dsimonovski1

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.

Member Avatar for scudzilla
0
321
Member Avatar for johnef_sh

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)?

Member Avatar for johnef_sh
0
9K
Member Avatar for Noralyn_1

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.

Member Avatar for Noralyn_1
0
388
Member Avatar for patk570

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.

Member Avatar for patk570
1
2K
Member Avatar for aka619ASH

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 …

Member Avatar for scudzilla
0
226
Member Avatar for narlapavan

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 …

Member Avatar for scudzilla
0
281
Member Avatar for lauren.vitiello.12
Member Avatar for custurd12

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 …

Member Avatar for scudzilla
0
120
Member Avatar for jacob21

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

Member Avatar for scudzilla
0
172
Member Avatar for Emrys

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.

Member Avatar for Emrys
0
121
Member Avatar for jingda

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 …

Member Avatar for <M/>
0
427
Member Avatar for Elvis_1

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.

Member Avatar for kevinedwards
0
400