Search Results

Showing results 1 to 40 of 46
Search took 0.02 seconds.
Search: Posts Made By: blackdove
Forum: PHP Apr 14th, 2007
Replies: 4
Views: 1,595
Posted By blackdove
Thanks, I will try that and see iif I can fix my code from there.
Forum: PHP Apr 12th, 2007
Replies: 4
Views: 1,595
Posted By blackdove
This is my first attempt at creating a website using PHP. My database is done in MySQL. It is for a made up university. I am having trouble creating the page that should allow current students...
Forum: C++ Mar 30th, 2006
Replies: 8
Views: 7,304
Posted By blackdove
I finally got it to build a tree using what he gave us. I did, however, end up changing one of his method declarations a bit. This project was just to build the tree. The next one we have to do...
Forum: C++ Mar 28th, 2006
Replies: 8
Views: 7,304
Posted By blackdove
Thanks for the help. Atleast it will compile. Now I just need to try and figure out how to get this thing running correctly.
Forum: C++ Mar 28th, 2006
Replies: 8
Views: 7,304
Posted By blackdove
I've been working on a binary search tree and I've written out most of what I think the code should look like but I can't test it because of an error I'm getting. I have no idea if what I have is...
Forum: C++ Oct 18th, 2005
Replies: 0
Views: 4,900
Posted By blackdove
I have been given a lab assignment that should take a prefix expression such as *+-23/427 and use recursion to solve its infix equivilant ((2-3)+(4/2))*7. So far, the code I have will work for an...
Forum: C++ Sep 21st, 2005
Replies: 3
Views: 5,350
Posted By blackdove
thanks for the reply.
Yes, i had noticed that and actually tried entering that line, but when i do it seems to go into an infinite loop and just keeps printing out the board.
I even tried entering...
Forum: C++ Sep 20th, 2005
Replies: 3
Views: 5,350
Posted By blackdove
I'm new to recursion and object oriented programming, but we have been assigned the knight's tour problem. This is where the knight's piece has to travel to every space on a chess board and land on...
Forum: C Apr 14th, 2005
Replies: 0
Views: 3,123
Posted By blackdove
:confused: This is my first recursion project and i have no idea if i'm even going about it the right way...It's a palindrome checker, which checks for integers. I can't check it character by...
Forum: C Mar 29th, 2005
Replies: 5
Views: 1,860
Posted By blackdove
I still can't get it right. Could someone give me an example of something like what im trying to do? Or atleast tell me exactly what i have wrong. This is the only way i can think of to get the...
Forum: C Mar 28th, 2005
Replies: 5
Views: 1,860
Posted By blackdove
okay i'll try that thx.
Forum: C Mar 28th, 2005
Replies: 5
Views: 1,860
Posted By blackdove
i know i need to initialize it, but i must be doing it wrong, because whenever i intitialize it to zero i get an error message.
Forum: C Mar 28th, 2005
Replies: 5
Views: 1,860
Posted By blackdove
I'm doing a "magic square" program and I'm having trouble with a button. It is supposed to stay active for as many clicks as it takes to fill the array storing the numbers, then become disabled. The...
Forum: C++ Mar 22nd, 2005
Replies: 5
Views: 1,507
Posted By blackdove
How would I change the size of the positive and negative arrays so that it doesn't print out the total size of the original array? The way i have it set up now, it prints out the positive numbers,...
Forum: C++ Mar 22nd, 2005
Replies: 5
Views: 1,507
Posted By blackdove
thank you so much. i had just noticed the comma problem ;) i've got it for the most part now. I just noticed that when it prints out the max, it prints the last value that was entered, yet the...
Forum: C++ Mar 22nd, 2005
Replies: 5
Views: 1,507
Posted By blackdove
well i wasn't exactly asking for help with those 2 errors. i was more so looking for help with the array problem.
Forum: C++ Mar 22nd, 2005
Replies: 5
Views: 1,507
Posted By blackdove
I'm not finished with my program yet, but i've run into a few problems. The first main problem i see is that i seem to be doing something wrong to display the array that the user enters. It only...
Forum: C Mar 14th, 2005
Replies: 23
Views: 6,516
Posted By blackdove
i'm still stuck on this program. It still freezes when I do the decimal to hex button. Could i just be putting the wrong things in the parenthesis for the function ConvertDecToHex(CString& str_out,...
Forum: C Mar 5th, 2005
Replies: 23
Views: 6,516
Posted By blackdove
is that the only other thing i need to include. i'm still getting the same error.
Forum: C Mar 5th, 2005
Replies: 23
Views: 6,516
Posted By blackdove
i tried that, including the <stdlib.h> and everything. and i get the error that ltostr is an undeclared identifier.
Forum: C Mar 5th, 2005
Replies: 23
Views: 6,516
Posted By blackdove
you're right. It didn't freeze up when i entered zero ...
Forum: C Mar 5th, 2005
Replies: 23
Views: 6,516
Posted By blackdove
well i talked to the professor about it too. and thats how he said to do it :/ so i dont know. i was just going by what he said.

he told me to make sure i set it to exactly 5 spaces.
Forum: C Mar 5th, 2005
Replies: 23
Views: 6,516
Posted By blackdove
I just read what you said and got confused...maybe its a little too late for me to be trying to figure this stuff out. I think i should take a break and start back on it tomorrow. Thanks for all your...
Forum: C Mar 5th, 2005
Replies: 23
Views: 6,516
Posted By blackdove
it still freezes, i don't know what else to try :(...but i know something has to be wrong with that line...
Forum: C Mar 5th, 2005
Replies: 23
Views: 6,516
Posted By blackdove
now having trouble with the DecToHex button :/ this is what i tried:
void CHexcalcDlg::OnDectohex()
{
// TODO: Add your control notification handler code here
GetDlgItemText(IDC_OP1, m_op1);...
Forum: C Mar 5th, 2005
Replies: 23
Views: 6,516
Posted By blackdove
oh thanks! that seems to have worked. now i just have to fix the rest of my little problems and i'll be good to go.
Forum: C Mar 4th, 2005
Replies: 23
Views: 6,516
Posted By blackdove
when i try that i get the error...
C:\Documents and Settings\owner\My Documents\C++\hexcalc\hexcalcDlg.cpp(244) : error C2664: 'SetDlgItemInt' : cannot convert parameter 2 from 'class CString' to...
Forum: C Mar 4th, 2005
Replies: 23
Views: 6,516
Posted By blackdove
i need help bad...can someone please tell me what im doing wrong here?

void CHexcalcDlg::OnHextodec()
{
// TODO: Add your control notification handler code here
GetDlgItemText(IDC_OP1,...
Forum: C Mar 2nd, 2005
Replies: 23
Views: 6,516
Posted By blackdove
oh the button should take the hex number entered into op1 and convert it, and display it in the result text window. thx for any help.
Forum: C Mar 2nd, 2005
Replies: 23
Views: 6,516
Posted By blackdove
This is my first windows app. I basically have my whole program written except for fixing a few lil problems and writing the code for 2 of my buttons. Could someone help me with the "Hex to Decimal"...
Forum: C++ Feb 23rd, 2005
Replies: 11
Views: 3,575
Posted By blackdove
thx for all your help :) i finally figured it out.
Forum: C++ Feb 23rd, 2005
Replies: 11
Views: 3,575
Posted By blackdove
i've gotten rid of all of the errors and completed everything in my program except now i cant figure out how to get my "friend Triangle Copy(Triangle triangle1);" function to work correctly. It is...
Forum: C++ Feb 22nd, 2005
Replies: 11
Views: 3,575
Posted By blackdove
thats fine. i dont think i will work on it more until tomorrow anyways. thanks again for all of your help :)
Forum: C++ Feb 22nd, 2005
Replies: 11
Views: 3,575
Posted By blackdove
OMG! thank you so much! it worked. i just re-compiled it again and it was fine. i dont know why it was showing errors a few minutes ago :/ (now i just have to finish writing the code in main) could i...
Forum: C++ Feb 22nd, 2005
Replies: 11
Views: 3,575
Posted By blackdove
okay, yea i see that. but im still getting 14 errors :( *i feel so stupid right now* im so lost... :confused: i even tried your version of it ..
Forum: C++ Feb 22nd, 2005
Replies: 11
Views: 3,575
Posted By blackdove
i see that you made the get_side functions constant, which helps with one of the problems, but what does the error mean when it says "error C2653: 'Triangle' : is not a class or namespace name"?
Forum: C++ Feb 22nd, 2005
Replies: 11
Views: 3,575
Posted By blackdove
Can someone help me please? I've got 17 errors and 3 warnings. The main problem is that it keeps telling me that "Triangle" isn't a class name :confused: i'm so confused. Could you also help me with...
Forum: C++ Feb 17th, 2005
Replies: 11
Views: 6,635
Posted By blackdove
yes i looked at it thanks :) . i have everything working now except figuring out the time difference calculations, which is kind of confusing. I get one of them correct, then other times i enter are...
Forum: C++ Feb 17th, 2005
Replies: 2
Views: 1,909
Posted By blackdove
im not sure, but you may want to try using the modulus operator "%".
for example... to turn feet into yards and feet you could enter

int yards, feet;
yards = feet / 3;
feet = feet % 3;
Forum: C++ Feb 17th, 2005
Replies: 11
Views: 6,635
Posted By blackdove
i tried setting the times like...Start_Time = StopWatch(int hr, int min, int sec); but it doesn't seem to be working :( omg i feel so dumb right now lol
Showing results 1 to 40 of 46

 


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

©2003 - 2009 DaniWeb® LLC