AllExperts > C++ 
Search      
C++
Volunteer
Answers to thousands of questions
 Home · More C++ Questions · Question Library  · Free Encyclopedia ·
More C++ Answers
Question Library

Ask a question about C++
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
About Joydeep Bhattacharya
(Top Expert on this page)

Expertise
TSR, Socket and Very Complex Mathematical Problem

Experience
Worked on many OOP projects with design patterns

Organizations
http://www.scodz.com

Publications
http://www.scodz.com

Education/Credentials
Master of Computer Applications

Awards and Honors
Being a proud owner of a website of programming called http://www.scodz.com

Past/Present Clients
http://www.funforu.com http://www.dhoondho.com http://analysingc.50webs.com

   

You are here:  Experts > Computing/Technology > C/C++ > C++

Questions Answered By Expert  Joydeep Bhattacharya 
In Category  C++

SubjectDate Asked

Checking for doubles10/9/2009
  Q: Expert, I'm working on a program that is trying to fill an array with 10 random numbers. I ...
  A: Check this might help you but the performance may be questioned here but this would solve your ...
pointers9/17/2009
  Q: . can you help me answer with this please.. array of student score declared as dynamic data ...
  A: The same code converted from C to C++ #include<iostream.h> class Student{ private: int marks; ...
pointers9/16/2009
  Q: . can you help me answer with this please.. array of student score declared as dynamic data ...
  A: How are you ... hope that you are doing good Check this code #include<stdio.h> #include<alloc.h> ...
c++9/12/2009
  Q: how can i check the sum of all rows are equal in matrix. tell me code.
  A: int a[][]; // where a is the two dimensional array int counter, sumOfFirstRow; int flag = 1; for(int ...
Text File in C++8/9/2008
  Q: Respected Sir, Plz tell me how we can read the data on starting up of any C++ application and how ...
  A: Try writing it life this. class MyClass{ private: char *filaname; public: MyClass(){ \\logic to ...
read data from a file in c++7/23/2008
  Q: i want a read word by word from a text file and store it in a array. looks simple, but its a ...
  A: Create a structure struct word { char data[20]; }; Open the file using read mode FILE *fp = ...
c language7/13/2008
  Q: how to create my own header files in c language?
  A: Create a file with .h extension and keep all the function definition there for example create a ...
Char Pointer7/5/2008
  Q: ! i am initializing the char pointer with 5 names. How will I print it : char ...
  A: You can do it like this char *p[]={"anand","abhi","John","Ana","Geshu"}; int i for(i=0;i<5;i++) ...
Memory size of Arrays in C++6/23/2008
  Q: Sir, I am working on a C program and sometimes need large sized arrays like A[1000][1000] far many ...
  A: I can understand your problem pretty well coz once I have tried finding you the maximum memory that ...
difference btwn turbo and borland c++6/17/2008
  Q: ... what is the disadvantages of turbo c++ and what s the need of going to borland c++...
  A: Logically there is no difference between the two but programatically there is some diffence between ...
c++6/16/2008
  Q: what is function overriding and function overloading in c++? what are the differences between them? ...
  A: First try n understand the basic difference between the two OVERLOADING: Both the function has same ...
c program6/3/2008
  Q: c program to count the number of occurrence of each character of the input character string
  A: You can find your program in this link http://www.scodz.com/ViewProgram.php?uid=233&link=630 This ...
pointer casting3/30/2008
  Q: I am sturggling with a peace of code mainly its about casting a pointer to one type of structure to ...
  A: When two structures are different this is not a safe practice to typecast it like that. What happens ...
#ifndef preprocessor3/24/2008
  Q: Mr. Bhattacharya I have the following question I've been trying to use the #ifndef, #define and ...
  A: Try this for file inclusion #if !defined( __STDIO_H ) #include <STDIO.H> #endif // __STDIO_H This ...
reading a file in reverse order3/9/2008
  Q: i have a question that i want to read a file (unknown size) in reverse order and write the contents ...
  A: What you can do is take a char pointer and allocate it dynamically allocate memory char *p = ...
character string2/27/2008
  Q: How are you? I have a 2D character string that I declare as: char ...
  A: There is really no problem in your code. the defect may be with your compiler. Please compile and ...
sudoku programming2/22/2008
  Q: sir, can you please tell me the c++ program to solve a sudoku puzzle
  A: try out this link ... this is my personal website so don't worry about viruses and other issues ... ...
c++2/11/2008
  Q: how do u count vowels in a string using a c++ program?
  A: #include<stdio.h> void main() { int count = 0, i; char str[100]; cout<<"Enter a String: "; ...
C,C++,C#1/14/2008
  Q: i am a electronics engineer, now i have started learning C++,C# and .Net Can u please help me by ...
  A: I am a final year student of MCA, when I was learning languages I found that basic level tutorials ...
performance of c and CPP programs1/14/2008
  Q: Had a general question on performance between C and C++. Is there any study indicating one is better ...
  A: C is a procedure oriented language, and C++ is a object oriented language with advanced features ...
text editor12/28/2007
  Q: i want to create a text editor using turbo c++(including all the menu options using graphics) and i ...
  A: Probably for such a complex application you need to use almost all the header files. First create ...
C++-command line arguments12/3/2007
  Q: how do i work with command line arguments in C++(how to pass the arguments)
  A: compile the program and as you have compiled the program the exe has been generated in the same ...
New11/25/2007
  Q: I'm very new to C++ and its really confusing, i need our help please........ How do i write a code ...
  A: to solve a C++ or any kind of programming problem you have to go step by step #include<iostream.h> ...
C++ compiler porblem11/21/2007
  Q: I have developed a project using C++ with many different .cpp files (main.cpp,window.cpp,courses.cpp ...
  A: replace all the header file inclsion inside the source code i.e. instead of using ...
faakher11/13/2007
  Q: salam sir: sir what is the draw back of function n c++ and another question is that what is function ...
  A: The main drawback of function is it increases the execution time as the main function is pushed ...
c++ project11/13/2007
  Q: We are sorry, but rakshitha wasn't able to answer youri have a project ..so it's about the "CPU ...
  A: First take the inputs by creating a dynamic array and populate the array accordingly as you have got ...
programming9/23/2007
  Q: a bit off topic but i dont know where to ask this. what languages do most ppl use to program small ...
  A: For creating such applications you can use Visual C# Visual Basic Visual C Visual C++ MFC etc You ...
Doubt about inline function9/18/2007
  Q: Sir, today i was working in inline function and i use the for loop in that function but here it's ...
  A: Inline functions gets expanded like a macro in order to increase the performance and efficiency of ...
What is method Overriding in OOPs9/2/2007
  Q: sir, I am kedar desai i am studying in S.Y.IT i had a Q. that I am confused about overriding can you ...
  A: Suppose you have three functions in ur base class (B) called fun1(); fun2(); and fun3(); you ...
execute constructor8/31/2007
  Q: if we hav more then one constructor in base class . can we execute with one object of base class all ...
  A: Constructors work is to initialise a variable ... and you can't initialise a variable twice its of ...
program8/17/2007
  Q: Sir, I really wonder how to delete duplicate files in the hard disk using C++ programming! Can ...
  A: What do you mean by replacing duplicate files ... how can you keep duplicates files in the same ...
about constructor overloading8/7/2007
  Q: what is constructor overloading? give example
  A: Creating Constructor of various form is called constructor overloading class X { private: int x, y; ...
c++8/2/2007
  Q: find maximun element in finite sequence.?(algorithm) procedure max(a1,a2,....an:integers) max:=a1 ...
  A: //where a is the array of integer type numbers and n is the no of elements present in the array int ...
matrix multiplication coding8/1/2007
  Q: Hope you're doing well. I am trying to write a loop program which multiplies inverse of a matrix ...
  A: Write a program that multiplies a n/n matrix with another n/n matrix and put the thing in a loop as ...
pre & Post increment8/1/2007
  Q: Sir, Please read the question. #include<iostream.h> #include<conio.h> void main() { int a,add; ...
  A: Firstly don't call me sir and secondly I am here to help you my friend. Okies lets diagonise your ...
programming7/26/2007
  Q: find the reverse contents of array in turbo c++.
  A: Try this out #include<stdio.h> void main() { int arr[100], n, i; printf("No of elements: "); ...
about c++7/24/2007
  Q: count the number of vowels in a word
  A: How are you ? Try this out #include<iostream.h> #include<stdio.h> void main() { char str[100]; ...
Follow Up6/22/2007
  Q: I am rishi and posted my questions back...... I got a mail specifying that i got reply, but cant ...
  A: Your program will give the desired output if you include the header file #include<stdio.h> where the ...
Regarding reading text files in C++6/21/2007
  Q: I have a small question regarding accessing the text files in C++. Here is what I am writing in C++. ...
  A: I don't have so much time now to write the entire program but would be doing it soon and sending it ...
Regarding reading text files in C++6/20/2007
  Q: I have a small question regarding accessing the text files in C++. Here is what I am writing in C++. ...
  A: Firstly create a two dimensional array to store the strings in it then open the file fp = ...
Memory Leak6/17/2007
  Q: Joydeep will you please tell me that What is meant by memory leak and when it occur also Give me a ...
  A: Unintentional memory consumption by a computer program where the program fails to release memory ...

All Questions in This Category

Email this page
     
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2006 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.