Sponsored Content
Full Discussion: Language used with Linux
Top Forums Programming Language used with Linux Post 302968377 by zbest1966 on Wednesday 9th of March 2016 12:27:24 AM
Old 03-09-2016
Where is a good source to go to for beginners for C used with Linux
This User Gave Thanks to zbest1966 For This Post:
 

9 More Discussions You Might Find Interesting

1. Linux

can C language received information from Linux/Unix

Hi ! Can C -langauge interface with Unix/Linux? Currently i have written a application for SMS using C programing. I would like to know if i am able to receive information from Unix/Linux so that it can activate the application. (5 Replies)
Discussion started by: JOHNSON
5 Replies

2. UNIX for Dummies Questions & Answers

A different language to me!

Hi all, I'm glad there's a section called UNIX for dummies on this forum cause when it comes to UNIX, I am certainly a dummie. I honestly don't have a clue about 98% of the UNIX commands out there so forgive me if this is a really stupid question. I'm trying to set up a MySQL server on my Mac... (7 Replies)
Discussion started by: kguenther
7 Replies

3. Programming

c language

is there any difference between "char*" and "char *" (1 Reply)
Discussion started by: amol munde
1 Replies

4. Programming

which language will be the best

Hello, Ive got to amke a script to calculate how many emails are in the servers mailbox, how many times each IP address appears in the mailbox and to search for keywords, tehn produce the results in HTML report. The thing is I dont know where to start and what the best language to use would be. ... (4 Replies)
Discussion started by: clueless
4 Replies

5. Programming

check Linux password from /etc/shadow and C language

Hi. I want to write a C Program that get a user name and password , then compare it with encrypted password in /etc/shadow. I start with below program: #define _XOPEN_SOURCE #include <stdio.h> #include <time.h> #include <unistd.h> #include <crypt.h> int main (void) { char... (7 Replies)
Discussion started by: htabesh
7 Replies

6. UNIX for Dummies Questions & Answers

What language is this?

Hi, Just got handed this script set def = HLA_DR.pockets set data = DRB1_1501.dat foreach a ( 'cat $data | args 3 |sort -u' ) cat $def | xC | grep -v $a > $$.def cat $data | grep $a | args 1,2 > $a.dat set pseudo = `cat MHCDR_pseudo.dat | grep HLA | grep $a | args 2`... (8 Replies)
Discussion started by: lost
8 Replies

7. Shell Programming and Scripting

Alternative Scripting Language for UNIX/Linux System Administration

I do not know UNIX shell scripting so as an alternative which language would you think is better for daily System Administration tasks. Perl or PHP? I know a little about both. (5 Replies)
Discussion started by: blackopus
5 Replies

8. Programming

C language help URGENT !!!

I'am writing a program in C language and my code is working perfectly i just need to add a search to it ... My code lets users add companies, and then display them on screen... i would like to add a search that allows user to type company name and then displayall its info on the screen !! THANK... (1 Reply)
Discussion started by: aloushi
1 Replies

9. UNIX for Beginners Questions & Answers

Keep Linux in english while windows in native language

hi, I want that a language change in windows won't effect Linux language (which should be always English). I had that feature but A Windows update changed it. How can I fix it? (7 Replies)
Discussion started by: daivon
7 Replies
Locale::Language(3pm)					 Perl Programmers Reference Guide				     Locale::Language(3pm)

NAME
Locale::Language - ISO two letter codes for language identification (ISO 639) SYNOPSIS
use Locale::Language; $lang = code2language('en'); # $lang gets 'English' $code = language2code('French'); # $code gets 'fr' @codes = all_language_codes(); @names = all_language_names(); DESCRIPTION
The "Locale::Language" module provides access to the ISO two-letter codes for identifying languages, as defined in ISO 639. You can either access the codes via the "conversion routines" (described below), or via the two functions which return lists of all language codes or all language names. CONVERSION ROUTINES
There are two conversion routines: "code2language()" and "language2code()". code2language() This function takes a two letter language code and returns a string which contains the name of the language identified. If the code is not a valid language code, as defined by ISO 639, then "undef" will be returned. $lang = code2language($code); language2code() This function takes a language name and returns the corresponding two letter language code, if such exists. If the argument could not be identified as a language name, then "undef" will be returned. $code = language2code('French'); The case of the language name is not important. See the section "KNOWN BUGS AND LIMITATIONS" below. QUERY ROUTINES
There are two function which can be used to obtain a list of all language codes, or all language names: "all_language_codes()" Returns a list of all two-letter language codes. The codes are guaranteed to be all lower-case, and not in any particular order. "all_language_names()" Returns a list of all language names for which there is a corresponding two-letter language code. The names are capitalised, and not returned in any particular order. EXAMPLES
The following example illustrates use of the "code2language()" function. The user is prompted for a language code, and then told the cor- responding language name: $| = 1; # turn off buffering print "Enter language code: "; chop($code = <STDIN>); $lang = code2language($code); if (defined $lang) { print "$code = $lang "; } else { print "'$code' is not a valid language code! "; } KNOWN BUGS AND LIMITATIONS
o In the current implementation, all data is read in when the module is loaded, and then held in memory. A lazy implementation would be more memory friendly. o Currently just supports the two letter language codes - there are also three-letter codes, and numbers. Would these be of any use to anyone? SEE ALSO
Locale::Country ISO codes for identification of country (ISO 3166). Supports 2-letter, 3-letter, and numeric country codes. Locale::Script ISO codes for identification of written scripts (ISO 15924). Locale::Currency ISO three letter codes for identification of currencies and funds (ISO 4217). ISO 639:1988 (E/F) Code for the representation of names of languages. http://lcweb.loc.gov/standards/iso639-2/langhome.html Home page for ISO 639-2. AUTHOR
Neil Bowers <neil@bowers.com> COPYRIGHT
Copyright (C) 2002, Neil Bowers. Copyright (c) 1997-2001 Canon Research Centre Europe (CRE). This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.0 2002-06-01 Locale::Language(3pm)
All times are GMT -4. The time now is 05:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy