From: "Hermione Granger" <herm_oh_ninny@hotmail.com>
To: gcc@gnu.org
Subject: I need help
Date: Mon, 29 Jul 2002 06:53:00 -0000 [thread overview]
Message-ID: <F152S5dU5GDEIdixtKp0001d826@hotmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
Dear GNU/GCC,
My C++ source file is attached. The error I am getting is:
[xxxxx@xxxxxxxxx xxxxx]$ gcc -c test.cpp
test.cpp: In function `void set_num (long unsigned int *)':
test.cpp:5: incompatible types in assignment of `long unsigned int *'
to `long unsigned int[1000]'
[xxxxx@xxxxxxxxx xxxxx]$
Please tell me what I am doing wrong.
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
[-- Attachment #2: test.cpp --]
[-- Type: application/octet-stream, Size: 178 bytes --]
void set_num ( unsigned long set_to [ 1000 ] )
{
unsigned long set_to2 [ 1000 ];
unsigned long tmp [ 1000 ];
set_to2 = set_to;
tmp = set_to2;
return;
}
next reply other threads:[~2002-07-29 2:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-29 6:53 Hermione Granger [this message]
2002-07-29 7:57 ` Tim Prince
2002-07-29 8:02 ` Nathan Sidwell
2004-05-25 11:47 Andre Pena
2004-05-25 12:26 ` mike
2009-12-04 18:02 i " jose manuel Herrera Magana
2009-12-04 18:29 ` Justin P. Mattock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F152S5dU5GDEIdixtKp0001d826@hotmail.com \
--to=herm_oh_ninny@hotmail.com \
--cc=gcc@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).