473,386 Members | 1,609 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Horrible error stopping me from finishing this little bit of work Need help

115 100+
Hi all
We have one error left with our code and i was wondering if you could shed any light on what it means
Error: Error 3 error C2664: 'Mouse::moveMouseToNextHole' : cannot convert parameter 2 from 'Hole (*__w64 )[3]' to 'Hole *' f:\mywork\2007 object orientated\ass\oop_ass1\mouseandcat_skeleton.cpp 115

The code below is where the error is pointing to
Expand|Select|Wrap|Line Numbers
  1.  mouse_.moveMouseToNextHole((rng_.getRandomValue( MAXHOLES)),&holes_);
  2.  
We are using visual C++ 2005

I'm not very confident with C++ and this is a group effort but we are stuck!!
Help would be appreciated.Thanks in advanced
Truez
Jan 22 '08 #1
2 1174
weaknessforcats
9,208 Expert Mod 8TB
What is holes??

And what is the function prototype ??

It looks likes the functon needs an array of 3 Hole*. If so, you call it using holes rather than &holes. Assuming whatever I am assuming is true.
Jan 22 '08 #2
truezplaya
115 100+
Hey
An hour after i posted that we discovered that just removing the & from the holes so all your assumptions were correct sorry i didn't put a reply to say this had already been solved!!!
Thank you very much
Truez
Jan 23 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: pshindle | last post by:
DB2 Team - I just downloaded and unzipped the new Fixpack 9 for DB2 ESE V8 for Windows (FP9_WR21350_ESE.exe). I then burned the unzipped Fixpack files to a CD. I proceded to install this...
1
by: misschristalee | last post by:
Alright... here's the situation. Because they've crowned me the queen of all that is Access... I had a database (not built by me) from our Insurance group.... currently dead in the water. 1)...
10
by: David | last post by:
Hello I am trying to collect errors and record them in a table instead of a popup message stopping my code. It seems to work ok, but when I try to add ERR.Description to my code it fails on Syntax...
9
by: Nick | last post by:
the customError feature is not working. I have it setup as the help says in my web.config file. <customErrors defaultRedirect="DsAppError.aspx" mode="RemoteOnly"/> I tried in a couple...
4
by: nick | last post by:
hi all, Is there anyone who can help in finishing this problem? I’m checking a huge text file for some data, there are lots of lines where some of these lines lets say start with the word...
6
by: ferg | last post by:
People; i'm from argentina so , sorry, but my english isn´t good... Now, the question is; I'm trying to run a *.bat program on an ASP page, with the wsh script, but i can´t do it... because i...
4
by: bjm | last post by:
I am writing a program that will automate a series of application installations. I want to give the user the option of stopping the program's execution in between installations (for example, give...
10
by: JonathanOrlev | last post by:
Hello everybody, I wrote this comment in another message of mine, but decided to post it again as a standalone message. I think that Microsoft's Office 2003 help system is horrible, probably...
6
by: blaine | last post by:
Hello, I'm currently overriding function keys (F1 to F4) to perform other actions. In order to do this the default popup windows of Help (F1), Seach(F3) etc must be turned off. In FF it's easy...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
Oralloy
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.