Re: vector to use unsigned long long
- From: "Daniel" <Mahonri@xxxxxxxxxxxx>
- Date: Tue, 22 Apr 2008 20:17:01 -0500
Here is the exact message:
warning C4244: 'argument' : conversion from 'unsigned __int64' to 'unsigned
int', possible loss of data
"Igor Tandetnik" <itandetnik@xxxxxxxx> wrote in message
news:upk1c8NpIHA.2068@xxxxxxxxxxxxxxxxxxxxxxx
"Daniel" <Mahonri@xxxxxxxxxxxx> wrote in message
news:uEuEZwNpIHA.4848@xxxxxxxxxxxxxxxxxxxx
I wrote code to declare a vector to use unsigned long long. However,
I get a warning telling me that the vector is of type unsigned
integer. What can I do to make the vector use unsigned long long?
vector <unsigned long long> v(100000);
Show the code that generates the warning, and the exact text of the
warning.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- Follow-Ups:
- Re: vector to use unsigned long long
- From: Igor Tandetnik
- Re: vector to use unsigned long long
- References:
- vector to use unsigned long long
- From: Daniel
- Re: vector to use unsigned long long
- From: Igor Tandetnik
- vector to use unsigned long long
- Prev by Date: Re: passing vector as argument
- Next by Date: Re: vector to use unsigned long long
- Previous by thread: Re: vector to use unsigned long long
- Next by thread: Re: vector to use unsigned long long
- Index(es):
Relevant Pages
|