_strDate Ubuntu

This is a discussion on _strDate Ubuntu within the C++ Programming forums, part of the General Programming Boards category; I cant seem to use Code: _strdate(curDate); in ubuntu (eclipse). What is the GNU/linux equivalent?...

  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    6

    _strDate Ubuntu

    I cant seem to use
    Code:
    _strdate(curDate);
    in ubuntu (eclipse). What is the GNU/linux equivalent?

  2. #2
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,866
    Look at localtime() to fill your tm struct.
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  3. #3
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. _strdate and ints, help
    By Xoled in forum C Programming
    Replies: 2
    Last Post: 12-04-2010, 08:04 PM
  2. Ubuntu
    By GReaper in forum Tech Board
    Replies: 8
    Last Post: 09-06-2010, 11:46 PM
  3. Took the Ubuntu plunge
    By medievalelks in forum General Discussions
    Replies: 41
    Last Post: 06-22-2009, 08:10 AM
  4. 32 bit to 64 bit Ubuntu
    By Akkernight in forum Tech Board
    Replies: 15
    Last Post: 11-17-2008, 03:14 AM
  5. how to add sound in ubuntu...?
    By Amyaayaa in forum C++ Programming
    Replies: 2
    Last Post: 06-07-2008, 05:39 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21