Search Results

Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: acperson
Forum: C++ Dec 5th, 2008
Replies: 21
Views: 1,487
Posted By acperson
Hey... it works...

stupid const. it didn't save when I built it again... sheesh.

Thanks so much for all of your help!!!!
Forum: C++ Dec 5th, 2008
Replies: 21
Views: 1,487
Posted By acperson
Ok, fixed that one. That was my fault for not checking my code exactly. I left const in the .h file.

But...now I'm back to that blasted C2511 error.

c:\documents and settings\tina\my...
Forum: C++ Dec 5th, 2008
Replies: 21
Views: 1,487
Posted By acperson
Thanks for replying and all the help you've given me thus far!

Well, when I do that I get 9 occurrences of the same error - one per line.

c:\documents and settings\tina\my documents\visual...
Forum: C++ Dec 5th, 2008
Replies: 21
Views: 1,487
Posted By acperson
Is this in response to supplying an explicit conversion? Because if so, I'm still doing something else wrong because i have the same thing in the code box you provided.
Forum: C++ Dec 4th, 2008
Replies: 21
Views: 1,487
Posted By acperson
oh. sorry. I'm just really trying to get this done in time. I had 5 due tonight (with only 1 1/2 weeks to do them) and I only have 3 completely finished. The last one isn't getting done because I...
Forum: C++ Dec 4th, 2008
Replies: 21
Views: 1,487
Posted By acperson
I have tried changing them. it backfires every time. is there any way I could supply an explicit conversion?
Forum: C++ Dec 4th, 2008
Replies: 21
Views: 1,487
Posted By acperson
Ok, now I'm down to one error in main.

c:\documents and settings\tina\my documents\visual studio 2008\projects\csci112lab4\csci112lab4\main.cpp(65) : error C2664: 'Invoice::print' : cannot convert...
Forum: C++ Dec 4th, 2008
Replies: 21
Views: 1,487
Posted By acperson
Ok, now I'm down to one error in main.

c:\documents and settings\tina\my documents\visual studio 2008\projects\csci112lab4\csci112lab4\main.cpp(65) : error C2664: 'Invoice::print' : cannot convert...
Forum: C++ Dec 4th, 2008
Replies: 21
Views: 1,487
Posted By acperson
This just gives me more errors.

c:\documents and settings\tina\my documents\visual studio 2008\projects\csci112lab4\csci112lab4\invoice.cpp(121) : error C2039: 'getShippingCost' : is not a member...
Forum: C++ Dec 4th, 2008
Replies: 21
Views: 1,487
Posted By acperson
The error is as follows:

c:\documents and settings\tina\my documents\visual studio 2008\projects\csci112lab4\csci112lab4\invoice.cpp(113) : error C2511: 'void Invoice::print(Invoice)' : overloaded...
Forum: C++ Dec 4th, 2008
Replies: 21
Views: 1,487
Posted By acperson
Thanks so much!

That solves two errors, but the C2511 is still there.
Forum: C++ Dec 4th, 2008
Replies: 21
Views: 1,487
Posted By acperson
I've been trying to fix these errors for a while now and I'm having difficulty. Can anyone help? I've attached my header file, .cpp file and main.

The C2533 and C2511 are both in my .cpp file....
Forum: C++ Dec 4th, 2008
Replies: 6
Views: 1,817
Posted By acperson
Thanks for taking the time to reply!

Perhaps I should have mentioned this in the original post, but when I press Retry is goes back to the first error listed and shuts down...

Wait a minute......
Forum: C++ Dec 4th, 2008
Replies: 6
Views: 1,817
Posted By acperson
It happens the instant the program begins to run. The program outputs the first cout line and then the error occurs before the next line. The lines involved are:

cout<<"This program seaches...
Forum: C++ Dec 4th, 2008
Replies: 6
Views: 1,817
Posted By acperson
Thanks for taking the time to reply!

But I'm not using pointers in the code...so, it's kinda hard for me to find it. Maybe it's just 'cause I'm not too great at C++, but I'm pretty sure I didn't...
Forum: C++ Dec 4th, 2008
Replies: 6
Views: 1,817
Posted By acperson
*When I compile the program it works. However, when I try to run the program, it outputs the first message then gives me the following error-*

CSCI112LAB2.exe has encountered a problem and needs...
Forum: C++ Dec 4th, 2008
Replies: 5
Views: 1,651
Posted By acperson
Thank you very much, Salem! That worked brilliantly! I applied it to the rest of the program and now have some very interesting sentences! Complete success!
Forum: C++ Dec 3rd, 2008
Replies: 5
Views: 1,651
Posted By acperson
Thanks so much for taking the time to reply!

But strlen() gave me the exact same error when I tried that. That's why I made my own getSize(). Is there something wrong with my array? I'm not...
Forum: Posting Games Dec 3rd, 2008
Replies: 301
Views: 35,561
Posted By acperson
English

Ocean or swimming pool?
Forum: C++ Dec 3rd, 2008
Replies: 5
Views: 1,651
Posted By acperson
I wrote a program for a class assignment that is supposed to use random number generator to produce sentences. The program has to use four arrays of (pointers to char) and each chosen word must be...
Showing results 1 to 20 of 20

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC