this is the exact error message i get
'grep' is not recognized as an internal or external command, operable program or batch file.
Type: Posts; User: MrJake
this is the exact error message i get
'grep' is not recognized as an internal or external command, operable program or batch file.
Im trying to use unix commands via cygwin on a nt server. that part i solved and it works great. if i go in dos prompt and type grep or cut or cat it works. But i cant call those commands via perl on...
vVv i knew you would show up one day :) What I need is a site that has a list of all standard c++ headers and what they do. like all commands in each with a short explantion on there purpose in life....
im sorry man. im at work and very bored hehe. I ve been looking for an explaination on the standard c++ headers and cant find a good site that explains all of them and how they work. and that would...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang98/HTML/LIB_CPP.asp
somethign liek this but not signed Micro$oft
ok. this is good. hehe but i heard there is like 50+ standard headers. Thats for 2 main ones string and stdio. Would there be a site with maybe the 50 other?
If it exist
your amazing man
thanks
Im looking for a site that has the definition of all commands in the standard c++ headers.
example
stdio.h
printf:
This command is to print bla bla bla....
so on
ok i figured it out
Wow it works hehe. cool
Beaucoup thank you
I dont get it. how do i add the library wsock32.lib. I know how to include headers but how do u include a .lib ?
cause for compiling i get no error. its when i build i get:
...
how do u add a library in visual c++ 6.0
lol indeed i read your post but i figured you were using visual c++.
your most probably a unix dude :)
But i can compile it with what ever. I have borland 5.5, devc++, visual 6.0, DJGPP, etc.....
why is visual c++ 6.0 giving me those errors while its linking?
look 2 posts up ^
any idea?
hehe i did change it. now im getting errors when linking.
here is my code at this state. the error msg of the compiler (visual c++ 6) is under the code
#include <stdio.h>
#include...
oups
--------------------Configuration: popdel32 - Win32 Debug--------------------
Compiling...
popdel32.cpp
c:\cpp\popdel32.cpp(40) : error C2065: 'snprintf' : undeclared identifier...
why are you so good man? how long have you been at this hehe
does this look right to you?
#include <stdio.h>
#include <string.h>
#include <winsock.h>
int main( int argc, char *argv[] )
to make this a port for dos. do i do this
from:
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
to:
#include...
man this works perfectly. thanks man. I wouldnt have done it without you.
sorry man my bad. well it seem to be deleting something in background. but I think i found out why it doesnt acctualy work.
the problem is how the program exits. it doesnt send the QUIT string to...
nice. it compiled without error. only problem is it doesnt work. it connects then after a momments it says done. and exits
Problem is that mail server is quit gay. when u login it will say
+OK...
g++ -o popdel popdel.cpp
/usr/include/netdb.h: In function `int main(int, char**)':
/usr/include/netdb.h:137: too few arguments to function `hostent* gethostbyaddr(const void*, unsigned int, int)'...
well i know how to do it in bash. but the thing is if i would make such a script, only I would have access to it. I want to make it so that all my collegues can use it also.
Im making a little app to use at work when i have multipile emails to delete. since the email server I log on to to delete the emails doesnt have a delete all command i have to do it manualy
dele...