Demo of how NOT to code in C++ resurrected ... and updated Programming Software Development by David W … this forum, please forebare this old post, (that was recently resurrected by an inquiring mind), and humour this 'update', in good… Re: Demo of how NOT to code in C++ resurrected ... and updated Programming Software Development by David W > Because things, these days, seem a little 'slow' around this forum, please forebare this old post, (that was recently resurrected by an inquiring mind), and humour this 'update', in good faith that this update might be appreciated by some beginning students of C++ ... :) > Re: Demo of how NOT to code in C++ resurrected ... and updated Programming Software Development by David W Oops ... forgot to have ... #include <cctype> // re. tolower, toupper So please add to code above. Re: Demo of how NOT to code in C++ resurrected ... and updated Programming Software Development by iamthwee One question... Why? Re: Demo of how NOT to code in C++ resurrected ... and updated Programming Software Development by mike_2000_17 I'm not sure this is really what you should expect a beginner to produce... seems a bit too advanced. Anyways, here are a few nit-picking remarks. 1) They are not called "template functions", they are called "function templates". This is an easy slip of the tongue, but the latter (and grammatically correct) terminology is … Re: Demo of how NOT to code in C++ resurrected ... and updated Programming Software Development by David W Hey Mike ... that sure was one super post :) But I can't help smile a bit more ... > I'm not sure this is really what you should expect a beginner to produce... seems a bit too advanced. Anyways, here are ... It seems to me ...that a big part of the frustration with some (many?) C/C++ beginners is getting past the 'tricks' of getting valid (… Re: Demo of how NOT to code in C++ resurrected ... and updated Programming Software Development by David W Here is a version that doesn't need a C++11 compiler to compile ... but uses functors ... so that the programmer can pass in a 'functor' ... a 'function' that here, is used, to help validate the desired input. A little test program will be followed by a file holding the input 'helper' routines ... in their own namespace. // … Re: Demo of how NOT to code in C++ resurrected ... and updated Programming Software Development by David W And here is a version, using Mike's ideas ... but adapting the code to do all the particular condition testing that I choose (for this example) ... This code needs a C++11 compiler. It uses lambda functions, etc... (instead of functors as used above) ... (Just all in one file here ...to ease your testing.) // takeInStuff_C++11.cpp… Re: Demo of how NOT to code in C++ resurrected ... and updated Programming Software Development by iamthwee @the OP, consider investing your time in more useful endeavours. Most of this is useless, for entry level programmers and completely convoluted. For that reason it is NOT a better example. If you want a simple and fool proof way for input handling consider taking everything in as strings and running your own checking functions on them for … Re: Demo of how NOT to code in C++ resurrected ... and updated Programming Software Development by deceptikon > If you want a simple and fool proof way for input handling consider taking everything in as strings and running your own checking functions on them for validity. For standard types provided by the language, end user programmers shouldn't be expected to validate or parse them unless they want. However, simple and fool proof are mutually … Hotmail and Yahoo not working with DSL via wireless router Hardware and Software Networking by Visanto … after typing all of this that someone else has also resurrected this topic today. Sorry if this is redundant, but since… Hello, my name is veggiecook Community Center Say Hello! by veggiecook I'm in computer hell and need some help. Thanks for the forum. I appreciate it. I'm using an old computer I resurrected with a dial-up connection so this requires patience. how fried can a northbridge be and still work? Hardware and Software Hardware by spookfish … it, with a donor pin from an elderly motherboard i resurrected the slot/motherboard. it worked.....kinda, but on trying to… XP install Freeze Hardware and Software Microsoft Windows by nerv_liutenant … to install XP Pro on an older model computer I resurrected at work. I am able to boot from the CD… Auto thread locking after X days? Community Center Meta DaniWeb by winbatch Dani, I've noticed a pattern where threads are resurrected (often with no added value) after a year and a … Re: Auto thread locking after X days? Community Center Meta DaniWeb by Narue … thread and sending a warning message every now and then. Resurrected threads just don't happen as often as you seem… Hello World! Community Center Say Hello! by SpionRed … the CVD risk application, however my wife and I have resurrected the business a few months ago and changed our focus… Kyocera FS3750. How do I connect it to my G4? Hardware and Software macOS by Gandalph My HP laserjet 4m has died and I have resurrected my Kyocera FS 3750. The problem is that the Kyocera … deleting a bad partition Hardware and Software Microsoft Windows by OUKNO I have this old PC that I resurrected and from what I can see there is something weird going with OS issues. When logging on I'm given 2 options Win 2000 or XP Pro. I want to delete the Win 2000 partition so I don't have this issue anymore. Help I need somebody's HELP Rgards, Matt Virus still present after formatting? Hardware and Software Information Security by BigM1ke … before the formatting). Right after that, the 3 porn icons resurrected from the dead and appeared on my desktop again! The… All of MP3 to rise from the ashes Hardware and Software macOS by happygeek …. You can expect them to start pursuing users of the resurrected All of MP3 service, assuming it does indeed rise from… Bad LCD, or something deeper? Hardware and Software Hardware by ffadaei … installing windows updates and the like. I had pretty much resurrected the machine when out of the blue I get a… Sort forum posts by creation date? Community Center Meta DaniWeb by Xlphos Hello, Didn't there used to be a sort by creation date for viewing posts? Or am i not looking in the right place...? I'm not to keen on seeing resurrected posts from like 7 yrs ago clogging up recent posts. Thanks Load Image From File and Release File Programming Software Development by TnTinMN I have just seen a resurrected thread about issues with loading images to a PictureBox and … C readLine and readWord (like getline and cin >> ... in C++) Programming Software Development by David W … last few days, I have noticed a very old thread ... resurrected ... about a non-standard C getline function. To all who… Read this before posting sticky Community Center Meta DaniWeb by pritaeas I have resurrected [this sticky](https://www.daniweb.com/programming/web-development/threads/… Re: Resurrecting Dead Posts Community Center Meta DaniWeb by Fazza … a lot of threads that are years old are being resurrected for no real reason. Obviously there are always exceptions to… feel lets it down is all the old threads being resurrected as in most forums I have been a member of… should post a reply in a thread that someone has resurrected or not. Re: replacement of getch() Programming Software Development by vhortex … unexpected resurrection 3 years after. and another year it was resurrected with some arrogance and rudeness and on the next year… it was resurrected again. can anyone lock this thread and create a new… Re: New feature added yesterday... Notice it? Community Center Meta DaniWeb by LastMitch …'t understand why people don't like threads that are resurrected, as long as the replies are relevant. I think it… and helpful. What about the threads that are solved and resurrected and still people ask the post same questions even though… Re: Suggestion regarding posting in old threads Community Center Meta DaniWeb by mike_2000_17 … thread don't get notified by email that someone has resurrected their thread. If not, that could be a good idea…'m sure Dani would say that it's good that resurrected threads poke old members, possibly bringing them back to Daniweb…