File: template_for_executables.cxx.in

package info (click to toggle)
ants 2.5.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,672 kB
  • sloc: cpp: 85,685; sh: 15,850; perl: 863; xml: 115; python: 111; makefile: 68
file content (12 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
#include <vector>
#include <string>
#include "include/ants.h"

int main( int argc , char * argv[] )
{
  const char * const * const ptr = &argv[1] ;
  const std::vector< std::string > command_line_args( ptr , ptr+argc-1 );
  std::ostream * command_stream = &std::cout;
  return ants::@ANTS_FUNCTION_NAME@( command_line_args , command_stream ) ;
}