Programming :: Get Date From System In C Language?

Aug 15, 2010

How can i get date from system in c language

View 4 Replies


ADVERTISEMENT

Ubuntu :: Language Support - Each User Can Select Their System Language When Login?

Nov 1, 2010

One computer .... three users .... three languages. How do you make that happen? User A speaks English and is happy with English. No problem. User B needs to use Chinese and would like the full system in Chinese. User C needs to use Thai and Chinese. They would prefer their menus to be in Thai and can use iBus for Chinese entry. How do you set up the system so that each user can select their system language when they login?

View 4 Replies View Related

General :: Can't Differentiate System Language From Keyboard Language?

Apr 14, 2010

i recently got a french msi wind U100x running on linux suse enterprise 10 sp1. (i am french and wanted a light netbook with french keyboard)i am totally new to linux and i believe that msi wind is not helping.because i am more used to english for settings, i set the main language to english, but it seems that it automatically reconfigures my keyboard mapping to english as well, so that azerty becomes qwerty.i reset it back to french, so now my keyboard is french, but so is the system.is there a way to differentiate keyboard from main user setting language?

View 3 Replies View Related

Programming :: Keep Original Mod Date Of A File And 'date' It Back To Same File?

Jul 12, 2010

I would really like to preserve a file's original modified date and pass it back to the file as the same attribute after a script has worked on it. I get a lot of JPEG files from different places on the Net which I either turn around and upload or burn to disk, and having the "original" date of either download or last mod in a graphics app would be for me, in the long run, a lot more helpful when deciding, for instance, which files to "recycle" or pass on backing up more than once.I've tried doing this on my own every now and then. Where I run into problems is that it appears "stat" and "date" use different formats for date information, and I can't seem to puzzle out how to "translate" one to the other satisfactorily for the latter command.

Just to give an example:
stat foo.jpg |grep Modify gives me
Modify: 2010-07-12 06:28:56.890625000 -0400

Passing that string as-is to date foo.jpg, I get the errordate: unknown option -- 0 and the usual semi-courteous suggestion to Try 'date --help' for more information.Somehow my TexInfo database got screwed up somewhere along the line and info dategives me the short article on date input formats, not the full documentation for the command

View 4 Replies View Related

Programming :: Groovy Scripting - An Object-oriented Programming Language For The Java Platform ?

Mar 7, 2010

Groovy is an object-oriented programming language for the Java platform. I do not have experience in Java, only perl and shell scripts. Recently I have been asked to maintain a software written in groovy (also to make enhancements). So can I learn groovy without knowing java language. or isit I have to learn java before venturing into groovy.

View 1 Replies View Related

Programming :: Unable To Find Description Of Alsa's Programming Language

Dec 19, 2008

I am unable to find a description of alsa's programing language, this sort of stuff:

[Code]...

I need to know what, for example, 'ttable' means and what is its syntax. This seems to be a state secret.

View 2 Replies View Related

Programming :: Arrays In The C Programming Language Are Pointers To The First Element Of The Array?

Mar 27, 2010

I wonder why arrays in the C programming language are pointers to the first element of the array, not the first element of the array itself?

View 14 Replies View Related

Programming :: Framework For Network Programming In C Language Just Like POCO In C++?

Mar 13, 2009

Is there any framework available for network programming in c language just like POCO in c++.

View 1 Replies View Related

Programming :: Site For Learning Programming Language?

May 28, 2010

tell me some sites for learning programing language Because i feel confusing for learning C programing language now I got so many questions by my studing and i want to solve them by myself too.

View 14 Replies View Related

Programming :: What Is Best Language?

Jun 30, 2010

My name is Simon and I have recently moved Ubuntu 10.04 from Windows XP. I am a programmer with a few years under my belt using a range of languages but primarily Microsoft Visual Foxpro. This program was very useful as it allowed me to access tables stored on my system and create programs to manipulate data in a wide variety of ways. Programs could be hobbled together, refined then placed in a menu system.I have been looking at a range of packages to use that would (a) allow me the same interactive experience, (b) allow me access to xbase tables (especially as most of the packages and business clients I have use this format), and can be used to create a GUI program. Ideally the package could create programs that can run relatively easily on Linux and Windows. Why, you might ask? Well unfortunately I have not been able to ditch foxpro, it is kind of unique in its abilities. Consequently I am using XP in VirtualBox to do some of my analysis and report production. I also still run Windows on my slate computer, which is used in the field to collect data.I have investigated Python/Jython, Java, Bash, and a number of others (e.g things that interact with PostSQL, MySQL, etc) but happily admit that I am overwhelmed with alternatives. That said, none quite match my relatively simple requirements stated above. The biggest problem is the lack of interactive data manipulation -- e.g. type an SQL statement and have the result appear immediately, that sort of stuff.

I need a language with strong data access, manipulation and reporting capabilities. I have sizable tables/databases containing millions of records and at present most queries take only a seconds using Visual Foxpro. Most of my investigations push me to the MySQL and similar data repositories, but all have their own format. Essentially I need to import all my data into their system before a language can access the data (note that there are copyright issues preventing this in some situations) - aren't there any programs that can access dbase or foxpro tables directly?The programming language also needs to be relatively mature. I don't want to spend all my time defining window sizes and button locations. Editors/Wizards that help design a GUI interface is preferable. It is imperative the language also has strong string, number, array and table access capabilities. Code should also be intuitive and easy to read. A lot of the languages I have reviewed are not intuitive. To me, functions in the format substr(string, start, lengthsegment) is logical and easy to follow. Things like Str = ${str//search/replace/} are not.

I suppose while I am listing preferences, an interpreter like eclipse would be desirable to help maintain code and format it as you go. Some sort of intelligent feedback as you construct a code snippet showing you what alternatives are available would also be valuable.At present I am leaning towards Python with Eclipse as the program manager, but as stated this setup does not really provide an interactive experience and does not appear to naturally interact with dbase. It appears this option would require considerable setup to get working.Java + Eclipse has been suggested before, especially as it takes away the need to worry about operating systems, but most of the packages I have used based on this language are restricted by library development by Sun Microsystems. The file chooser is a classic example - a known bug has been registered for this library for 5+ years and the problem has not been fixed.

View 9 Replies View Related

Programming :: Looking For A R Language Forum?

Jan 21, 2011

I am looking for a specific forum for the R programming language.

Some thing like the LQ is for linux, that will be nice.

Or something like the cplusplus is for c/c++.

View 2 Replies View Related

Programming :: Which Is Best Scripting Language?

Jul 23, 2009

I want to know which is the best scripting language right now and what you guys think its going to be the best or most used in the future, that is, in about 5-10 years. Take into account system administration and applications. This are the languages i had in mind, add more if you think other scripting languages are better or worth considering.

View 14 Replies View Related

Fedora :: How To Switch System Language?

Jun 17, 2010

how to do i switch my system language?

View 2 Replies View Related

Ubuntu :: [10.04] Can't Change System Language?

May 7, 2010

I'm trying to change my system locale to Japanese. I've tried on two Ubuntu 10.04 (32bit) laptops. Neither will allow the change. The language will install but even after rebooting the options are grayed out.I'm using an admin account, so that isn't the issue.

View 2 Replies View Related

Ubuntu :: How To Use Eclipse To Programming With C++ Language?

Jun 6, 2010

I use Eclipse 3.5 from Ubuntu 9.10 repository.Please, how to use Eclipse to programming with C++ language?

View 5 Replies View Related

Ubuntu :: Install The Programming Language IO?

Mar 14, 2011

How to install IO in 64-bit Ubuntu MM? There doesn't seem to be a package for it in the repos and it doesn't like compiling on a 64-bit system. I have used various internet tutorials but most don't work on AMD64.

View 2 Replies View Related

Programming :: Creating Database Using C Language

Apr 7, 2011

How to create a database using c language it includes structures, pointers, arrays and switch..

View 4 Replies View Related

Programming :: C Language - For Loop That Just Keeps On Running?

Aug 1, 2010

In the code segment below is a for loop I am having some considerable difficulty with. It just keeps iterating endlessly and totally ignores the 70 times limit specified. I can't ever remember having this problem before and am absolutely Clueless.

Code:
for ( x = 0; x < 70; x++ )
{
fputs ("CSN00", target);
fprintf (target, "%d", userid);

[Code].....

View 14 Replies View Related

Programming :: Good FTP Scripting Language

Jul 28, 2009

We have to (re)write a bunch of scripts to download files from remote ftp servers, where we won't know the names beforehand; move the files to an archive folder on the FTP server; copy the files to the correct servers on our LAN; and log the file information in Oracle.Our current scripts are for a windows product called ScriptFTP that provides a nice little language. It does everything except the logging, but we're wanting to get rid of Windows.

I have recently been given the job of maintaining the code, and I'm looking for a good language for simple, robust ftp scripts that will work on Linux. We have some customers with remarkably unreliable FTP servers. If necessary, I can write another program to handle the logging to Oracle. I'm usually a C++ developer, so a similar syntax is a bonus. I also want to be able to hand this over to an entry-level programmer later.

So far, I'm intrigued by PHP, but I've hardly had a chance to look at it for any scripting. I like the idea of being able to loop through the files individually and even be able to skip over anything that looks like it's currently being written (either based on the file name or date/time). I've thought about writing something in C++ that would take a simple config file instead of a full blown script. However, I don't want the maintenance, unless someone writes a quality FTP library that is inexpensive (hopefully free) for commercial use.

View 10 Replies View Related

Programming :: Debug Big C Language Project With GDB?

Nov 11, 2009

Now I have a project which include three directories /bin, /inc and /src. All of header files (*.h) are included in /inc and all of source(*.c) files are stored in /src, i.e. a.c, b.c, c.c..., the final generated executable file will locate in /bin. after compling with makefile, all of obj files will be generated in /src/obj like a.o, b.o, c.o, d....! Moreover an final.exe executable file will be generated in the /bin directory. Now if I want to debug it with GDB, how can I do it?

View 1 Replies View Related

Programming :: Enable RTS And DTR Pins In C Language?

Jun 6, 2011

How to enable RTS and DTR pins in c language? (I use termios.h include)

View 2 Replies View Related

Programming :: How To Program (all Language Compatible)

Jun 27, 2011

so with every language I have used, I have found that my style of programming is sub par (terrible at times). I have worked with a good amount of languages lately including bash, C, Java, JavaScript/jQuery, Perl, PHP, Shakespeare, Zombie, etc. I have done a good amount of programming, and in the end they seem to work, but just looking like a piece hacked together. Does anyone know of any books or online guides that help with programming styles and advancement of such?

View 14 Replies View Related

Programming :: Generate Pdf In Thai Language?

May 19, 2009

I am trying to generate pdf in thai language. i have installed thai package (extension in babel package). It is finally generating pdf in thai. but thai string are cming very long as compared to original string given in .tex file.

View 3 Replies View Related

Programming :: Program A Flash App In C Language?

Nov 26, 2010

Is possible to programming a flash app
directly in C language?
Does exist a automatic translator from
C + sdl to a working flash app?

View 3 Replies View Related

OpenSUSE :: Keep The System Up To Date?

Nov 4, 2010

i have noticed that the apps in the suse repos are kinda out-dated,like banshee is 1.6.0 while the latest is 1.8 same thing for amarok and some stuff,so am trying to keep all the packages up to date from the repositories,i added most of the repos and factory types that should make the system up to date,but to no avail.

updating the system and the application ?

PS i also added the 3 repos for kde 4.5 sc to update to 4.5 but still i didn't receive any update notice from the software manager.

View 7 Replies View Related

General :: How To Know System Up-to-date

Nov 29, 2009

I have SLES 11 and activated the daily updates.

But i don't know if the system :dowloads the updates
if the downloaded updates are immidiately installed
some updates need to reboot the system. does it automatically reboot or
does he(the system) inform me ? (where ?)

View 2 Replies View Related

Programming :: Access Value From Nested Struct <c Language>?

Mar 11, 2010

I having a nested structures which are referenced with pointer variables :

example :
typedef struct {
int a ;
char *b ;
int *c ;
}EXP2 ;

[Code]...

While trying to access the value of sv.exp2->a it throws segmentation fault error.How to acess this variable ??

View 3 Replies View Related

Programming :: Get Jpeg File Header Using C Language?

Oct 10, 2009

I want to get files header as much as possible which are mostly used so how can i get jpeg file header using C ?

If any other headers of MS Office is possible for U.

View 7 Replies View Related

Programming :: Which Scripting Language To Learn For Administration?

May 26, 2011

Which scripting language to learn for Linux Administration? Python, Ruby, Perl, or PHP?

View 7 Replies View Related

OpenSUSE :: Switch Language And Don't Restart Or Logout The System?

Mar 14, 2010

I have a primary language, Italian, and I want also use a secondary language, English. I want to switch language in order to have all the writings and messages in English not to write special characters by keyboard. I switched language in both kde system settings>Regional & language and in yast system>language leaving the keyboard layout Italian, but in the kde menu (the lizard on the left of panel) the groups of applications (multimedia, giochi, sistema) are in Italian and yast too (impostazioni amministratore), instead others are in English.

1)is this a bug or I forgot something?
2)which is the differences switching languages by yast and by kde system settings?
3)Is it possible to switch language and don't restart or logout the system?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved