I put cucumbers 18 inches apart, pumpkins six feet, and any other squash three feet. I haven't tried the pumpkins among the corn since they get a bit rampant, but the others are usually quite happy. The exception was last year, when the slightest shade finished them off.