the guy that sold you the wow acct forgot to empty the email before he handed it over to you?
Type: Posts; User: vampirekid.13
the guy that sold you the wow acct forgot to empty the email before he handed it over to you?
hmm, cool, ill have to use it more often, thats a cool function :)
WCHARS need an L before the name to identify them as WCHARS
im no expert, shoot i only played w/ c++ for a few weeks, just doing my best to help.
i still dont fully understand how cin.ignore works.
what if someone inputs 10 chars with spaces between...
wait, tell me what that does.
yep, i was 100% correct, if you press enter or space or anything after each character it stays in the input buffer, and gets ignored by cin <<, anyway, try this, should work.
#include...
im not sure how much this will help at all but...
do a cin.get(); after every cin << , this hasnt been much of an issue w/ me but i did notice a few times that the end of line or enter key left...
the addon itself is done in XML and LUA, the uploader can be made in any language just about.
the site itself can be done in javascript.
i suppose you could do the upload process automatically...
using pointers is probably your best bet.
http://www.codersource.net/c++_pointers.html
theres a nice quicklink to a pointer tutorial if you need it.
u guys are a lot more advanced than me however, i just made a quick program because it was a project for my c++ tutorial, i appreciate the great advice and as i get further and learn more ill make it...
yea, thats what i ended up doing. and it worked, im runing it now trying to find all the prime numbers less than 4billion haha :D
i kinda regret not saving them to a file or anything, but im...
yea, i realized that shortly after making myself look stupid on a public c++ board. heh.
also now i need to find a way to include 1 in all of it, but im lazy and i think im just going ot...
that was kinda it. i changed it so if index is 1 its a prime number, and it comes out with
2
3
5
7
so i need to figure out a way to exclude 2 and im good.
hmm, thats cuz i messed w/ it a lot before finally posting here.
i still have the problem tho, i tried lowering my range to 100 and i get 3-10 as prime numbers, when clearly numbers like 4, and...
i would suggest using visual c++ from microsoft if you are running windows, its a very nice compiler/ide combo.
also, microsoft also has a nice c++ tutorial, here are some links:
the...
ok, i just started working with c++, and im doing a basic project trying to find all the prime numbers under 100.
here is what i have right now:
/*variables needed num1, num2, index.
if...