04-15-2009
Quote:
Originally Posted by
ghostdog74
yes of course. if you are proficient in both, do it by hand.
Ah! What a reply?
As far as I know, that's not possible for now. If there is some tool that does that, I will be surprised to know about that.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi am very new to unix.I got installed linux mandrake and the first problem is whith the modem i don't know why but it does not work. i config it on /dev/modem
and some time it says
"the modem is bussy"
and some time it says:
"Modem ready"
but the modem did'n switch on
Ok the other question... (3 Replies)
Discussion started by: user666
3 Replies
2. Programming
sir
i am trying to compile and execute cpp file in unix
the command cpp <filename > is not working
do you suggest any other command?
thanking you (5 Replies)
Discussion started by: sandhyapidugu
5 Replies
3. Programming
gcc help iam using kubuntu os (www.ubuntu.com) in that i dont find gcc but cpp command is there how to compile code with that
& how to use gij for java in ubuntu (1 Reply)
Discussion started by: seshumohan
1 Replies
4. Programming
Hi All,
I am having problem with kerberos kadmin library in c++.
I am using red hat linux Enterprise Linux Server release 5 (Tikanga), and gcc c++ - 4.1.1-52.el4.i386.
When I make a c project (main.c) and use function from kadmin library such as
kadm5_init_krb5_context(&context); ... (2 Replies)
Discussion started by: amitp
2 Replies
5. Shell Programming and Scripting
I'm trying to develop a script that makes it so only .cpp programs can print. I'm doing it for my computer programming class because everyone keeps printing the executable instead of the source code and it's wasting a lot of paper. How can I accomplish this? Thanks for the help. :D (5 Replies)
Discussion started by: Irish_Cereal
5 Replies
6. Shell Programming and Scripting
I need to find all the methods in a cpp file ... using shell script
Pls guide me regarding the grep criteria for searching methods
I mean what are the patterns to be grepped in *.cpp which match methods
Hope i have made myself clear
Thanks and Regards
-- Ultimatix (2 Replies)
Discussion started by: ultimatix
2 Replies
7. Programming
In a program if we call exit(0), it exits the program and before that it closes all opened stream.
In C++, it even does destroys the created objects. Is there any function available, which if called will do some basic clean ups (which includes object destruction) ??? (4 Replies)
Discussion started by: lipun4u
4 Replies
8. Shell Programming and Scripting
I have an error in my logs as it shows some function name .
1. I dnt know where is the file.cpp located only i know the machine .
2. How to find out that the function name is loacated in which path and which file into that machine.
Thanks . (1 Reply)
Discussion started by: madfox
1 Replies
9. Programming
I have the code below and cannot decide if to put it in a .h file or in a .cpp file
#ifndef VERBOSE_H
#define VERBOSE_H
#include "sstring.h"
enum Verbose { none = 0, low = 1, medium = 2, high = 3, diag = 4 };
bool GetVerbose(String& S, Verbose& V) {
S.ToUpper();
if (S ==... (3 Replies)
Discussion started by: kristinu
3 Replies
LEARN ABOUT DEBIAN
date::hijri
Hijri(3pm) User Contributed Perl Documentation Hijri(3pm)
NAME
Date::Hijri - Perl extension to convert islamic (hijri) and gregorian dates.
SYNOPSIS
use Date::Hijri;
# convert gregorian to hijri date
my ($hd, $hm, $hy) = g2h($gd, $gm, $gy);
# convert hijri to gregorian date
my ($gd, $gm, $gy) = h2g($hd, $hm, $hy);
DESCRIPTION
This simple module converts gregorian dates to islamic (hijri) and vice versa.
The dates must be given as an array containing the day, month and year, and return the corresponding date as a list with the same elements.
EXAMPLES
#!/usr/bin/perl -w
use Date::Hijri;
print join("-", g2h(22,8,2003)); # prints 23-6-1424
print join("-", h2g(23,6,1424)); # prints 22-8-2003
SEE ALSO
This code is just stolen from KDE's kcalendarsystemhijri.cpp at
http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/kdecore/kcalendarsystemhijri.cpp
Copyright (c) 2002-2003 Carlos Moro <cfmoro@correo.uniovi.es>
Copyright (c) 2002-2003 Hans Petter Bieker <bieker@kde.org>
kcalendarsystemhijri.cpp is translated from the Lisp code
in ``Calendrical Calculations'' by Nachum Dershowitz and
Edward M. Reingold, Software---Practice & Experience,
vol. 20, no. 9 (September, 1990), pp. 899--928.
This code is in the public domain, but any use of it
should publically acknowledge its source.
AUTHOR
Alex Pleiner, <alex@zeitform.de>
COPYRIGHT AND LICENSE
Copyright (c) 2003 zeitform Internet Dienste. All rights reserved. This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
DISCLAIMER
I haven't really tested if the converted dates are right and hope someone will point out mistakes.
Hijri calculations are very difficult. The islamic calendar is a pure lunar calendar, the new month starts by a physical (i.e. human)
sighting of the crescent moon at a given locale. So it depends on several factors (like weather) that make it unreliable to calculate
islamic calendars in advance. As a result the dates calculated by Date::Hijri can be false by one or more days.
Please see http://www.rabiah.com/convert/introduction.html for further explanation.
I'm not a muslim, but interested in Islamic culture, religion and calendar system. I believe in the Internet as a chance to realize that we
live in a small world with multiple cultures, religions and philosophies. We can learn from others and develop tolerance, respect and
understanding.
Salam Alaikum (peace be with you)
perl v5.10.0 2003-08-26 Hijri(3pm)