C Compile on Demand
If you want to use C/C++ as CGI you need compile the code you can compile on demand check C Cod WebSite
See the Documentation some aspects similars to ASP(VBScript).
you now:
#!/usr/bin/php
#!/usr/bin/perl
#!/usr/bin/python
#!/bin/bash
...
Add this #!/usr/bin/ccod to use C/C++, one simple example:
Download C Cod.
develop, network, projects, unix/linux, web, windows
c/c++, cgi
PDF Libraries
Sometimes we need create or export data into a PDF:
.NET:
http://www.pdfsharp.com, http://www.codeplex.com/Print2Pdf
C++:
http://libharu.org
Perl:
http://search.cpan.org/~markusb/PDF-Create/lib/PDF/Create.pm
sudo perl -MCPAN -e 'install PDF::Create'
PHP:
http://www.fpdf.org, http://www.digitaljunkies.ca/dompdf, http://pear.php.net/package/File_PDF
Python:
http://www.reportlab.org
wget -c http://www.reportlab.org/ftp/ReportLab_2_2.tgz
tar xvzf ReportLab_2_2.tgz
cd ReportLab_2_2
sudo python setup.py install
Java:
http://www.lowagie.com/iText, http://www.pdfbox.org
Ruby:
http://ruby-pdf.rubyforge.org/pdf-writer
sudo gem install pdf-writer
develop
c/c++, dotnet, java, perl, php, python, ruby
Compile Perl Win32
First you need download the Visual Studio 2008 C++ Express and Perl source code.
Use 7-zip to decompress perl-5.10.0.tar.gz
Edit Makefile (on perl-5.10.0\win32\) to set C++ Compiler:
Run CMD.EXE and write this:
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"
cd perl-5.10.0
cd win32
nmake
nmake test
nmake install
Compile process will take some time but you can download MyPerl-5.10.0.zip
extract on C:\Perl to include Perl on your path:
set PATH=%PATH%;C:\Perl\bin
Alternatives if you don’t want to compile: ActivePerl or Strawberry Perl.
develop, windows
c/c++, perl, win32
Recent Comments