Can't help doing smth vs. Can't help but do smth.

Hi,
Is there a difference between these two structures?

He could not help staring at her

OR

He could not help but stare at her

?

Thanks

Yeah, I think.
The first one: They were staring at her but he couldn’t help them in this job.
The second one : He just helped them in staring at her and not anymore things.

Hope the natives and pros tells me if I am correct.

Neither of these has anything to do with actual helping anybody to do anything, as far as I know.
They both mean “he could not resist staring at her”
I’m just trying to see the difference between the two versions.

They are two ways to say the same thing. I don’t see any difference in meaning at all.

thank you!

Thank you both.

Hi!,

A slight difference in both sentences could be:

1st sentence he couldn’t stop staring at her.

2nd sentence, he couldn’t do anything else but stare at her.

I guess they meaning is the same.

Hi!
As Genius71 says,
there might be a slight difference between the two.
I think her explanation is very usuful to understand them!
Thank you for good comment!

------------
Rakko (゚ー゚)
d.hatena.ne.jp/amarillank/
------------

Thank you!

Sorry, but to this native speaker. ‘Help but’ does not mean, or even suggest, ‘do anything else but’ rather than ‘stop’.

Hi,

Well, that’s eactly what I mean.

‘Can’t help but stare at her’ means, he is compelled to stare. Not by anyone but, by her looks. Maybe she looks so beautiful, that he can’t stop staring at her, can’t help but stare at her.

At the end, both sentences mean the same thing.