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
~7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for infantheartlyje

Shall i create a cgi script with main function command line Argument ? If i can , How can i pass the data to this command line arguments ? And shall i pass Array of data from JavaScript to cgi-script which is created in c++. How many ways are available …

Member Avatar for Ancient Dragon
0
584
Member Avatar for infantheartlyje

Hi folks, I did a program to find a number at a lower bound position and upper bound position. For example, this is my array values 1 1 2 3 5 5 5 5 7 8 9 10 if i search lower position for 5 , it will return 4 …

Member Avatar for histrungalot
0
4K
Member Avatar for infantheartlyje

Hi folks, I'm having a doubt. I write a letter in notepad and i saved it as 'letter.txt'. Then i realized that i forgot to say one matter in that letter. So i opened 'letter.txt' using any text editor such as notepad, wordpad or something. Now i inserted the letters …

Member Avatar for deceptikon
0
234
Member Avatar for infantheartlyje

I want to develop report engine in C++. Frankly I don't know any thing now about reporting engine. I know some of C++ features only (up to File handling). Can anyone guide me to develop report engine in C++? My display engine will ask my report engine to send some …

Member Avatar for thines01
0
235
Member Avatar for infantheartlyje

I have a base class and two derived class. One derived class which inherits base class as virtual and another one as non virtual. I have given below my codin. [CODE] // This program uses virtual base classes. #include <iostream> using namespace std; class base { public: int i; }; …

Member Avatar for Narue
0
201
Member Avatar for infantheartlyje

Hi folks, I had created a class for student. This is the class. [code] class student { int rollno,marks; char name[20]; public: void show(); void get(); int filecreate(const string &,fstream &); int fileopen(const string &,fstream &); static int add(const student &,fstream &); static int read(const student &,fstream &,int); static int …

Member Avatar for WaltP
0
222
Member Avatar for infantheartlyje

Hi i could not specific Record from my binary file. This is the method to list out all records. [code] int student :: showall(fstream &fp) { student rec; fp.seekg(0,ios::beg); int i=0; cout<<"Position\tRoll No\t\tName\tBalance"<<endl; while(fp.read((char*)&rec,sizeof rec)) { cout<<i*sizeof rec<<"\t"; rec.show(); i++; } } [/code] While running this i got the below …

0
102
Member Avatar for infantheartlyje

Hi folks, I have written code to random access files in c++ . I got result without creating a method for write a record to the file. I have given the code snippet below. [code] #include<iostream> #include<fstream> #include<iomanip> using namespace std; class student { int rollno,marks; char name[20]; fstream fpointer; …

Member Avatar for infantheartlyje
0
310
Member Avatar for infantheartlyje

Hi..this is my coding. Its compiled successfully. But i could not get my result. I don't know whether the data stored in the file successfully or not. Please Help me. [CODE] #include <iostream> #include <fstream> #include <cstring> using namespace std; struct status { char name[80]; double balance; unsigned long account_num; …

0
95
Member Avatar for infantheartlyje

HI folks, This is my code. How can i pass a outside structure parameter to a class method? [CODE]using namespace std; struct status { char name[80]; double balance; unsigned long account_num; }; class FileHandler { public: FileHandler(string); ~FileHandler(); int getRecords(struct status *); int putRecords(struct status *); private: string fileName; fstream …

Member Avatar for raptr_dflo
0
171
Member Avatar for infantheartlyje

Here is my code . Switch statement doesn't working in this. why? [CODE] int callprocess(FILE *File) { int Rec = 0; // record number char tcode[3]; //char buffer[30]; struct timeval b,e; long int tms,tme; do { printf("\nMenu :Init, Dummy, Add or Quit ( I, U, A or Q) : "); …

Member Avatar for infantheartlyje
0
181
Member Avatar for infantheartlyje

Hi folks, [CODE] int a=10,b=5,tmp; tmp=a; a=b; b=tmp; [/CODE] This is ordinary swap. I want to do this swap to the structure variables. And how to free the memory of tmp structure variable after swapping.

Member Avatar for WaltP
0
221
Member Avatar for infantheartlyje

Hi folks, I want to check two dates. The date format [MMDDYYYY]. for e.g., 01252000 . I want separate the day , month, and year into a integer. How can i do this?

Member Avatar for infantheartlyje
0
335
Member Avatar for infantheartlyje

Hi folks, this is my code. I'm passing a date string [MMDDYYYY](e.g., 01022000) to the function check periods. Now i send the date to sepdate function. This function should separate the dates. if i print the returned array, am getting wrong answer. [CODE] int *sepdate(char *date) { long int dt; …

Member Avatar for infantheartlyje
0
137
Member Avatar for infantheartlyje

Hi all, I'm doing a software. In this i want to develop my report engine in c++ using linux platform. Now my report engine should connect with my browser (Display engine). How i connect C++ with browser?? Example : in my report engine there 'll be class like below. Class …

0
98