Search code examples
c++eclipseeclipse-cdt

How to pass /" as it is to CDT run configuration?


To add any parameters while running C-Project, we open the configuration and provide arguments under arguments tab.
Now I want to pass the string \"Hello all\" as it is.
It is passed as: "Hello all" the '\' is escaped.
How to avoid this?


Solution

  • Escape the escape characters and the double quotes: \\\"Hello all\\\"