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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: abp
  • Order by date
  1. abp

    Getting list of files into array

    This is a round about way to achieve what you want. Check out the header files <dirent.h> or <unistd.h> in your AIX system. Either of them would have defined functions to open and traverse directories. I think the function name is &quot;readdir&quot; if you are having dirent.h. Once you have...
  2. abp

    What is the best Python tutorial ?

    The best python tutorial is the original one by Guido himself. If you are not happy with that try this http://www.diveintopython.org Anand ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Visit my homepage for python scripts URL: http://www.angelfire.com/linux/anand ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. abp

    how to obtain pid

    Hi Not very similar but a related query. How do I copy a file from one location to another using pure ANSI C calls ? Is there a portable, atomic function in ansi c libraries to do this ? Thanks Anand Pillai ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mail me at abpillai@excite.com if you want...
  4. abp

    Copying Files

    Hi jamisar Thanks for your reply. But what I was looking for was a single function call to do this. Regards Anand ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mail me at abpillai@excite.com if you want additional help. I dont promise that I can solve your problem, but I will try my best...
  5. abp

    Copying Files

    Hi All Is there a portable function in ANSI c library to copy a file to another location. Of course system(&quot;copy ...&quot;) is there but I need a better solution if possible. Thanks Anand :) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mail me at abpillai@excite.com if you want additional...
  6. abp

    Reading lotus notes mail in another client

    Hi! My company runs a lotus notes mail server/domino web server. I use a lots notes client to read my mails. I tried to hook up the mail server to emacs 'Rmail' package. I am able to get the messages by using my pop login/pass but emacs cannpt read the contents of them. This is the error I...
  7. abp

    Multithread debugging

    How do i debug a multithreaded program using MS VC++ 6.0 ? Does it support multithreaded debugging ? I am not able to debug a new thread in a program. The debugger seems to be following the main thread. Thanks Anand ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mail me at abpillai@excite.com if you...
  8. abp

    extern &quot;C&quot; data import

    Hi All! I am converting a &quot;C&quot; file to a C++ file for a project. The file uses external functions definitions from a shared library(dll) which is built with C linkage. So when I converted this file to C++ I set the function declarations of these functions as extern &quot;C&quot...
  9. abp

    &quot;Trident&quot; bug ???

    Hi Folks! I tried it in IE5.5. Loooks like the egg is broken. Anand ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mail me at abpillai@excite.com if you want additional help. I dont promise that I can solve your problem, but I will try my best. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  10. abp

    Which library am I missing ?

    Hi I found out later that this was indeed from a file that i forgot to include in the project. Thanks Anand Pillai ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mail me at abpillai@excite.com if you want additional help. I dont promise that I can solve your problem, but I will try my best...
  11. abp

    Which library am I missing ?

    Hi tdatgod Thanks for your reply. But I am sure that it is the library I am missing to link with here. I cannot find the definition of these functions in my code. Thanks Anand Pillai ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mail me at abpillai@excite.com if you want additional help. I dont...
  12. abp

    Which library am I missing ?

    Hi there!! I am trying to link an application using MS VC++ 6.0 . When I do so i get the following errors. <p> <font color=red>DXViewer.obj : error LNK2001: unresolved external symbol &quot;bool __cdecl AddListViewItem(struct HWND__ *,char *,struct HICON__ *,struct HICON__ *,long)&quot...
  13. abp

    ? create a project that has two source code files and a header file

    I guess i screwed it up! :-> What i meant was You need to get definitions of functions defined in source1.cpp in source2.cpp then, Inside source2.cpp, extern ret_type1 function1_defined_in_source1(...); extern ret_type2 function2_defined_in_source1(...); where ret_type1 and ret_type2 are...
  14. abp

    ? create a project that has two source code files and a header file

    If you need to use a function defined in source2.cpp in source1.cpp Assuming you want a global namespace declaration In source2.cpp, using namespace std; extern _cplusplus { function1_defined_in_source1(...); function2_defined_in_source1(...); } This will obviate any need to include...
  15. abp

    Singleton question

    Hi Zyrenthian Thanks for the replies. Anand ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mail me at abpillai@excite.com if you want additional help. I dont promise that I can solve your problem, but I will try my best. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  16. abp

    Strange warning massage

    Which version of MS VC compiler are you using... Anand ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mail me at abpillai@excite.com if you want additional help. I dont promise that I can solve your problem, but I will try my best. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  17. abp

    How to write a program that modifies itself?

    Try this link . Might help! http://www.programmersheaven.com/zone3/cat156/6326.htm Anand ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mail me at abpillai@excite.com if you want additional help. I dont promise that I can solve your problem, but I will try my best...
  18. abp

    function parameters

    You might declare the function in the header file like this. rettype myfunc(char c, int i, float f=3.5, char ch='p'); where ret_type is your functions return type -void, int, float or whatever. In your function definition, rettype myclass::myfunc(char c, int i,float f, char ch) { //---...
  19. abp

    Singleton question

    THanks for replying. I guess that you mean something like below ? Singleton::Instance() { if (pinstance==NULL) pinstance = new Singleton(); return pinstance; } Singleton::Singleton() { // whatever you want to do with the members } Singleton::~Singleton() { if...
  20. abp

    Singleton question

    Hi Is it legal to declare a destructor for a class that follows the 'Singleton' pattern ? I mean is there anything inherent in the pattern that prevents or rather discourages the programmer to prevent declaring a destructor for the singleton class... Thanks Anand pillai...

Part and Inventory Search

Back
Top