+ 3
How to dry run c++ programs ?
12 odpowiedzi
+ 13
Try adding drying agents like calcium hydride (CaH2), sodium metal (in combination with benzophenone) or lithium aluminum hydride (LiAlH4) to your C++ program by declaring the <chemistry> header file.
It is very important to do so to avoid memory leaks, which might tamper with your hardware.
+ 12
o.O How do you run em wet?
'Try' maybe but that doesn't make more sense to me.
+ 8
Assume position and oh, RUB IT THROUGH YOUR C++ COMPILER. Rub was intentional, and gl ^_^
+ 7
Dry run mean assuming values for input variables on paper and then recording every change in them step by step w.r.t your code till you get the results. It is the usual practice that we follow in flow charts.
+ 6
Perhaps what you mean by dry is - don't repeat yourself?
+ 6
Dry run means practice run usually done for testing a machine or a software... To test your c++ program take a set of input values and check whether you get the expected outputs for the corresponding inputs... Also try checking if you can get all possible outputs from that set of inputs...
+ 1
Thanks
+ 1
It's better to at least get familiar to the term "dry run" .Which I thought the programmers must have known. Unfortunately I was wrong😐
+ 1
if you want to dry run for example a for loop assume values for the control variable and then predict the output. Then check the last variable at which the loop ends
0
If dry run is what you tell is, then you always do it when you code. You can not manually predict every bit of detail in a huge project and programming is actually is figuring out what you need to accomplish and how to get there.
- 2
yes