| | |
Classes Problem
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
"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
>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.
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.
•
•
Join Date: Mar 2004
Posts: 1,620
Reputation:
Solved Threads: 51
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
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
>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.
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.
•
•
Join Date: Mar 2004
Posts: 1,620
Reputation:
Solved Threads: 51
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
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
![]() |
Similar Threads
- Problem with Downcasting (C++)
- php -> classes problem (PHP)
- Class array inside of a class array inside of a class problem (C++)
- Recursion Problem (Java)
- Help with Classes (C++)
Other Threads in the C++ Forum
- Previous Thread: C++ homework
- Next Thread: Stacks in C++
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count database delete deploy desktop developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker list loop looping loops map math memory multiple news node number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference rpg sorting string strings struct temperature template test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






