的raw_input()我怎麼能有一個程序執行目標程序,然後將文本輸入到它的標準輸入 例如,目標程序像這樣的(如的raw_input): text = raw_input("What is the text?")
if text == "a":
print "Correct"
else:
print "Not correct text"
我有以下的C++程序: #include <iostream>
using namespace std;
//will find the last dot and return it's location
char * suffix_location(char *);
int main(int argc, char* argv[])
{
if (argc < 2)