Re: vector to use unsigned long long
- From: "Daniel" <Mahonri@xxxxxxxxxxxx>
- Date: Tue, 22 Apr 2008 20:46:49 -0500
Here it is along with the declaration:
using namespace std;
vector <unsigned long long>::iterator vIter;
vector <unsigned long long> v(100000);
v[100000-x]=x*1000000000000;
"Igor Tandetnik" <itandetnik@xxxxxxxx> wrote in message
news:uUm$fHOpIHA.3960@xxxxxxxxxxxxxxxxxxxxxxx
"Daniel" <Mahonri@xxxxxxxxxxxx> wrote in message
news:%236kh9%23NpIHA.552@xxxxxxxxxxxxxxxxxxxx
Here is the exact message:
warning C4244: 'argument' : conversion from 'unsigned __int64' to
'unsigned int', possible loss of data
You haven't shown the line of code this warning refers to.
--
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: David Wilkinson
- 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
- Re: 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: vector to use unsigned long long
- Next by Date: Re: allocator for vector
- Previous by thread: Re: vector to use unsigned long long
- Next by thread: Re: vector to use unsigned long long
- Index(es):
Relevant Pages
|