Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by areza123

  1. areza123

    Linux gcc 3.2.2 invalid initializer for fpos_t

    hmmm :(, yep I was looking for a better alternative, I guess I'll have to live with this. Thanks for the prompt replies anyways...it always helps
  2. areza123

    Linux gcc 3.2.2 invalid initializer for fpos_t

    Thanks Salem for the reply. fpos_t is typede'd to long is Sun Solaris but I find that on my Linux it is typedef'd to __c_streampos; On my Sun machine I could use code like fpos_t obj; if (!obj) {...} But this does not seem to be the right approach with __c_streampos? Could you suggest an...
  3. areza123

    Linux gcc 3.2.2 invalid initializer for fpos_t

    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
  4. areza123

    Poor performance on Sybase ASE 12.5.2/ EBF 12061 (SuSE LINUX)

    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...
  5. areza123

    dsedit fails to ping on LINUX server

    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...
  6. areza123

    Help in installing Oracle

    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"
  7. areza123

    Multi threading and Global variables.

    Is this only C code - because if you have C++ compiler I would highly recommend the use of functionoids in such a scenario. Do let me know if you need more info on how to use functionoid's with multithreading...provided ofcourse you are using a C++ & not a C compiler Cheers
  8. areza123

    Problems while trying to set up the default configuration

    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...
  9. areza123

    Silly question on FTP

    Thanks for the reply. But assume for a moment that I can't login to my unix box for some security reasons ? What is the alternative using windows ftp ?
  10. areza123

    Silly question on FTP

    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...
  11. areza123

    How do I compile a .cc file - why nmake differs from gui ?

    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
  12. areza123

    Confusion with fstat (int, struct stat *)

    OK...I declare my own structure as extern "C" { struct test_str { int a; }; } As per the above explanation test_str *ptr1 = new test_str; // (1) should not work. Instead struct test_str *ptr2 = new struct test_str; // (2) should work. But both (1) & (2) work. Why ?
  13. areza123

    Confusion with fstat (int, struct stat *)

    Yes struct stat* st = new struct stat; works perfectly...but can someone explain whats happening ? I declare another structure as: struct test { int test1; }; There is only a tag name - no typename, why does the line: test *ptr_test = new test; compile perfectly without the struct keyword...
  14. areza123

    Unix search techniques....

    How do I grep for more than 1 word in a line ? If I have the following file: a.txt ----- abc ghi def abc xyz abc def ghi I want to isolate only lines containing words abc & def How do I acheive this ?
  15. areza123

    Confusion with fstat (int, struct stat *)

    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 =...

Part and Inventory Search

Back
Top