I have a strange problem on my gcc 3.2.2 installed in my SuSE Linux box. It does not compile a simple source file containing fpos_t. Strange. Am I missing some thing? It gives me error invalid initializer fpos_t
I set up a test case in which I populate 15,000 rows in a table using isql and monitoring Sybase performance on SUN and LINUX boxes. I get an average performance of about 40 inserts per second on a low end 360 MHz Sun machine and an average performance of about 13 inserts per second on a 2.8 GHz...
Ping using protocol NLWNSCK. Net-Lib protocol driver call to connect 2 end points failed."
This is the error message I get when I try to ping my Sybase installation on the SuSE LINUX box. I can ping using the same utility to the Sybase database installed on Solaris. So, I'm sure there is no...
Error message is:
rdbms80.map(0) : FILE_NOT_FOUND while mapping rdbms80
while I try to install Oracle using the set up program.
The background screen is:
Oracle Installer - "Analyzing Dependencies"
MQ-NEWBIE >>
Is it possible to set up the default configuration on a machine that uses DHCP ?
If yes, I have configured using settings described below:
* WebSphere MQ will create a queue manager on this computer called - QM_my_computer_name
* Allow remote administration of this queue...
I'm trying to ftp files from my Windows 2000 desktop to my unix box. I use ftp on windows command prompt. My problem is that once a folder has files in it, I can't remove it using the conventional UNIX rm -r option. If I issue rmdir folder_name - from my Windows desktop after ftp - I get the...
I have a C++ file with an extension as .cc ? I use VC++ 6.0. How do I compile this file ? The nmake utility which internally uses the cl compiler does not create a fuss about compiling c++ files with a .cc extension ? Why then does the graphical interface ?
Cheers
I have some doubts regarding the use of fstat(). The function signature described in ..\VC98\Include\Sys\stat.h is
_CRTIMP int __cdecl fstat(int, struct stat *);
The confusion is that in my c++ program if I pass a local (stack) variable declared as
struct stat st;
int result =...
Using man I'm trying to find the Unix command line options to search a file name recursively. (the file may be present in directories inner to the current directory)
I execute...
man ls | grep "recur"
The output is...
list subdirectories recursively
Now I want to read...
To demonstrate forward declarations -
I put up a simple structure consisting of 3 source files main.cc a.cc and b.cc
a.h
====
#include <iostream>
class A {
public:
void show();
};
I use a forward declaration of class A in b.h
b.h
====
#include <iostream>
class A; // forward declaration -...
hi!
I'm involved in a project in which I am supposed to re-engineer a system in BEA Tuxedo Transaction manager to CORBA - Orbix. I have worked in CORBA for more than 2 years. But BEA is new to me. I download the product catalog to realize that it is vast and confusing - has support for...
What is the significance of each of these in Perl
$@ - i think this indicates a parameter but to what and where ?
$<
$**
I have found these in my make file which I use with nmake utility.
For optimized coding I use the following guideline:
Inline methods that - have no loops, are non virtual, are non-recursive, are not (esp.derived) class constructors / destructors and do not make calls to virtual functions.
The important point missing here is a specification on the number of...
in a method
void print_mesg(const char *s) {..} // do something
int main()
{
print_mesg("Hello");
}
Where is the new method to hold "Hello". Also I don't need to call delete []s exclusively ? There is no memory leak here ? Why ?
hi,
I am using g++ compiler on my cygwin environment. I tried making the simplest example 'echo' on omniORB 4. I use the command:
g++ -I D:\omniORB4\src\examples\echo -I D:\omniORB4\include eg2_impl.cc
I get the error(s)
D:/omniORB4/include/omnithread.h:162: #error "No implementation...
Consider the following block of code:
#include <iostream>
using namespace std;
class Base {
public:
Base();
virtual void show();
};
class Derived:public Base {
int d;
public:
Derived();
virtual void show();
private:
};
Base::Base() {}
void Base::show(){
cout << "In show...
I'm calling an SP from my c++ code. The SP takes 3 parameters which are all varchar(50). Will it run faster if I replace this with 1 parameter ?
Thanks
How is the sizeof say int data type managed in c++ java and idl...like for e.g is int is 32 bytes in C++ and this value needs to be initialized(into my c++ server) from my java client via idl ? How does this mapping happen ?
Hi!
I'm using Omni ORB 4.0. I observe that while calling
omniNames -start
it works perfectly.But after configuring the Registry (REGEDT32) it gives me a memory exception.No error logs.Nothing.Is this a standard bug /
error with Omni ORB 4.0. ? Is there an alternative solution. What is the...
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.