Skip to content
Snippets Groups Projects
Commit d06c7300 authored by adrien-matta's avatar adrien-matta
Browse files

* Fixing compilation issue with gcc

parent 3b696dd8
No related branches found
No related tags found
No related merge requests found
#include"TApplication.h" #include"TApplication.h"
#include"NPOnline.h" #include"NPOnline.h"
#include<cstdlib>
int main(int argc , char** argv){ int main(int argc , char** argv){
TApplication* app = new TApplication("NPOnline",0,0); TApplication* app = new TApplication("NPOnline",0,0);
if(argc==3){ if(argc==3){
NPL::NPOnline* instance = new NPL::NPOnline(argv[1],atoi(argv[2])); NPL::NPOnline* instance = new NPL::NPOnline(argv[1],std::atoi(argv[2]));
} }
else{ else{
NPL::NPOnline* instance = new NPL::NPOnline(); NPL::NPOnline* instance = new NPL::NPOnline();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment