Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | "Bill Cunningham" <nospam@nspam.invalid> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | memset |
| Date | 2014-04-14 20:32 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <lihum0$4k0$1@dont-email.me> (permalink) |
I think alot of my problem is not understanding what a function is asking for when it's asking for a pointer. If it's asking for a pointer is it wanting what the pointer is pointing too. memset for example. void *memset (void *s, int c, size_t n); that first parameter. Is it want a pointer to something or to be passed what the pointer is pointing to. For example. int *p; memset(p,0,sizeof(int)); or memset(&p,0,sizeof(int)); Is such a thing as a function that wants this? function (int &a, short &b); If something is defined like that would you just pass the pointer? Bill
Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread
memset "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-14 20:32 -0400
Re: memset "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-14 20:40 -0400
Re: memset glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2014-04-15 02:11 +0000
Re: memset "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-14 22:22 -0400
Re: memset Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-04-15 21:07 +0100
Re: memset Barry Schwarz <schwarzb@dqel.com> - 2014-04-14 21:48 -0700
Re: memset "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-15 09:28 -0400
Re: memset David Brown <david.brown@hesbynett.no> - 2014-04-15 16:07 +0200
Re: memset "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-15 21:03 -0400
Re: memset "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-15 21:06 -0400
Re: memset glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2014-04-16 01:25 +0000
Re: memset "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-15 21:36 -0400
Re: memset Michael Angelo Ravera <maravera@prodigy.net> - 2014-04-18 13:50 -0700
Re: memset Kaz Kylheku <kaz@kylheku.com> - 2014-04-18 21:04 +0000
Re: memset "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-20 09:16 -0400
Re: memset Richard <rgrdev_@gmail.com> - 2014-04-20 14:35 +0100
Re: memset Kaz Kylheku <kaz@kylheku.com> - 2014-04-20 14:10 +0000
Re: memset gazelle@shell.xmission.com (Kenny McCormack) - 2014-04-21 05:17 +0000
Re: memset gazelle@shell.xmission.com (Kenny McCormack) - 2014-04-20 15:11 +0000
Re: memset "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-22 14:20 -0400
Re: memset "Osmium" <r124c4u102@comcast.net> - 2014-04-22 14:22 -0500
Re: memset "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-22 17:33 -0400
Re: memset Jorgen Grahn <grahn+nntp@snipabacken.se> - 2014-04-25 12:12 +0000
Re: memset Michael Angelo Ravera <maravera@prodigy.net> - 2014-04-22 15:23 -0700
Re: memset James Kuyper <jameskuyper@verizon.net> - 2014-04-23 11:39 -0400
Re: memset "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-24 21:19 -0400
csiph-web