you may also try this
when the software is installed, change the dates of all the files associated to the date of installation and then check with the date of your main file. if its > 1 month (30 days) inform that the software license is required to be purchased for further use. otherwise...
hi bitwise
try the syntax cin.getline(....) this should solve your problem.
this is part of TC++ syntax, and should work with other c++ compilers
icici
use a linux box or a win 9x box with ftp server enabled. this way walmart can push the data and also pull the data from this box. the ftp server software would restrict the movements of the walmarts access on your servers. also a firewall will be of help.
a similar solution has been...
its simple in case u wish to append the data to the dbf file. lets say ur dbf file is origin.dbf and the text file is datafile.txt (line sequential format)
use either dbase or fox or in clipper use dbu to open the file origin.dbf.
next give the command
append from dtafile.txt sdf
and...
hi cvrm
have u used cobol any time? then u must have used redefines clause in cobol. well unions are similar to redefines clause of cobol. here u can share the same memory area for different purposes.
i hope this answers ur query
icici
I dont know much about AS400, but in case u wish to receive files via FTP, you could look at FTP software such as CUTE FTP client or any other client which could be downloaded from the net for testing.
icici
try the following steps
a. convert the number to string with left justification
b. remove trailing spaces
c. get the length of the string
d. now group the string as required and then pass the numbers the way you want.
icici
you can use the function
clrscr()
to clear the screen. in case u want to set the background to say blue after the screen is cleared, then use the following commands
textbackground(BLUE);
clrscr();
pl. note the correct header files <CONIO.h>are required for using...
u can use the function
clrscr()
to clear the screen. in case u want to set the background to say blue after the screen is cleared, then use the following commands
textbackground(BLUE);
clrscr();
pl. note the correct header files are required for using this command...
if u know the structure of the btrieve database files, then u can search for a utility called as btfiler, which will allow u save the files as ascii text in line sequential form, which can then imported in ur application.
check the
http://www.swift.com
for more information on using xml in message formats. as regards the message itself the structure could be either proprietery or standard format such as ISO8583
icici
Thanks Denster for codifying the logic.
The problem though has been solved, what happen when u have to find the difference between the two dates say
date1 == may 01, 2002
date2 == october 10, 2001
some calculation has to be done for the year. the logic mentioned by me helps in calculation...
A crude but effective way is as follows
{
.
.
.
/*
for jan total days =0, feb = days till jan, ... aug = days till july and so on
codify the logic for your use
*/
int months[]={0, 31, 59, 90, 120, 151 ...... 335}
/*
date has the following components
date dd
month mm
year yy...
u have to write a function for converting the integer and the decimal parts separately. create an array as follows
alpha[0]=zero
alpha[1]=one
alpha[2]=two
.
.
.
.
.
alpha[20]=twenty
alpha[21]=thirty
.
.
.
.
.
.
alpha[28]=hundred
alpha[29]=thousand
.
.
convert the integer part to a left...
adding string is a easy job. lets say u have two strings Source[101] and Dest[501].
Dest[] containg say "Tek-Tips is a good forum "
u wish to add Source[] which contains say
Source[] "I want to join it".
u can use strcat(Dest, Source);
the problem what i forsee is that u...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.