here is a sample pseudo code of what i want to perform( i am using dev c++)
main()
{
int r,c;
cin>>r>>c;
int a[r][c];
}
Type: Posts; User: shikhardeep
here is a sample pseudo code of what i want to perform( i am using dev c++)
main()
{
int r,c;
cin>>r>>c;
int a[r][c];
}
to iMalc:
look don't be so angry.my sir said that if you want you can create those two files
(emp.txt and sal.txt) in your program by taking user inputs. so i did that.don't look the
question so...
to salem: i am doing so because i don't have much time . after two days i have my term end lab exams in my college.that's why i am a bit of hurry.
to rags_to_riches:what's ur problem man .should i have to take permission from u to write it in other forum
i posted in other forum because i am not getting answers here.simple yaar
man i assume emp.txt(rather employee.txt) and same for the other one and i think you have only read the question not my code.pls read that also.i want to create that 2 files also by taking user input...
i made a program in dev c++ to merge contents of two files into a single file but the merged file is showing garbage outputs.
question:-
Write a C++ program to merge the content of two files...
i downloaded that but how to run it.where is the .exe file.
In the last two weeks i had made several trees and graph prog. i am not good with pointers so i had to struggle a lot.but now i am observing some issues with my prog in dev c++. like for ex:- i made...
so it means that i have to give all the 3 member functions(input(),calsalary()and display()) definitions separately for re class and hbe class and there is no point of using concept of inheritance ...
to MK27: i don't understand why there is a need of writing function declarations in child classes because they are inheriting features of base class-parent.so in my opinion, while inheriting; the...
i made a program in dev c++ to calculate salary of regular based employee and hourly based employee but when i compile the program i got some errors. i want to inherit person class in both re and hbe...
thanks a lot
hello everyone. i am new in c & c++. i want to know is their any built in function in c++(i am using dev c++) to print output vertically on o/p screen.
for ex:-
at first i want to print(1,2,3...
I was programming in c++. so any other option to read strings from keyboard.any simple functions
so how to fix it??
i want to make a program which compares int,char,float numbers ; but i want to use templates for implementing different data types and i have to overload == for them.the program was compiled with no...
i have a problem with gets() on char arrays in dev c++. for ex:- if i declare a structure having members -name,add,phone no etc. as char arrays and when i try to give input for them using gets() the...
thank u.
I have been given a program to create and display binary search tree.i have a doubt regarding display. i want to know should the display function shows the bst like we draw in paper or i have to...
thank u. could u please reccommend me some website,books or weblinks so that i can clear my concepts especially on pointers,self referencial structures and data structures like linked list
to whiteflags:-
can you please explain me in detail. i am new to c and c++
i want to know whether this direct assignment to pointer variable is valid or not.
i compiled the program in dev c++ and it works also but i am little bit confused as a pointer variable definition...
thank u all.Now its working.i can't believe how a silly mistake it was.there were some logical errors also but i corrected them and some others like calling member functions directly from main() and...
insert
#include<iostream>
#include<conio.h>
#include<string.h>
using namespace std;
class dic