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 "readdir" if you are having dirent.h.
Once you have...
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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...
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...
Hi All
Is there a portable function in ANSI c library to copy a
file to another location. Of course system("copy ...") is there but I need a better solution if possible.
Thanks
Anand :) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mail me at abpillai@excite.com if you want additional...
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...
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...
Hi All!
I am converting a "C" 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 "C"...
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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...
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...
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 "bool __cdecl AddListViewItem(struct HWND__ *,char *,struct
HICON__ *,struct HICON__ *,long)"...
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...
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...
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.