| Recent Answers from Joydeep Bhattacharya |
 |
2008-08-09 Text File in C++: Hi Muhammad Try writing it life this. class MyClass{ private: char *filaname; public: MyClass(){ \\logic to read a particular file and store data } void otherMethod(){ \\other methods...
|
2008-07-23 read data from a file in c++: Hi Ramachandra Create a structure struct word { char data[20]; }; Open the file using read mode FILE *fp = fopen(filename,"r+"); Now read word by word and store in structure char ch[20];...
|
2008-07-13 c language: hi Swati Create a file with .h extension and keep all the function definition there for example create a file called function.h #ifndef __FUNCTION_H define __FUNCTION_H void func1(); void...
|
2008-07-05 Char Pointer: Hi Priya You can do it like this char *p[]={"anand","abhi","John","Ana","Geshu"}; int i for(i=0;i<5;i++) printf("%s",*(p + i)); Do lemme know if you get any problem with the above code....
|
2008-06-23 Memory size of Arrays in C++: Hi Arif I can understand your problem pretty well coz once I have tried finding you the maximum memory that can be allocated and found out that max memory that can be allocated with a single call to...
|
| More Answers for "C++" |