I need to write a program for traditional long division My program shows the correct answer of remainder and quotient but doesnot show the full division method like we do in copy..the tradional style..do u guys have any ideas????
#include<iostream>
#include<fstream>
#include<vector>
using namespace std;
struct cal
{
int num1,num2;
};
int funct(int);
vector<int>a;
void main(int argc,char*argv[1])
{
ifstream infile;
infile.open("add.txt");
int count;
infile>>count;
cal add;int m,p,n,d,i=1;
for(int j=1;j<=count;j++)
{