Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 63257

Forum Post: How to have double quotes in sprintf?

$
0
0
Hi, When I run the following its printing the cmd with the \ in it ("The final result is \"PASS\" !!!"). sprintf(cmd "The final result is \"PASS\" !!!") But i'm expecting to have the following result. How could i modify the above line to print the following? I would like to have the PASS to have the double quotes as mentioned below. "The final result is " PASS " !!!" I'm trying to do the following and the memory usage portion of the following command requires to have the double quotes in it. sprintf(cmd "bsub -I -q layout -n 24 -R " rusage[mem=128000] span[hosts=1] " calibredrv") cid=ipcSkillProcess(cmd) Thanks Ram

Viewing all articles
Browse latest Browse all 63257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>