Thread: void *

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    1

    Question void *

    I need help doing the following:

    copy string ct to string s, including '\0', return s

    using

    void *strcpy(char *s,const char *ct){}

  2. #2
    Sayeh
    Guest
    So, what is confusing about

    strcpy(s,ct);

    ???

  3. #3
    Registered User Camilo's Avatar
    Join Date
    Oct 2001
    Posts
    78
    just do it




    Camilo
    'looking someone's shoes'
    no, life is nice, just a girl fooling around, alcohol fixes everything.
    OH, I now have a High School Diploma and need of ron (drink)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  2. Replies: 3
    Last Post: 05-13-2007, 08:55 AM
  3. game window rejected painting !
    By black in forum Windows Programming
    Replies: 4
    Last Post: 03-27-2007, 01:10 AM
  4. msvc just ate one of my source files
    By Eber Kain in forum C++ Programming
    Replies: 6
    Last Post: 07-01-2004, 05:40 AM
  5. Half-life SDK, where are the constants?
    By bennyandthejets in forum Game Programming
    Replies: 29
    Last Post: 08-25-2003, 11:58 AM