Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当运行我的 c++ 程序时,它会出现错误,告诉 -Gcharset=latin1 需要用于布局引擎。那么在调用gvLayout(context, graph, "dot")的时候怎么给它传参数呢?
您可以agsafeset用于设置正确的字符编码,例如:
agsafeset
agsafeset(graph,"charset","Latin1","");