printf

Remember to include a terminating “\n” in your printf – stdout doesn’t flush until it encounters one by default!!!! If printf still doesn’t occur you may need fflush(stdout); or consider using std::cout instead printf format codes bool %dint %dint %iint8_t %hhduint8_t %hhuint16_t %hduint16_t %huint32_t %lduint32_t %luint64_t %llduint64_t %lluchar[] %sfloat %f (Decimal floating point)float %.3f (3 represents the number […]

Read More