void *

This is a discussion on void * within the C Programming forums, part of the General Programming Boards category; I need help doing the following: copy string ct to string s, including '

Thread: void *

', return s using void *strcpy(char *s,const ...

  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, 02:01 AM
  2. Replies: 3
    Last Post: 05-13-2007, 09:55 AM
  3. game window rejected painting !
    By black in forum Windows Programming
    Replies: 4
    Last Post: 03-27-2007, 02: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, 06:40 AM
  5. Half-life SDK, where are the constants?
    By bennyandthejets in forum Game Programming
    Replies: 29
    Last Post: 08-25-2003, 12:58 PM

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