¡¾ÇóÖú¡¿C++ÈçºÎ²¶»ñPythonÖеÄÒì³£
C++Öе÷ÓÃpythonº¯Êý£¬·¢ÏÖpythonº¯ÊýµÄÒì³£ÔÚC++ÖÐÎÞ·¨²¶»ñ¡£
µ÷Óú¯ÊýÈçÏ£¬Çë´óÏÀ½â»ó
unsigned long CPythonHelper::Execute(const std::string& mml_cmd,
unsigned char flag,
bool is_quick_cfg,
cm_mit_chk_rst& mit_chk_rst,
bool need_check_license,
unsigned int scene,
std::string user_name,
unsigned int user_type)
{
mutex::scoped_lock lock(_py_helper_mutex, true);
try
{
CPyObjList pyObjLst, pyDisRules;
CPyObjArray PyArr(7);
CPyObject pyRetObj, pyCmdPara;
PyArr.SetItem(0, mml_cmd);
PyArr.SetItem(1, flag);
PyArr.SetItem(2, (int)is_quick_cfg);
PyArr.SetItem(3, user_name);
PyArr.SetItem(4, (int)user_type);
PyArr.SetItem(5, (int)need_check_license);
PyArr.SetItem(6, (int)scene);
m_pyParser.ExecFunction("Execute", PyArr, pyObjLst); --pythonÅ׳öµÄÒì³££¬C++²¶»ñ²»µ½£¬²»ÖªµôΪºÎ
if (!get_mit_chk_rst(pyObjLst, mit_chk_rst))
&nb
Ïà¹ØÎÊ´ð£º
QQȺ 29152388
ÓÑÇéUP
°ï¶¥
up
°ïup
up Ö§³Ö£¡
up jf
...ÄѵÀÓзÖ..?
up up up
Ï£ÍûÓеüӷ֣¬¹þ¹þ¡£
Ö§³Ö£¬ÎÒ¼ÓÁË£¬Ï£ÍûÂ¥Ö÷ÄܼÓÎÒ£¬¹²Í¬Ñ§Ï°¹þ
¼ÓÁË¡£
¶¥ÉÏ£¬Ã¿ÌìÊÕ»ñÒ»µã£¬Ö§³Ö ......
CÓïÑÔ±à³Ì ´Ó¼üÅÌÉÏÊäÒ»¸öµ¥´Ê Åжϵ¥´ÊÊÇ·ñÔÚ´Ê¿âÓУ¬´Ê¿âÊÇÒ»¸öÎı¾¡£
scanf("%c",&c);
if()ÅжϾÍÐÐÁË¡£
ÇÀSF¡£
дµÄ¶Ì
ÒýÓÃ
scanf("%c",&c);
if()ÅжϾÍÐÐÁË¡£
ÇÀSF¡£
......
°ï°ï棬лл~
1. Write a program to perform a topological sort on a graph.
2. Write a program to solve the single‐source shortest‐path problem (Dijkstra
algorithm).
3. Write a program ......
¸øÒÑ֪ͼÏñÌí¼Ó¸ß˹ÔëÉù£¬ÇëÎʸß˹ÔëÉùÊÇÔõôʵÏֵģ¿¾ùÖµ·½²î·Ö±ðΪu£¬v¡£
½²Ò»ÏÂ˼·ҲÐа¡¡£¡£¡£¡£¡£¡£
csdn ¸ßÊÖÔÆ¼¯µÄµØ·½¡£¡£¡£¡£¡£¡£
http://zhidao.baidu.com/question/71224083.html
2Â¥¸øµÄÊÇÒ»¸ ......