As far as I know, you're going to need to loop through the arrays and set each element of arrayTwo to its corresponding element in arrayOne. A for loop would do best, I think.
Type: Posts; User: Abda92
As far as I know, you're going to need to loop through the arrays and set each element of arrayTwo to its corresponding element in arrayOne. A for loop would do best, I think.
Just to make things clear, you want some API that will allow you to sign into Windows Live Messenger just by opening the application, so the application will input your email, password, and click...
Better to just compare chr with '\0'. Makes it clearer, and more portable.
Interesting.. You always amaze me! I never thought of anything like that.
Yes I know that. But I'm currently learning the language from "The C++ Programming Language", and I haven't reached loops yet (although I know already how to use them). In addition to that, the...
Thanks laserlight. Got it :)
Hi everyone,
Sorry for the noobish question, but I just started learning C++ (I learned C before) and got stuck on a really simple exercise:
Write a program that prints out the letters ´a ´..´z ´...
Think about it. How do you find the Nth power mathematically? Once you know that, you just need to write some code to implement it.
If you give it a try and it doesn't work, post your code here...
I can't see any problems with your statement. Perhaps you should post some more code?
Sorry, just a question about the following code:
how does this work? is "append" a variable/macro constant that you set depending on the task(1 to append and 0 to overwrite)?
you can use a very large array and hope it's large enough to hold both strings. Other than that I can't think of a way to do with without sizeof and malloc. Why don't you want to use them?
EDIT:...
you can't use your char* variable as a counter too. you must declare another integer variable for that job.
and check the for loop syntax, it's completely messed. check it out here:...
Header files don't contain any algorithms themselves, they would only contain declarations, typedefs, global variables, etc.
So where do you put the algorithms themselves? you keep them in another...
sorry, I just based it on his logic.
it should be <= 4
so.... what's the problem? I realized that you're trying to input a string as a char though
scanf ("%c", today[]);
Even if you wanted to correct that to read a string, you'd need to take the...
Hi,
This is my first time to install a library, so excuse me if I make any silly mistakes...
I need a library for the ESMTP protocol, so I ran over libESMTP during my searches. Everything looked...
After using a switch to ask the user what type conversion he wants, you can just input the number using scanf() as hexadecimal, octal, or decimal. Then you can output the number using printf() in the...
Fixed it up. Thanks Elysia :)
Worked with #undef UNICODE
Thanks :D
Worked with #undef UNICODE :D
EDIT: sorry for the double post...
Yes I think that is the problem. When I put the mouse on the function in MSVC++ 2008, I get the following popup under the mouse:
#define GetWindowText GetWindowTextW
so do I just need to...
yes. I'm compiling using MSVC++ 2008 on Vista. I installed it off the DVD and made sure it installed all the required 64-bit features. But I'm not sure I'm compiling FOR 64-bit, because my profile is...
Hi,
I've been using the function GetWindowText() for a while now on Windows XP. When I upgraded to Vista Ultimate 64-bit, I started getting different output from the function. Instead of saving all...
Thanks vart. It worked :D
Well, that's the problem...
I don't even know what that is. All I know is that it fixes errors like these:
keymail.obj : error LNK2019: unresolved external symbol _closesocket@4 referenced in...