06-29-2008
Thanks for your input, i will look into Qt or wxWidgets.
On a lighter note, which language would me more relevant in the Linux/Unix industry, C or C++? I only have academic programming experience in Linux using C.
10 More Discussions You Might Find Interesting
1. Linux
i'm a grad student taking a UNIX course and a networks course (i have a background in C++ and JAVA). i'm trying to combine the two classes.
My questions stems from a networks programming homework assignment below:
"Using the operating system and language of your choice, develop a program to... (5 Replies)
Discussion started by: trostycp
5 Replies
2. Solaris
Thinking of using our San for network backups..
Have a Netra 240 being installed and planning to get some space on our San.
Do you know what software is used to access the San from my server or what I would need to do? I know how to connect to local storage, disk arrays etc but not sure what... (1 Reply)
Discussion started by: frustrated1
1 Replies
3. Solaris
I realise this is an odd request - but I need advice please..
I have two server - in different geographical locations..
The have 2 local 72gb disks which are mirrored. I need to get storage added to increase both to 300gb in total each and this needs to be mirrored in case of failure. The... (2 Replies)
Discussion started by: frustrated1
2 Replies
4. Shell Programming and Scripting
Hi I need some major help with eval
I have a statement using eval:
read input
eval variable$input=”something”
Now I want to use the “variable$input” in some commands but I don't know how to call it without replacing the $input with the command line value (which I obviously can't do).
... (1 Reply)
Discussion started by: Cactus Jack
1 Replies
5. Programming
what does the statement :
static char a = "a";
store in the executable image. ??
I need to make a command line parameter exist AFTER the program finishes execution.. so that when i run the code next time ( without recompiling ).. i can work with the paramter..
for example:
... (5 Replies)
Discussion started by: a.k.aFireknight
5 Replies
6. Shell Programming and Scripting
/usr/sbin/ifconfig -a | grep "inet" | grep -v "inet6" | grep -v "127.0.0.1" |
grep -v "0.0.0.0"|grep -v "192.168.100.2" | awk '{print $2}'
I use above command to get IP addresses on AIX boxes.Values coming here are set to a variable "Host IPs.IP Addresses" in my fingerprinting engine.
... (4 Replies)
Discussion started by: ak835
4 Replies
7. Shell Programming and Scripting
All,
I would like to know my below requirement can be achieved in any way in Shell Scripting? I will make this requirement of mine as understandable as I can.
Requirement:
I wrote a script 'my.script' which gets user-input tablenames and puts the same into an array. Also I get other inputs... (6 Replies)
Discussion started by: bharath.gct
6 Replies
8. UNIX for Advanced & Expert Users
Scenario:
Command used to capture IPs on a host:
/usr/sbin/ifconfig -a | grep "inet" | egrep -v "inet6|0.0.0.0|192.168.100.2" | awk '{print $2}'
Following for loop used to capture interface names:
for INTERFACE in `/usr/sbin/ifconfig -a | nawk '$1 ~ /:$/ && $1 {sub(":$", "", $1); print... (3 Replies)
Discussion started by: ak835
3 Replies
9. Linux
Evening all,
Im trying to get a script that will:
Select the most 3 recent files in a specific directory
Run a command on them (like chmod)
Ask of you would like to continue
Copy the files to another directory
If a linux guru could help me out, it would be very much appreciated.
Thanks... (2 Replies)
Discussion started by: Wiggins
2 Replies
10. UNIX for Dummies Questions & Answers
Hi Experts,,,
Need your help/advice on how to fix this
I have 2 users under same group (primary group) and i want to give 777 permissions on a directory to one dir owned by user1 when granted i can see than from getfacl but when i actually login as user2 i can touch a file .
... (3 Replies)
Discussion started by: maddyfreaks1
3 Replies
LEARN ABOUT OSF1
nl_langinfo
nl_langinfo(3) Library Functions Manual nl_langinfo(3)
NAME
nl_langinfo - Returns language or cultural data defined in the current locale
LIBRARY
Standard C Library (libc)
SYNOPSIS
#include <langinfo.h>
char *nl_langinfo(
nl_item item);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
nl_langinfo(): XSH5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Specifies a constant name or value.
DESCRIPTION
The nl_langinfo() function returns a pointer to a string containing information relevant to the particular language or cultural area
defined in the program's locale. The constant names and values that are valid for the item parameter are defined in the langinfo.h header
file.
The array pointed to by the return value may contain static data that is overridden on the next call to nl_langinfo(). This array should
not be modified by the application, only by further calls to nl_langinfo().
The XSH specification does not require the nl_langinfo() function to be re-entrant.
EXAMPLES
The following example returns a pointer to the abbreviated name of the first day of the week in the current locale:
nl_langinfo(ABDAY_1)
This function call would return a pointer to the string "Dom" if the identified language was Portuguese, "Sun" if the identified language
was English, and so on.
RETURN VALUES
In a locale where langinfo data is not defined, the nl_langinfo() function returns a pointer to the corresponding string in the POSIX (C)
locale. In all locales, the nl_langinfo() function returns a pointer to an empty string if the item parameter contains an invalid setting.
RELATED INFORMATION
Functions: localeconv(3), setlocale(3), strfmon(3)
Others: i18n_intro(5), l10n_intro(5), standards(5)
Writing Software for the International Market delim off
nl_langinfo(3)