Hi,
I change my text files here manually which have the data in the following format.
1085961616.474 172 190.104.253.84 TCP_MISS/200 2146 GET http://cfg.mywebsearch.com/mysaconfg.jsp?[07fiG10lKmU4M3R:IQ.TCH] - DIRECT/63.236.66.14 text/html
1085961622.602 60 68.22.217.209 TCP_HIT/200 9476 GET...
Hello everyone,
I am trying to store data in a struct. However it doens't set the values.
I read from a text file the values below and I've also included my code for your review. I've removed the pointers from my structure.
=====
NET09 1 --
NET10 1 --
=====
#include <stdio.h>
#include...
Hi there, I have two structs where I am trying to copy from.
typedef struct {
char *netID[7];
int hopCount;
char *nextHop[2];
}Routers;
Routers one;
Routers two;
I read from file and set one.netID = something...
Hi i have a text file that I am unable to read properly.
Here's what I do.
/* tblD.txt */
NET06 1 --
NET25 1 --
/* se.h */
typedef struct {
char netID[7];
int hopCount;
char nextHop[2];
}Routers...
Hi there,
I need to:
1) Create a pipe, read data from a variable. Write this data to the pipe. Send a message two file2 that pipe is ready to be read. All this in one file
2)Another file which will display message "reading from pipe". Reads until it's done.
to achieve this what I am trying to...
Hi there,
I have a windows service which should copy the file from one server to another. Suppose I created an xml file using xmltextwriter on server 1 location C:\tempp\test.xml, I want the service to copy this file to another server. say another servers C:\inetpub\wwwroot\foldername\. How am...
Hi there,
I have a site that was done in JSP and XML earlier. But now it has to be done in PHP and XML on tomcat.
I will need to provide authenticated security to the site as well for administrative purposes.
Basically everything is xml driven. I have to be able to read from xml files, write...
Hi there,
I have a matrix which has a column group and a column group which displays the report like this:
---------------------------------------------------
|_____|Population_________________________________|
|_____|_GROUP1______________|Group two____________|
|...
Hi there,
I have a matrix in which i want to display data in this manner:
________________________________________________________
|Store | Store1 | Store2 |WEST|Store3| Store4 | EAST |
|-------------------------------------------------------
|#OFprods| 45 | 43 | 88 | 43 | 54 |...
Hi there,
i have a report which generates grouped data. if i have one datarow for a group the datarow and group show up fine. but if i have more than one row for a data group it somehow skips the other rows and shows me the last row in the group. it works fine in the data view but not in the...
Hi there,
I have a report which brings the result in the format
Col1 Col2
val1 Val2
val3 val4
valgrp val2+val4
val6 Val6
val9 val8
valgrp2 val6+val8
Now in the group by line - i want to add val2+val4. How could i do so? I am doing the...
Hi there,
I am working on a tic tac toe game, in which the X's and O's are user defined controls. I have a board which is a user defined control as well. The board has 9 cells, all these cells are labels.
I need to do a click, drag and drop moves on the controls to make a move.
So far i've...
Hi there everyone,
i am currently learning .net and would like to get MCAD or MCP certification. Could someone please tell me which one would be a better choice. I went to msdn looking for different options and it did seem helpful but it didn't mention anything about the fees and how the test...
Hi there,
i have a tabcontrol which has three tabs.
One can not do anything on page 2, if information on page 1 is not entered.
I am thinking of using the function TabControl1_TabIndexChanged but can't really seem to get it working right.
I want to show a msgbox saying that i must enter...
Hi there,
I am working on a stopwatch which has 3 runners. I am using timespan to generate the time and i display the timer by parsing it as string. Basically I have to click the button 4 times for 3 runners! i.e. start,stop1,stop2,stop3. On all these click events i want to store the values of...
Hi there all
i am tryin to insert date from unix to db2 tables,
the format of date in unix is not compatible to db2 format. unix returns :Wed Nov 24 23:45:34 EST 2004 when asked for date, where as i want the date in the form yyyy-mm-dd, i know someone may suggest to parse it but i don't have...
Hi there all,
I have a table account(acc#,balance...)
a table chequing(acc#,chqbal....)
i the balance attribute of account table is based on chqbal attribute.
say initial balance = 0 for acc# 1
say chqbal = 40
now say i wana update account so i say
update account set...
Hi everyone
i am using ksh scripts and db2. i need to check in my database if a particular user exists,
echo "PLEASE ENTER THE EMPLOYEE NUMBER"
read enumm
echo "PLEASE ENTER THE MANAGER USER ID"
read uid
echo "PLEASE ENTER THE MANAGER PASSWORD"
read pswd
. db2init
QYE=`db2 -x "select count(*)...
Hi there all,
i am a beginnner in sql using db2 and scripts and was working on a banking database where i have to manage account transactions like withdraw and deposit.
say i have a table chequing(account#,balance)
another table savings(account#,savbalance)
now say i wana transfer amount from...
Hi there all,
I am trying to make a db2 application which shall be ran using shell scripts. Basically i would have a simple text interface i.e
Menu
1. Press 1 to do blah
2. Press 2 to do blahblah
3. Press 3 to do blahblahblah
I needed to show the fonts in color or even a better outlook.
Is...
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.