User forums > Using Code::Blocks

Need to use $

<< < (2/2)

Game_Ender:
What about a pass on the string that converts \$ to a non printable character then, run through the rest of the macro expansions, and just before outputing have a final pass on the string that converts the non-printable character back to "$".

thomas:
Did that a month ago, doesn't work (see other thread).

rjmyst3:

--- Quote ---This is probably a silly question but I am trying to configure my linker options to add "@test.r$p" to the command line.  However the program interprets the "$p" as a macro and all that gets placed is "@test.r"

--- End quote ---

I've used backticks as a workaround successfully.

Try

--- Code: ---@test.r$``p
--- End code ---

The backticks resolve to empty, and the $ lives (only tested on linux - but could work on windows)

Navigation

[0] Message Index

[*] Previous page

Go to full version