Skip to content

highquanglity/DSA_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compile:
1. main:
g++ src\main.cpp -o src\main.exe -std=c++17 -I C:\Users\user\AppData\Local\Programs\Python\Python310\include -I include -I C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\numpy\core\include -L C:\Users\user\AppData\Local\Programs\Python\Python310\libs -lpython310
2. evaluate:
g++ src\evaluate.cpp -o src\evaluate.exe -std=c++17 -I C:\Users\user\AppData\Local\Programs\Python\Python310\include -I include -I C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\numpy\core\include -L C:\Users\user\AppData\Local\Programs\Python\Python310\libs -lpython310
3. generate
g++ src\generatefile.cpp -o src\generatefile.exe
Test:
./src/main.exe filename 0
Example:
./src/main.exe ./sample/sample1.cpp 0
- If you want to display a graph that illustrates the distribution of code blocks by number of lines: 
* Plot:
./src/main.exe ./sample/sample1.cpp 1  
* Bar:
./src/main.exe ./sample/sample1.cpp 2   


Evaluate the entire dataset:
.\src\evaluate.exe > .\output.txt 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages