it will be very easy to answer this question , if you post you code here.
just receive input and check whether user wanna continue or not (i think if will help you).
if the input is for yes then continue i.e. call the function main();
I have the C++ 2003 standard to hand which states in section 3.6.1, paragraph 3, "The function main shall not be used within a program."
So, do not call main; it's incorrect C++, as well as a bad idea (look up "stack frame" to get an idea of what can go horribly wrong, with "stack overflow") and demonstrates to someone else reading the code that the programmer appears to have been taught BASIC back in the early eighties and now just tries to write BASIC programmes in whatever language they're using.
OK, so HostGator for some reason no longer allows gcc/g++ access unless you have a Designated Server account, which is a lot of money to spend just to compile my "Hello World" program. Thus I figured I'd compile at home, then upload. Program is your regular old bare-bones Hello World ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...