I'm getting a compiler error that says "Cannot convert from int[] to
int?[]".
I have no idea what this means.
Here's a screenshot: http://www.sendspace.com/file/6o20pn
Any ideas?
Thanks. 6 1235
Have you compressed the image as jpeg and then saved it as bmp by purpose?
<jy****@gmail.c omwrote in message
news:11******** *************@b 28g2000cwb.goog legroups.com...
I'm getting a compiler error that says "Cannot convert from int[] to
int?[]".
I have no idea what this means.
Here's a screenshot:
http://www.sendspace.com/file/6o20pn
Any ideas?
Thanks. jy****@gmail.co m <jy****@gmail.c omloquated like no one had ever loquated
before with:
I'm getting a compiler error that says "Cannot convert from int[] to
int?[]".
Are you familiar with 'nullable types'?
WTH
--
"Shanks went down on the pitch, and I had to get this all red kit on,
run down the tunnel, up the stairs and out. I'd gone about five yards,
and Shanks was shouting, 'That's it! Bloody hell, he looks about seven
foot!' So we started to play in red." - Ron Yeats
<jy****@gmail.c omwrote in message
news:11******** *************@b 28g2000cwb.goog legroups.com...
I'm getting a compiler error that says "Cannot convert from int[] to
int?[]".
I have no idea what this means.
Here's a screenshot:
Why not show us the code that's causing the problem?
Michael
"Lebesgue" <le******@gmail .comwrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Have you compressed the image as jpeg and then saved it as bmp by purpose?
You got further than me, I saw it was 2mb and pushed cancel. :-)
Michael
Me too...
"Michael C" <no****@nospam. com¼¶¼g©ó¶l¥ó·s »D:OW********** ****@TK2MSFTNGP 05.phx.gbl...
"Lebesgue" <le******@gmail .comwrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
>Have you compressed the image as jpeg and then saved it as bmp by purpose?
You got further than me, I saw it was 2mb and pushed cancel. :-)
Michael
Obviously he/she isn't. :)
In short, it looks like you're using C# 2.0 and trying to cast an
integer to a nullable integer. This is likely to happen, for example,
if you declare an integer as nullable, and try and assign an integer
value.
int? nullableInt = 10; // Notice the question mark.
int normalInt = 5;
nullableInt = null; // This is not allowed with normal integers.
normalInt = nullableInt; // Compiler error - type mismatch.
Nick
WTH wrote:
jy****@gmail.co m <jy****@gmail.c omloquated like no one had ever loquated
before with:
I'm getting a compiler error that says "Cannot convert from int[] to
int?[]".
Are you familiar with 'nullable types'?
WTH
--
"Shanks went down on the pitch, and I had to get this all red kit on,
run down the tunnel, up the stairs and out. I'd gone about five yards,
and Shanks was shouting, 'That's it! Bloody hell, he looks about seven
foot!' So we started to play in red." - Ron Yeats
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: NanQuan |
last post by:
I'm hoping someone can help me solve this error since I am at a total
loss here. Usually I don't bother posting on any forums or groups on
the internet and prefer to solve stuff myself but this is a total
mistery.
I have a function inside an ASP page as a result of which I get the
following error message:
Microsoft VBScript compilation error '800a03ea'
|
by: amit |
last post by:
I am trying to compile the sample program genwin.sqc, using nsqlprep
which is used to precompile embedded sql in C. I am getting weird
errors and that is because windows.h is included in the genwin.sqc
file. I am using
Setting the lib and include path:
set INCLUDE=C:\Program Files\Microsoft SQL
Server\80\Tools\DevTools\include;C:\Program Files\Microsoft SQL
Server\80\Tools\DevTools\Samples\esqlc;%include%
|
by: Chris Mantoulidis |
last post by:
I see some really weird output from this program (compiled with GCC
3.3.2 under Linux).
#include <iostream>
using namespace std;
int main() {
char *s;
s = "test1";
cout << "s = " << s << " and &s = " << &s << "\n";
|
by: alice |
last post by:
Hi,
When I compiles the following program with g++, it gives the following
output:
# g++ -o list list.C
list.C: In function `int main()':
list.C:116: jump to case label
list.C:110: crosses initialization of `std::string data'
list.C:120: jump to case label
list.C:110: crosses initialization of `std::string data'
|
by: J.Marsch |
last post by:
Ok, I think that what I'm seeing is due to some implicit boxing/unboxing
going on, but I'd like to understand this a little better.
I have a collection of structs. If I try to iterate the collection of
structs with a foreach() loop, and in the loop I try to change the value of
one of the fields in the struct, I get a compile time error "The left-hand
side of an assignment must be a variable, property, or indexer". (a very
contrived code...
| |
by: Scott Reynolds |
last post by:
I am having a problem exposing a class inherited from the collection base
class as a webservice. If I expose the collection on a web page all works
well and I am very happy.
However when I try and expose this via a web service I get a weird error
saying that the dll could not be found. The specific error is:
I can't figure it out. I thought it was to do with reflection but I am able
to load and view the webservice definition which...
|
by: Hendrik Schober |
last post by:
Hi,
I have some expression template code that I want to
get to work. I had a typo in it and just spent two
hours to find it, because VC7.1 gave a really weird
error message for it.
This is the code:
template< typename T1, typename TExpr, typename T2>
inline
|
by: Sai Kit Tong |
last post by:
I try to utilize an old native code class library for my managed C++
application, and experience a weird problem. I used IJW approach and
included the header file for my native class definition. I compiled my
application. The compiling phase was successful but I had a linker problem
on just one of the many member functions. The member function has following
signature:
class CMyNativeClass
{
public:
|
by: Lisa Calla |
last post by:
My aspnet web was working perfectly fine, then I added a second datalist to
a page. The datalist can be formatted in the designer and everything looks
fine. In the codefile, I can see the datalist after me. and intellesense
works for the control datalist2. Build\Rebuild all reports a failure, but
does not specify the errors. Running the page results in a message box
'There were build errors. Would you like to continue and run the last...
|
by: David Thole |
last post by:
Hey all,
I'm still very new at all this, but am going through the ASP.net 2.0
unleashed book, first chapter and trying to program my own little form
emailer for fun. I tried following the code for their version in the
book to the best of my abiltiies, and came across issues, mostly that a
type was expected when trying to compile in MS Visual Studio 2002.
When my stuff wasn't working at all, I decided to try just using his
code almost...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |