For the spaghetti with ham sauce, first cook the spaghetti al dente.
Cut the bacon or ham into small pieces, fry in a little bit of fat, fry the chopped tomatoes briefly and deglaze with the whipped cream. Cook the sauce a bit and add salt if necessary.
Drain the pasta and add to the sauce. Mix well under light boiling and bring the spaghetti with ham sauce to the table.