Hi,
Can anyone able to help me out in the following.
I want to find the first occurance of a word in a file. But I want to have that entire line (not that word alone).
Does grep has any options for that?
Regards,
Ram
Hi Everyone,
I had strange result when i ran sdiff command as below.
Actually i have 2 files, in which file1 has the following content.
X
Y
Z
In File2, i have added one big line in between X and Y as below.
X
TAP_SUB_TRAN_TYP 2 #SubResp 52-pendingE/O...
Hi,
While running my perl program which intend uses DBI methods to connect to MySQL database, i am getting the following error.
Can't locate loadable object for module DBI in @INC (@INC contains: /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/l
ib/perl5/5.6.1...
Hi,
After successfully installing mysql under solaris machine (Sparc), while i am trying to run the script ./scripts/mysql_install_db, system giving me the following error. As a result, default tables mysql, test was not created.
ld.so.1: ./bin/my_print_defaults: fatal: libz.so.1: open...
Hi,
Can anyone tell me which version of mySQL i need to install in Sun solaris - sparc machine. Please give me a link from mysql site where i have to download it. I have downloaded one version which i thing source distribution. But i want to have binary distribution. Please let me know...
Hi,
I am very beginner for VC++ sockets. I want to learn in depth things in socket using MFC/SDK. Please advice me how to start it. What are all the books that are available to know the concept from basics?
Please let me know.
Thanks in advance.
Ram
Hi Matt,
Thanks for your response. It was really helpful to me to solve the one. But i am curious that whether we have any comiler option to solve those warning messages in HP platform.
Thanks and regards,
Ram
Hi,
I am working on to remove warning messages in all my C,C++ files in both Sun and HP machines. When i compile my CPP program in Sun environment, it gives me the following warning.
"../src/CPUtils.cpp", line 26: Warning (Anachronism): Formal argument comp of type int(*)(const...
Hi,
I have the following functions declared in my CPP program.
static int strToInt(const StrIntMap* map, const RWCString& str, int notFound, bool bNotFoundPassed, int ((*comp)(const char *, const char *)))
And the function is called with in an other function as shown below.
strToInt(const...
Hi,
How to connect the ORACLE database available in UNIX platform through 32bits ODBC for Windows. Actually, i am going to do the project in VB, but the database is already available in ORACLE under Unix. Just i want to make the connection established to that database (under unix) from my...
Hi folks,
Is there any idea about the difference between ODBC and JDBC? I heard that ODBC is much faster than JDBC. If so, please let us know why? As i am in the need of converting my existing tool from Windows specific to cross platform, i am going to recode the same tool in Java. Quick...
Hi,
I have an application which was already developed using VB with the backend MS-Access. But that application supposed to be useful in network. I.e., Database should be a center repositary in which all the user on NT can able to access that application. By setting ORACLE as a back-end can we...
Hi,
I have the following line of codes in my library file(.h).
#ifdef __cplusplus
extern "C" {
#endif
extern void function(int a, int b);
extern void function2(int x, int y);
#ifdef __cplusplus
}
#endif
But i didn't find out the exact declaration and definition place of the...
Hi,
Anyone help me to find the control string for long double. I want to print the number as it is.
I wrote the following program
main()
{
long double d;
double d1;
d1 = (double)(double)999/(double)1000;
d=(double)(123456789012345+d1);
printf("\nd=%Lf\n",d);
}
For...
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.