Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.127.920 Times

Filter::cpp 1.33

  Date Added: January 11, 2010  |  Visits: 835

Filter::cpp

Report Broken Link
Printer Friendly Version


Product Homepage
Download (124 downloads)

Filter::cpp is a cpp source filter. SYNOPSIS use Filter::cpp ; This source filter pipes the current source file through the C pre-processor (cpp) if it is available. As with all source filters its scope is limited to the current source file only. Every file you want to be processed by the filter must have a use Filter::cpp ; near the top. Here is an example script which uses the filter: use Filter::cpp ; #define FRED 1 $a = 2 + FRED ; print "a = $an" ; #ifdef FRED print "Hello FREDn" ; #else print "Where is FREDn" ; #endif And here is what it will output: a = 3 Hello FRED This example below, provided by Michael G Schwern, shows a clever way to get Perl to use a C pre-processor macro when the Filter::cpp module is available, or to use a Perl sub when it is not. # use Filter::cpp if we can. BEGIN { eval use Filter::cpp } sub PRINT { my($string) = shift; #define PRINT($string) (print $string."n") } PRINT("Mu"); Look at Michaels Tie::VecArray module for a practical use..

Requirements: No special requirements
Platforms: Linux
Keyword: Cpp Filtercpp Fred Libraries Print Programming Source
Users rating: 0/10

License: Freeware Size: 40.96 KB
FILTER::CPP RELATED
Printer Tools  -  CodePrinter 1.0.3
CodePrinter is a tiny utility to print out source code or other text files. CodePrinter projects main intent is to provide you with print-outs for your code reviews and to save some paper by fitting two code pages onto one sheet of paper....
 
Gaming Utilities  -  Icarus Scene Engine 1.0
Icarus Scene Engine is a cross-platform 3D design studio and API libraries, integrating open source APIs into a cohesive all-open-source solution. For Windows, MacOSX, Linux, Web. Uses OpenTK, OpenGL, OpenAL, ODE, Mono/.NET, FFMpeg and OpenCV
553.97 KB  
Libraries  -  Inline::CPP 0.25
Inline::CPP is a Perl module that can write Perl subroutines and classes in C++. SYNOPSIS use Inline CPP; print "9 + 16 = ", add(9, 16), "n"; print "9 - 16 = ", subtract(9, 16), "n"; __END__ __CPP__ int add(int x, int y) { return x +...
24.58 KB  
Libraries  -  Text::CPP 0.12
Text::CPP is a full C Preprocessor in XS. SYNOPSIS use Text::CPP; my $reader = new Text::CPP( Language => CLK_GNUC99, Options => { ... }, Builtins => { foo => this, bar => that, }, ); $reader->read("file.c"); while (my $token =...
174.08 KB  
Libraries  -  Devel::Depend::Cpp 0.08
Devel::Depend::Cpp is a Perl module that can extract dependency trees from c files. SYNOPSIS use Devel::Depend::Cpp; my ($success, $includ_levels, $included_files) = Devel::Depend::Cpp::Depend ( undef, # use default cpp command...
20.48 KB  
Libraries  -  Filesys::SmbClient 3.1
Filesys::SmbClient is a Perl interface for access Samba filesystem with libsmclient.so SYNOPSIS use POSIX; use Filesys::SmbClient; my $smb = new Filesys::SmbClient(username => "alian", password => "speed", workgroup => "alian", debug =>...
51.2 KB  
Libraries  -  Bio::Restriction::Enzyme 1.4
Bio::Restriction::Enzyme is a single restriction endonuclease (cuts DNA at specific locations). SYNOPSIS # set up a single restriction enzyme. This contains lots of # information about the enzyme that is generally parsed from a # rebase file...
4.7 MB  
Business  -  Lp4all 0.9.2
Lp4all is a modern and efficient yet simple literate programming tool. According to Wikipedia, Literate programming is the writing of computer programs primarily for human beings to read, similar to a work of literature; hence the name literate...
23.55 KB  
Image Galleries  -  QFlash for Graphics and Animations 0.1
QFlash is a c open source IDE to create flash (swf) animation files. It uses ming and qt libraries.
1024 KB  
Programming  -  libburnia libisofs 0.6.32
libburnia is a project comprised of libraries and binaries for reading, mastering, and writing optical discs. libburnia is a project comprised of libraries, language bindings, and middleware binaries that emulate classic and valuable Linux...
645.12 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB