# spacing before scope resolution operator [closed]

I'm new to LaTeX and I have encountered a problem with the listings package, I have a space before the :: operator of C++ .

after reading lstlisting with c++: spaces around scope resolution operator I added columns=fullflexible but it doesn't solve the problem.

here are my settings :

\usepackage{listings}
\lstset{basicstyle=\ttfamily,
frame=lrtb ,
columns=fullflexible
}

-

## closed as unclear what you're asking by Marco Daniel, lockstep, Claudio Fiandrino, Stefan Kottwitz♦Jul 7 '13 at 11:39

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – egreg Mar 25 '13 at 21:11