hi.. everyone.. i wanted to ask can i actually combine c basic code in the c++ coding?

Yup. As long as you include the header files for the C stuff that you want. In general C headers start with 'c', so to include math.h in a C++ program, you'd do:

#include <cmath>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.