Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
c++ x 20
c x 1
Member Avatar for vishy_85

hello all , im trying to read a text file and display its contents. While i got the code running and the output was displayed perfectly for sometime , i started getting Abort(core dump) error . Am i missing something here ? im using HP-UX. [code] #include <iostream.h> #include <fstream.h> …

Member Avatar for Stinomus
0
147
Member Avatar for vishy_85

Im trying to create a c++ server. Im using the schedule_Mgmt IDL , where module-schedule_Mgmt and i hav 3 interfaces , 1-config , 2-Listener, 3-MessageServer the following is my server code : [code] #include "schedule_MgmtI.h" #include <CosNamingC.h> int main( int argc, char *argv[] ) { try { cout << "Starting …

0
66
Member Avatar for vishy_85

hello all , im having a problem throwing corba system exception the following is my code [code] #include <createPlan.h> #include <writeLog.h> bool createPlanFunc(const schedule_Mgmt::planData & newPlanData1) ACE_THROW_SPEC (( CORBA::SystemException , schedule_Mgmt::alreadyExists , schedule_Mgmt::unknownErr )) { try { ofstream outfile("/cc/smc3/ss_pool4/elem_level_mgmt/tools/Schedule_Mgmt/Schedule_Mgmt/src/scheduleLog.txt",ios::app); bool repeatdelay_bool; bool notonweekend_bool; bool validity_bool; const char* prepeatdelay; const char* …

0
65
Member Avatar for vishy_85

hello all , i have to initialize the array of stucture singleIMEIarr to null , using NULL doesnt work , when i assign {'\0'} it doesnt execute. any suggestions at to where im wrong ? [code] struct singleIMEI { string planname; string plandescription; string scriptexec; string startdate; string starttime; string …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for vishy_85

hello all , i have my idl defined as follows : [code=cplusplus] #ifndef schedule_Mgmt_idl #define schedule_Mgmt_idl module schedule_Mgmt { //*************************** Structures ******************************* struct planData { string planName; string planDescription; string scriptExec; string startDate; string startTime; string stopDate; string stopTime; string delayInt; boolean repeatDelay; boolean notOnWeekend; boolean validity; string tempTime; string …

Member Avatar for vishy_85
0
146
Member Avatar for vishy_85

hi all , im trying to compare two time values , but im unable to display the correct result , the retval returns -1 for both d1 and d2 , i suppose the mktime is the convert the values into seconds since EPOCH . any idea as to where im …

Member Avatar for ArkM
0
1K
Member Avatar for vishy_85

hi all , i need to return the value of tempdate to the main function .... any idea how i can do that ??? [code=cplusplus] #include <string.h> #include <sys/time.h> #include <time.h> #include <stdlib.h> #include <stdio.h> #include <iostream.h> char* incrementdate(int &func_days_int,char *tempdate) { char temp_dat[11],temp_mon[8],temp_year[5]; int cur_dat,cur_mon,cur_year; temp_dat[0] = tempdate[0]; temp_dat[1] …

Member Avatar for Ancient Dragon
0
129
Member Avatar for vishy_85

hi all, im having some problem , returning the buffer array to the main function, im new at this , i need to print the currentdate from the main function, is thr any way i can return the date to the main function ?? [code] #include <sys/time.h> #include <time.h> #include …

Member Avatar for Narue
0
96
Member Avatar for vishy_85

im new to c++. im trying to create a function to get the systemtime every 1 minute and store it in a variable. im able to display the time using the time.h file. the problem is i dont know how to call the function every 1 minute and assign it …

Member Avatar for siddhant3s
0
81