Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #2K
~20.5K People Reached
Interests
C++, JAVA, ORACLE
Favorite Forums
Favorite Tags
Member Avatar for amt_muk

Hello, Please help me to overcome the following confussion. Suppose I have created an array of pointers like, A** l_aAPtr = new A*[l_iTotal]; for(int i = 0; i<l_iTotal;i++) { l_aAPtr[i] = new A(); } Now I want to delete this array. Please advise which of the following way is correct …

Member Avatar for amt_muk
0
234
Member Avatar for daniel1977

I have a question. I am trying to sere into my brain how pointers work and just when I think I got it a new problem arises. So I think I understand pointers pretty good when working with primitives and such. Now I am trying to understand working with objects …

Member Avatar for sepp2k
0
132
Member Avatar for amt_muk

Hi friends, In Windows if we create an exe with MSVC6.0 a corresponding ".lib" file is generated. This file can be used for accessing (linking) the classes defined within that exe from some outside libraries (dll). Now in unix platform (ie, Red Hat Linux), how can we use that technique. …

Member Avatar for Ancient Dragon
0
117
Member Avatar for amt_muk

Hello, Is there any utility which can generate sequence diagram from existing C++ source code? Thanx in advanced. Amitendra Mukherjee

0
69
Member Avatar for amt_muk

Hello, I was trying to make a client-server application using java orb. Server was fetching data from database and passing them to client. The client was getting an exception for large numbers of rows (say, 50K). Jan 15, 2013 11:48:51 AM com.sun.corba.se.impl.transport.SocketOrChannelConnecti onImpl readFully WARNING: "IOP00410215: (COMM_FAILURE) Read of full …

0
54
Member Avatar for amt_muk

Hello friends, I am evaluating Database connectivity from C++. I have found OTL(Oracle, Odbc and DB2-CLI Template Library ) from googling, which seems good for that purpose. Can you please provide me some inputs / feedback about OTL (or other suitable DB handling libraries). Also please inform, from where I …

Member Avatar for Stefano Mtangoo
0
310
Member Avatar for amt_muk

Hello, Can you please suggest me some 3rd party C++ libraries like RogueWave SourcePro C++. Thanks in advance, Amit M.

Member Avatar for mike_2000_17
0
257
Member Avatar for amt_muk

Hello Friends, I am trying to porting an unix c++ program into windows using MSVC8.0 compiler. In my unix version there are some lines like [CODE] #include <sys/atomic.h> ... atomic_add_int_nv() ... [/CODE] Now, pls help me to find out the Win version of these code segments. Thanks, Amit

Member Avatar for cikara21
0
97
Member Avatar for amt_muk

Hello friends, Suppose I want to write a dll file with MS-VC8.0 compiler. I need to add [B]__declspec(dllexport)[/B] for all of the functions which will be called from outside of that dll. Now my question is that whether it is possible to export all functions of that dll at a …

Member Avatar for twomers
0
116
Member Avatar for amt_muk

Hello Friends, I am trying to porting some pre-existing code to VC++ 2005 in Win XP environment. I have a segment of code like, [code] ... #include<fcntl.h> #include <sys/types.h> #include <sys/stat.h> ... ... cm_iFile = open(l_chBuff,O_RDONLY|O_BINARY); ... [/code] During compiling this file I am getting the following error message, [B]..\source\CRaterEDRFile.cpp(276) …

Member Avatar for mitrmkar
0
122
Member Avatar for amt_muk

Hello friends, I am facing a linking problem in VC++8.0 compiler. Suppose I have a library, say A.dll. In this library I have a file, say x.cpp. Within this file there is a extern const variable, like [code] ..... __declspec( dllexport ) extern const long ERROR = 100; ..... [/code] …

Member Avatar for amt_muk
0
95
Member Avatar for prushik

I would like to know once and for all how to convert a double to a const char* I've tried it a few times, but have never succeeded, I know it can be done, but I haven't figured out how to yet. I've tried some different things. Sometimes it won't …

Member Avatar for Seta00
0
2K
Member Avatar for amt_muk

Hello Friendz, Suppose I have a program like [code] // A.cpp int main() { if(some_condition) return 1; return 0; } [/code] Now from another program I want to run the above program, like [code] //B.cpp int main() { ... ... system("A"); ... ... return 0; } [/code] Here how can …

Member Avatar for Duoas
0
368
Member Avatar for amt_muk

Hi, Suppose I have a char*, which holds a string value. Now I want to print the address of that char*, not the string value. Pls help me in this problem. Amit

Member Avatar for amt_muk
0
5K
Member Avatar for amt_muk

Hello friends, Is there any problem with "Zero-Length-String" in C/C++. Pls mention if there is any type of problem in standard string library-functions like strcpy, strcat, memcpy, etc. Thanx, Amit

Member Avatar for Ancient Dragon
0
114
Member Avatar for amt_muk

Hello friends, Suppose I have a .doc file (MSWord). Now, how can I read that file using C++ console application, ie, not using MFC or any other visual components. Thanks, Amit

Member Avatar for marco93
0
76
Member Avatar for amt_muk

Hi What are the basic differences between the methods atol() and strtol()? Regards, Amit

Member Avatar for amt_muk
0
419
Member Avatar for bis student

I have these question and I need some help from you : Assume that the maximum number of students in a class is 50. Write a program that reads students' names followed by their test score from a file and outputs the following: a. class average b. Names of all …

Member Avatar for amt_muk
0
141
Member Avatar for toncoolx

Hello there, I recently need to use c++ to do a project, and I occur some problems, hoping can get some advices from here, many thanks! My project allow a user to input a number and i need to retrieve the data from a text file. My text file's data …

Member Avatar for toncoolx
0
100
Member Avatar for amt_muk
Member Avatar for vijayan121
0
2K
Member Avatar for amt_muk

Hi friends, Can you pls tell me about "[B]explicit template instantiation[/B]". Suppose I have a simple program : 1. File : TClass.h [code] #ifndef CTCLASS_H #define CTCLASS_H template<class T> class CTClass { public: CTClass(T t1, T t2); ~CTClass(); T add(); private: T cm_T1; T cm_T2; }; template<class T> CTClass<T>::CTClass(T t1,T …

Member Avatar for amt_muk
0
175
Member Avatar for amt_muk

Hi Friends, Can any of you pls tell me (in detail) which of the following options will be faster? Option 1: [code] int fun() { if( !cm_aObject ) return -1; return cm_aObject->getNum(); } [/code] Option 2: [code] int fun() { try{ return cm_aObject->getNum(); }catch(...){ return -1; } } [/code] Thanx, …

Member Avatar for vijayan121
0
124
Member Avatar for amt_muk

Hello Friends, Suppose I have a function like - [code] void myFunc( char* str) { ....... ....... } [/code] And I have to pass a pointer of type "const char*" into that function. Now my question is that can I pass the pointer like following way (ie by custing it …

Member Avatar for amt_muk
0
198
Member Avatar for amt_muk

Hello friends, I'm trying to write a program to check the status of a process (specified by its process-id), ie, the process is presently running or not. Can you pls give me some idea to solve it? Thanks in advance. Amit

Member Avatar for amt_muk
0
120
Member Avatar for ocw

hi.. currently i have two image in my folder, how can i compare the two images for different based on the image pixel? or is there any other way which i could use to determined if the images are identical? (both images have the same size and resolution.) thus i …

Member Avatar for WolfPack
0
140
Member Avatar for elek

hey guys i did this program and its not working it worked for a while and then stopped so would someone please tell me whats wrong with it cause i have to do it soon. #include <conio.h> #include <stdio.h> #include <stdlib.h> void main() { char sentence[50]; int vowel_a; int vowel_e; …

Member Avatar for elek
0
179
Member Avatar for drock9975

I'm new to the forum as I've been surfing around for some previously posted help, but I just can't find it. So if anyone can help it would be greatly appreciated. I'm new to C++ and programming in general and I'm compiling on Microsoft Visual Studio .Net 2003. For a …

Member Avatar for drock9975
0
101
Member Avatar for gpta_varun

Hi All I am relatively new to the C++ world . Facing some problem , while initializing an array of objects . Suppose i have a class Rectangle . I want to have a pointer to an array of objects to the class . How do i invoke the Class …

Member Avatar for gpta_varun
0
7K
Member Avatar for amt_muk

Hi All, I am facing a problem with new line character (\n). When I am initializing a string variable with a string having a new line character, e.g., [code] char str[20] = “Programming is \nfun

Member Avatar for Dave Sinkula
0
97
Member Avatar for Greenthumb

Hi everyone, i was hoping i could find some help here. I am trying to get settings i have written into a textfile to be put in an array. Here is what is in the txt file: 8 44100 1 2 1 I read the textfile with: pStream = new …

Member Avatar for Greenthumb
0
122