I'm sure all of everyone's methods who replied work, but I (out of a bit of a challenge) created my own method. Basically it tests to see if 0-9 are included in the string.
#include...
Type: Posts; User: CodeNinja
I'm sure all of everyone's methods who replied work, but I (out of a bit of a challenge) created my own method. Basically it tests to see if 0-9 are included in the string.
#include...
huh?
if i am not mistaken .net has some built in stuff for this very thing, but I am probably mistaken
Okay, here is what I excerpted from "C++ From The Ground Up" by Herbert Schildt (A programmer on the ANSI C++ committee, so it's not like he is rambling off a bunch of crap that comes from personal...
harsh, but true :(
P.S. I didn't make anything up. I'm not a lame attention (/\)l-l0r3. :p
A good book that I have been reading is called "C++ from the ground up." Written by Herbert Schildt (a member on the ANSI C++ board, which is a group of people who write up all the regulations for...
Oh, sorry, i thought you were trying to crack something, not protect it. :P
Okay, I noticed I created quite a discussion once I had created this thread, but its cause is coming to an end. Last Friday night after being high that whole week (every day Monday - Friday) on...
Okay, I think the reason you are getting the error is because the variable i in the for loop only has scope in the for loop. This is because local variables only have scope inside their functions,...
I haven't even read a sentence on anything you guys are talking about, but I have general computer knowledge and can pick up from context clues. Couldn't you use a memory scanner and scan for the...
Yes, Quzah is correct. Basically just run back through your code and make sure you are not accessing an element in an array that is beyond the bounds of the array's declarated length.
yea, I found it, thanks.
now I just have to figure out why my code just continuosly loops between "choose your alignment" and "are you sure?". Like you choose your alignment, and then say you are...
Thanks for the info, and is C# the way to go?
I came from VB, and I agree it is a powerful language, but everyone said C because it is low level. So I am learning C and VB is easier in some...
I went to linux, but went back to windows cuz linux sucked. Takes forever to get installed, and usually bugs up. Out of 4 or 5 tries over a period of time I have never gotten an install of linux to...
okay here it is, narrowed it down to one lame error...
all the << operator errors were when i used << with cin.
now... here it is, in the previous code...
int good()
{
how do i do that? (when you say count you mean make the compiler list the line numbers, and if so how do i do that in Visual C++)
lol Thantos...
more problems, fixed old problems, but got new ones (also added error detection and what-not for menus, possibly slow down processing, and could be more efficient, but it's a...
Thankyou ALL!!! perfect help! <3 u Thantos.
Here's the code:
#include <iostream.h>
#include <string.h>
int newgame();
int loadgame();
struct player_stats
{
um, you might like the dowhile statement if you came from VB (like me) because dowhile comes with VB too.
the syntax of dowhile is:
do{
'code'...
}
1) Read the section on file Input/Output at http://www.cprogramming.com (tutorials section)
2) Use strcmp() for example compare strcmp(1st String, 2nd String) and it will return a non 0 number if...
actually, i just got this book last night "C++ From the Ground Up" written by a guy on the ANSI C++ board. I read about the history of C and C++, and really C++ is just a superset of C and any C++...
I thought C++ included C, but just a different method of using it, and that the only real difference was the new OOP capability. Am I wrong? Please someone clearify the difference between C and C++.
Contradiction? :p
I dunno, maybe we just see it different ways, and I respect your opinion of the language, but I would rather stay with a well founded language that is very flexible. (like c++)
Isn't it interesting how the human body jumps from one adiction to another.
When I quit wanking I started coding/doing drugs to get my mind off of it.
Also, when I made myself quit playing...