cheers guys, absolutely useless or non information as usual.....
Type: Posts; User: joeyzt
cheers guys, absolutely useless or non information as usual.....
have googled, msn search, yahood for about an hour, nothing...
dont suppose you have an example?
ok thanks, i need to fastest possible way, think this would do what about winhttp?
any idea how i would get the text for a web page, in vb you can use the webbrowser control to navigate to a page then grab the text, not the html , from that page?
does anybody know of any good links or source for this ?
homework, i'll do it for a few quid..
thanks.
it looks like i need to copy both chars into a buffer to join them like this,
char * stuff = "abc";
char * morestuff = "efg";
char str[80];
strcpy (str,stuff);
strcat ...
got it sussed,
char Directory[MAX_PATH] = "";
GetModuleFileName(NULL, Directory, MAX_PATH);
ultra newb question here:-
how do you join 2 chars together like,
any quick way of getting the path to the app, i know there is getmodulefilename but anything else?
groan... this is like pulling teeth..
i thikn its this section here,
char GetAllCombinations(string charact,int num);
int main(){
GetAllCombinations("abcd",3);
any chance of writing it, it must be nearly there ?
i thought it was going to be something like, 'about time.. somebody answered my damn question'..lol
how do i do that ?
Thanks for that reply your suggestions are useful.
I'm not returning anything i'm printing the combination to a file during the loop. This is the part where it gets stuck on , gives an abnormal...
This is an attempt at porting VB code, here's the VB code and my attempt at the C++. It does compile but not doing the job.
Private Sub command1_Click()
BOOLER = False
GETALLCOMBOZ...
That doesn't give all combinations, for ex. for a string "asd" all combos would be
aaa
aas
aad
asa
ada
saa
daa
sss
This function will eventually calculate all the permutaions for a set of letter of n length. I'm stumped on whether to declare something as a string or a char or a char and a char *. Any help would...
For example char strString = "hello,world"
Replace(strString,",",".")
would yield,
hello.world
So
Argg...
I need a function that will replace a string with function in the form.
Replace(strString,".",",");
any ideas ?
Its Replace, does that mean it a custom function ?. Also, this probably a bit newb but my algorithm 'header' is just a file no extension ?
Seems to be in <iostream> but i have that referenced and am still getting a
One last question. Are there any problems with saying,
return strupr(garbagestring);
instead of,
StrUCaseTmp=strupr(garbagestring);
return StrUCaseTmp;
Excellent, thanks for all the help.!
1) <iostream> is part of the standard C++ library http://en.wikipedia.org/wiki/C%2B%2B_standard_library
<windows.h> Part of Microsofts win32 api library ...