| | |
Guidelines before posting
![]() |
•
•
Join Date: Sep 2004
Posts: 1
Reputation:
Solved Threads: 0
Well here is a programme I neeed some help with.if I can get guidelines on how to go about tackling Write a program to check the syntax of a C++ program. You must count the number of braces {} and parenthesis () in the program. The number of left braces must match the number of right braces in the program for the syntax to be correct. The same holds for the left and right brackets. You must use random access(binary) files to read the program. The name of the C++ program must be passed in on the command line.
Extend your program to also check if the brackets match, and are correctly nested. For example
• {}(){()} is valid
• }}{{ is not valid
a vector may be useful for this task, using push_back and pop_back
it.
Extend your program to also check if the brackets match, and are correctly nested. For example
• {}(){()} is valid
• }}{{ is not valid
a vector may be useful for this task, using push_back and pop_back
it.
•
•
•
•
Originally Posted by Tekmaven™
Well, I think that everyone should use common sense when posting a question.
•
•
•
•
Originally Posted by inscissor
Dani, I think you need to create a sticky post of guidelines before posting. Maybe have it on every forum. This is for the people that put up homework assignments (or any other type for that matter) and want a quick answer without even trying. This forum is about learning, not about doing some else's dirty work.
•
•
Join Date: Mar 2005
Posts: 8
Reputation:
Solved Threads: 0
The homework problem can be an issue if you let it. Students should NOT just talk to us and get an A. I think that if you give snippets of code rather than full projects out to people they will be happy and they will still need to think. I left another site because of too many guidelines. They were VERY strict about what to post and not what to post. In a free market economy the producer tries to make their product the most appealing to the public. If this site is used as a homework help site, then more students would use it and reccomend it to friends. This way your site could earn more money, get more posts, and be of more use to others.
Have a nice day!
Have a nice day!
The problem with that is that many kids will continue to scream and rant until someone indeed does their entire assignment for them...
I've seen this in action many times here and (to a greater degree) elsewhere.
If someone shows a willingness to learn I'll be the last to deny them some help, but the problem with ever more kids is that they don't want to put in any effort themselves. Many would rather spend money to get a ready made solution than spend 5 minutes away from their playstations, it's getting that bad.
When we let kids with such attitudes get degrees and enter the marketplace as our potential colleagues, sooner or later we end up with them on a team and have to work overtime to cover for their incompetence and laziness until such a time as we can get it into the heads of management that these people are useless (and then how's the company going to get rid of them?).
By refusing them their easy grades, we help ourselves by removing them from the pool of available workers in the future.
Those of them who are intelligent enough to see the error in their ways will correct themselves and start to work, the rest we can only hope will fail their education and be reduced to unskilled labour where their attitude won't harm us.
If this sounds harsh, it's intended to. I've seen the damage lazy, unskilled people with degrees they shouldn't have (and in many cases indeed didn't have, but had acquired or faked through fraud) can do to a company and a project team.
I've seen this in action many times here and (to a greater degree) elsewhere.
If someone shows a willingness to learn I'll be the last to deny them some help, but the problem with ever more kids is that they don't want to put in any effort themselves. Many would rather spend money to get a ready made solution than spend 5 minutes away from their playstations, it's getting that bad.
When we let kids with such attitudes get degrees and enter the marketplace as our potential colleagues, sooner or later we end up with them on a team and have to work overtime to cover for their incompetence and laziness until such a time as we can get it into the heads of management that these people are useless (and then how's the company going to get rid of them?).
By refusing them their easy grades, we help ourselves by removing them from the pool of available workers in the future.
Those of them who are intelligent enough to see the error in their ways will correct themselves and start to work, the rest we can only hope will fail their education and be reduced to unskilled labour where their attitude won't harm us.
If this sounds harsh, it's intended to. I've seen the damage lazy, unskilled people with degrees they shouldn't have (and in many cases indeed didn't have, but had acquired or faked through fraud) can do to a company and a project team.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
•
•
Join Date: Dec 2004
Posts: 11
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by olman
I don't know the questions to ask because I'm trying to learn this for the first time. At 69 years young, I wish to learn how to program in this language. So, please advise.
Thank you,
olman
•
•
Join Date: Apr 2005
Posts: 7
Reputation:
Solved Threads: 0
Sometimes you try and you try but you can only see what has gone wrong when someone else points out your mistakes. Being a mature student of computing and a qualified primary teacher I find it disheartening to find so many people with such a poor view of students, i find that through life the best way to learn is through example and i hope that should i need advice that the best intentions would be returned in my favour. Some people just can't see the wood for the trees.
•
•
•
•
Originally Posted by Purps
Sometimes you try and you try but you can only see what has gone wrong when someone else points out your mistakes. Being a mature student of computing and a qualified primary teacher I find it disheartening to find so many people with such a poor view of students, i find that through life the best way to learn is through example and i hope that should i need advice that the best intentions would be returned in my favour. Some people just can't see the wood for the trees.
"No one remembers who climbed Mount Everest the second time." — Na Nook.
![]() |
Other Threads in the DaniWeb Community Feedback Forum
- Previous Thread: Member profile - code snippet suggestion
- Next Thread: What happened to the rep power?
Views: 37096 | Replies: 84
| Thread Tools | Search this Thread |
Tag cloud for DaniWeb Community Feedback
+ abuse beginners bookmark bored box bug bugs calamity code codebox codesnippets codetags code_snippet comments complaining cpuintensive daniweb design editcodesnippet end-of-the-world favouriteforums feedback ff3 flamewar git glitch ie6 itsatag! kids layout login lulz miserable negative newfeature pm poll post preview privatemessaging problem profanitytest profile quality quick rash-bot rashakil-fol reply reputation reputation-power sandwich score search snippet so-what socialgroups solvedthreads spam sub-forum suggestion tagcloud tagging tags theactualrulerofthetag-cloud:3 therulerofthetag-cloud:[ thread threadtagging today's-posts unansweredposts upgrade user voting whining who-cares yada-yada






