This thread will be an attempt to develope a SIMPLE (and good enough) class for beginning Java students, to ease their coding for valid and crash proof, user (Console type) input, (and also handle Console output.) We assume here that beginning students need not worry much, about obtaining the fastest possible IO, with respect to the console, in their typical beginning student type problems, (Note that IO is often the big bootle-neck to the total time it takes to execute a typical student type program, since printing to screen is slow, and there are even longer waits for a user …

Member Avatar
Member Avatar
+0 forum 36

In the last few days, I have noticed a very old thread ... resurrected ... about a non-standard C getline function. To all who may like a C readLine function ... a C function that reads in a dynamic C string of any length ... a function with a similar feel to the C++ getline function ... please feel free to use readLine.h (to access readLine) ... or readWord.h (to access readWord) These are freely available at: [For ... readLine and readWord ... Click Here](http://developers-heaven.net/forum/index.php/topic,2580.msg2864.html#msg2864)

Member Avatar
+0 forum 0

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++ ... :) // beginnerBadCppExampleCodeBeforeFixedUp.cpp // 2013-08-14 // // This following 'Supposed example' of good code is ... // re-worked ... // to demo an acceptable coding style for current C++ students ... #include<iostream.h> #include<conio.h> float no,price[50],total[50],qty[50],tt; char item[30]; void main() { int i,j; clrscr(); cout<<"\n\n\t\t\tRaje's Billing Software\n\n"; cout<<"\nEnter The Number of Products you'v Purchased:"; cin>>no; cout<<"\n\nSL No\tITEM …

Member Avatar
Member Avatar
+0 forum 9

The End.