Totally separate program. Should've said that. Sorry.
Funnily enough, I don't even know the goal of it.
Just wanna know what it outputs. But it's not running.
And there's not even any errors in compiling.
i dunno, it looks fine to me, but i don't know C, nor do i have a C compiler.. hehe
How can you know Java, but not C?
Actually Java was a little easier for me
I learned Java on the job.
Here's how my programming learning has gone so far:
Logo (hehe) -> GW-BASIC -> QuickBasic -> HTML -> VBScript -> JavaScript -> AppleScript -> ColdFusion -> Java. And I'm currently learning Ruby.
Of those, I learned AppleScript, ColdFusion and Java on the job.
I really would love to learn C and C++, but I don't really have an application for it.
BASIC's my favourite. (no sarcasm) Ahh the simple times.
Interesting. For me it went:
Logo (Yes, me too) -> BASIC -> C -> C++ -> Java -> Perl (kinda) -> C# (kinda) -> PL/SQL
C and C++ are actually really good to learn so that you can play around with low level stuff like memory management. Sometimes when you only use Java you can forget about all the stuff going on behind the scenes.
Oo Oo i want to play
Hmm well, I didn't learn in a specific order
For me:
HTML - 1996/97, Visual BASIC - 1997, BASIC - 1997 (Gw & Q. What's the difference anyway?) yeh I learned kinda backwards, C++ - 1998, Visual BASIC - 1999, C - 2000, JavaScript - Early 2000s forget exactly, PERL early 2000s, some CSS somewhere around here, SQL 2003, Java 2006, and now I'm back to relearning C++ as well as CSS and XML.
I know I seem intelligent enough, but I used to be better at this stuff. I'll probably wind up doing something in Real Estate or teaching English.
I'm using the Bloodshed Dev-C++ http://www.bloodshed.net/
why don't you try changing this:
for (count = 0; count < 5; count++)
cout << alpha[count] << " ";
to:
for (count = 0; count < 5; count++) {
cout << alpha[count] << " ";
}
I know in java you can do the first, but I'm not sure if it works the same in C, anyway, give it a shot. (My C is really really rusty)