-12
例如,我有以下源文件。如何獲取在源文件中定義的列表功能
#define xyz 50
int global_var = 45;
struct abd
{
type data1;
type1 data2;
type2 data3;
}
int function1(arg1, arg2, arg3)
{
//statements
}
user_defined_type function2 (arg4,arg5,arg6)
{
//statements
}
void function3 (argx, argy,argz)
{
//statements
}
我怎樣才能獲得輸出功能1,函數2,功能3。 我試圖使用Perl讀取文件,但我無法獲取從整個源文件中提取函數的邏輯。
這不是一個自由職業者門戶網站,但Q&A網站,閱讀如何問問題等[這裏](https://stackoverflow.com/tour) – Majlik 2014-10-07 10:53:52