how to make vertical space in latex code example

Example 1: vertical space in table cell latex rule

\newcommand\T{\rule{0pt}{2.6ex}}       % Top strut
\newcommand\B{\rule[-1.2ex]{0pt}{0pt}} % Bottom strut

Example 2: latex vertical space after paragraph

\documentclass{article}
\setlength{\parskip}{\baselineskip}%
\setlength{\parindent}{0pt}%
\begin{document}
Googling didnt give required results.(many, but not applicable or code doesn't work)

Essentially, what I want to do is the same formatting I just did with this question.

I am really sceptical about LaTeX whenever you encounter problem which can't be solved in 30 minutes means that you are unlikely to find correct solution.

What I use at the moment is \verb|'\\\\'|. Being from developers' circle I tend to deal with all kind of warning. These four slashes give me 'badboxes'. How to produce exactly same correct formatting I just did now with this text.

I appreciate your help and not critics. These kind of operations should not be a ritual dance around the fire in the first place.
\end{document}

Tags:

Cpp Example