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
~906 People Reached
Favorite Tags
Member Avatar for gamodg

Hi I am using CGI/C at the server. When the user clicks on a link the server sends a xml as response which undergoes xslt at client. The problem is 1. Sometimes Xslt takes 2 to 3 sec 2. User navigates to other link meanwhile 3. Xslt is done for …

0
60
Member Avatar for gamodg

Hi I have a cgi controller that takes requests and depending on request it invokes the object of the desired class which generates a XML and sends the XML as a response. On the client this XML is combined with XSL to display a HTML page. For ex. [CODE] request---->controller------->router.cgi(a …

Member Avatar for Salem
0
69
Member Avatar for gamodg

I have a structure [code=c] struct Info { char *name; char **value; }; [/code] and a function [code=c] void addValue(struct Info *info,char *value ,int posVal) { int size=strlen(value)+1; info->value[posVal]= (char *)malloc(size); strcpy(info->value[posVal],value); info->value[posVal+1]=NULL; } Main struct Info info[10] ....... ....... initValArrSize(&info[0],1); /* Make size+1 single dimension arrays of size char …

Member Avatar for gamodg
0
105
Member Avatar for gamodg

Hi I have made a page thats makes an AJAX call to the server gets the time and displays it. In the OPEN method i have set req.open("GET","/timerProg.cgi?param1="+new date(),false); I have set the last parameter as false as i am expecting a synchronous request so that time displayed should be …

Member Avatar for anish.anick
0
84
Member Avatar for gamodg
Member Avatar for iamthwee
0
63
Member Avatar for gamodg

am using tc3 i want to search files in a folder named "project" on c drive this folder contains some text files namely 2-2AA 2-2BA 2-2CA 2-2DA LOG i want to search how many files are there excluding LOG so that i can open them one by one and manipulate …

Member Avatar for Ancient Dragon
0
89
Member Avatar for gamodg

[code=cplusplus] #include<stdio.h> #include<conio.h> #include<fstream.h> void file() { for(int i=0;i<30;i++) { char a[10]="2-2aa.pak"; a[4]=a[4]+i%26; a[3]=a[3]+((i/26)%26); fstream file; file.open(a,ios::in |ios::out); file<<"anshulgarg"; file.close(); } } void main() { file(); } [/code] it creates 30 files with new names in bin but when i give relative path ex "\\p\\2-2aa.pak" and adjust a[8],a[9] appropriately it …

Member Avatar for Salem
0
80
Member Avatar for gamodg

[color=#3333FF]presenting here a program fragement of my project two files mainn.txt mp.txt format i have given at the end of this code the problem is that while printing mp.txt the output is not in format as i expected [/color] [code] [color=#33CC00]DF: 1 SA: 2-2 DA: R1 D: 3 SA: R1 …

Member Avatar for GreenDay2001
0
73
Member Avatar for gamodg

please suggest me how to position my output in tc++3 like [COLOR="Blue"]sa[/COLOR]:1111 [COLOR="#0000ff"]da[/COLOR]:112212 [COLOR="#0000ff"]d[/COLOR]:4 i want that irrespective of the length of data after [COLOR="#0000ff"]sa[/COLOR] or [COLOR="#0000ff"]da[/COLOR] the distance between[COLOR="#0000ff"] sa da d[/COLOR] should be constant

Member Avatar for WaltP
0
63
Member Avatar for gamodg

char *p=" My [COLOR="#ff0000"]name[/COLOR] is xyz "; char *q; q=strstr(p,"[COLOR="#ff0000"]name[/COLOR]");//it will return ptr at [COLOR="#ff0000"]n[/COLOR] of [COLOR="#ff0000"]name[/COLOR] now if i want to extract "[COLOR="#ff0000"]name[/COLOR]" from p i will increment the ptr q and put it in a char array say str[] but how will i check for space after [COLOR="#ff0000"]name[/COLOR] …

Member Avatar for John A
0
117
Member Avatar for gamodg

input: source:1.1.2.3:?: destination:1.2.3.4 data:shfg hshsg h am trying to extract `1.1.2.3` from `source:1.1.2.3` please suggest :!: while(!mod.eof()) { mod.getline(buf,100); if(strstr(buf,"Source")) { w=strchr(buf,':'); strcpy(str,*w); } }

Member Avatar for Ancient Dragon
0
103