Yeah this you can do by using"operator overloading" for which you need to write a function
Type: Posts; User: skumarisation
Yeah this you can do by using"operator overloading" for which you need to write a function
Hi
I have refined my code as under but no success so far
ifstream myfile ("output",ios::in|ios::binary);
Hi all,
I am generating a value by calling some fn which returns uint32_t and storing these values in file. Part of Code as shown below
//to write content in file
uint32_t c;
ofstream outfile;...
Hi
the problem has been sorted out. Just for others interest, since my reqmt was to share the variable between two cpp files having same header file.I used shared memory(metaphor), Inter process...
Hi
In fact in the header file i have define this variable with keyword extern
extern char array[10];
In other cpp file i am just declaring it like
char array[10];
at both the places i am...
Hi guys
I am doing a project in which muti file programming is being used, all program file uses a common header file
#include "bash.h"
i am using a global variable which is declared in header...
Thanks a lot to everybody for good cooperation.
problem resolved
rgds
Thanks,
The piece of code for stack function is as under
//PUSH Function
template <class Stacktype> void Stack<Stacktype>::Push(Stacktype ob)
{
if(tos== size) {
cout<<"Stack is full...
Hi guys
I am presently using stack for storing variables using push and pop operation in C++,since my requirement of these variables is in reverse order .However i want to put these variables in...