Classes Problem

Reply

Join Date: Feb 2005
Posts: 4
Reputation: xsxixtxhx is an unknown quantity at this point 
Solved Threads: 0
xsxixtxhx xsxixtxhx is offline Offline
Newbie Poster

Classes Problem

 
0
  #1
Feb 15th, 2005
I have a project that i am working on and i can't get how to get it to work.

I have attached the .h and the main cpp file.

If any one can be of help please reply or im me at xsxixtxhx on Instant messenger.

I need to get this program running and show some output.


Thanks
Attached Files
File Type: h strings.h (1.3 KB, 9 views)
File Type: cpp String Project.cpp (2.7 KB, 9 views)
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,534
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 704
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: Classes Problem

 
0
  #2
Feb 15th, 2005
>i can't get how to get it to work
Wow, that's an impressive description of your problem. I think I'll just ignore you since you were rude enough to require everyone to download attached files.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 4
Reputation: xsxixtxhx is an unknown quantity at this point 
Solved Threads: 0
xsxixtxhx xsxixtxhx is offline Offline
Newbie Poster

Re: Classes Problem

 
0
  #3
Feb 15th, 2005
ok thanks. I ask for help and you are sarcastic. If i knew what was wrong with the program i could tell you. I don't know what wrong and am just asking for help. but thanks for being sarcastic.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 4,300
Reputation: Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future 
Solved Threads: 225
Team Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: Classes Problem

 
0
  #4
Feb 15th, 2005
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 30
Reputation: Intel is an unknown quantity at this point 
Solved Threads: 1
Intel Intel is offline Offline
Light Poster

Re: Classes Problem

 
0
  #5
Feb 16th, 2005
Specify a problem, there are a lot of them, and will help.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,534
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 704
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: Classes Problem

 
0
  #6
Feb 16th, 2005
>I ask for help and you are sarcastic.
You're not entitled to anything. If we think your question lacks the information or courtesy required to deserve help, then we'll let you know. Would you rather be ignored completely, or informed of why your post is insufficient?

>If i knew what was wrong with the program i could tell you.
Clearly it's not doing what you want it to do. Explain wht you expect and how the behavior differs from that expectation. You can't seem to make the distinction between a problem, and the cause of a problem. I want to know what your program is doing wrong, then I'll tell you why it's doing the wrong thing so that you can fix it. That's how a successful exchange works around here.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 50
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: Classes Problem

 
0
  #7
Feb 16th, 2005
Hi,

I don't think it was rude for him to make the files as attachments. At least he made an effort to include code that could otherwise been missing. I would rather grab the attachments insted of reading text without the code tags.

As for not providing a description for what is going on, and where his suspicions of error are, I agree. Is it not compiling? What are the errors?

I think his post is along the lines of calling the auto mechanic, and leaving a message that the car won't start. What should the mechanic bring to the vehicle, jumper cables, or a can of gas (in case the tank is empty)?

For his growth, I hope the poster returns with conversation describing the problem in detail. Again, I do not think it was rude of him to provide his code via attachments; If attachments were rude / harassing, we would not allow them in this forum.

Christian
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,534
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 704
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: Classes Problem

 
0
  #8
Feb 16th, 2005
>I don't think it was rude for him to make the files as attachments.
You don't think it's akin to not using code tags? Both require the potential helper to do more work when a courteous thread starter would try his or her best to save the volunteer helpers time and effort. This benefits both the helper and the helped.

I don't know how many years you've posted on forums such as this one to help people with highly technical problems covering a broad range of topics, but I've done it for several years on more than just one forum (amassing many thousands of posts), and I find it insulting when someone makes me download attachments for problems that can usually be solved by eyeballing the code.

>What should the mechanic bring to the vehicle
In my experience the mechanic won't bring anything. He'll make the motorist call a tow truck.

>If attachments were rude / harassing, we would not allow them in this forum.
I'm rude and harassing, yet you allow me in this forum. It's only logical that you'd allow other rude, harassing things.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 50
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: Classes Problem

 
0
  #9
Feb 17th, 2005
Hello,

I agree with you Narue that an isolated snippet is the best way to identify and focus on a logic problem within the code. Quick glance, maybe see a variable passed by reference, or a typo in a function call. That is easier than downloading the whole shebang and putting it together. Then again, if the poster is rather ambiguous, I would rather have the whole shebang, load it into my environment, and hit the run button. You are correct that it is a lot of work.

DaniWeb is the first web-based forum like this that I have participated in at the moderator level. I have done parts here and there for other locations; most of my roots are in USENET groups. I am a casual code-slinger; I mostly code Linux BASH scripts to do system admin things. I am a network administrator that dabbles in code for hobby and curiousity.

Unfortunately, DaniWeb doesn't have any written guidelines for this forum (C++ Coding) that specify when to do an attachment vs. a chunk of lines vs. a posting of a particular function. Then again, I am not certain that a lot of new people stop to read the README on the forum; we have witnessed this type of posting before. I also strongly believe that the people needing the help do not know how to ASK for the help... thus posts like the one that started this discussion.

I like your reply on the tow truck. I have 3 younger sisters, and had to respond bringing a whole pile of things with me.

I am wondering, Narue, if you would like to work with me on developing a "standard" for how to post topics. A sheet describing when to do a snippit, when to do an attachment, and when to use the code tags. I cannot guarentee that the new users will read it (or understand it), but if 20% do, I think it is worth the little bit of effort. Think of what to put in there, and maybe some eye candy on the header to attract people to read it. Drop me a note if you are interested.... others are welcome to participate too.

Otherwise, I think we should turn the attention back to xsxixtxhx and see what direction he/she will take with this code problem at hand.

Christian
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC