Article 5JHE0 New Ubuntu user, no string under cursor error in cpp file and arrow keys type ABCD instead of moving cursor

New Ubuntu user, no string under cursor error in cpp file and arrow keys type ABCD instead of moving cursor

by
acollins18
from LinuxQuestions.org on (#5JHE0)
Hi, I'm brand new first day using Linux through Virtual Box and trying to follow a Youtube tutorial to make a C++ Hello World file. I opened the cpp file in a terminal using "ls" then the "vi first.cpp" commands and now I'm stuck with an error E348: No string under cursor when I try to start the header file with a #. The # won't type. Also I'm finding it frustrating that the arrows will type letters and not move the cursor, so is there a way to fix that?
I'm using Ubuntu.latest?d=yIl2AUoC8zA latest?i=XoN0P3EzEcQ:af7TeuiV7mo:F7zBnMy latest?i=XoN0P3EzEcQ:af7TeuiV7mo:V_sGLiP latest?d=qj6IDK7rITs latest?i=XoN0P3EzEcQ:af7TeuiV7mo:gIN9vFwXoN0P3EzEcQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments