YOU SAID:
I am struggling in this class
INTO JAPANESE
私はこのクラスで苦労しています
BACK INTO ENGLISH
I am struggling with this class
INTO JAPANESE
私はこのクラスに苦労しています
BACK INTO ENGLISH
I am struggling with this class
That didn't even make that much sense in English.