Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

Logged in as:
.
Logging out…
Inbox My Account Log Out


Programming Tutorial 2

Author

Cinjection

Contact | Add Artist to Favorites

Date Submitted

02/12/2005 | 02:11PM EST

File Information

Game | 64.1 KB

Add Game to Favorites

Current Score

3.12 / 5.00

Score Rank: #48,037
Popularity Rank: #58,091

484 votes | 2,136 views

Click an icon to vote on this!

You are not logged in.

If you log in to vote, you could win $100!

Related Submissions

Submissions by Cinjection:

Everyone Suitable For All Audiences
Programming Tutorial 2
Play this Game!
Pop-Up | Add to Favorites

Author Comments

don't blam if you don't like programming. includes C++ and VB.

10 reviews | Log in to write a review | Share this!

The people have spoken

Average Score: 4.4 / 10

Score: 8
NinoGrounds

"OMGlolWIN | OWNAGE=80%"

date: January 16, 2006

dim age as integer
Private Sub cmdcalc_Click()

age = txtage.text
if (age > 100) then
txtans.text = "wow, your age is over 100"
else if(age < 100) then
txtans.text ="Your age under 100"
end if

End Sub

Private Sub Form_Load()
Form1.Show

For i = 1 To 10
Print i
Next i

End Sub

# include <iostream.h>
# include <stdlib.h>

int main()
{
int playercardv1 = 0;
int totalplayerv = 0;
int compcardv1 = rand() %11;
int compcardv2 = rand() %10;
int hit = 1;
int compv = compcardv1 + compcardv2;

while (hit == 1)
{
cout<<"welcome to BlackJack"<<endl;
playercardv1 = rand() %10;
cout<<"Player gets "<<playercardv1<<endl;
totalplayerv += playercardv1;
cout<<"You have: "<< totalplayerv<<endl<<"Do you want to hit?(1 for yes, 2 for no)"<<endl;
cin>>hit;
cin.get();

if (hit == 2)
{
cout<<"Players total:"<<totalplayerv<<endl;
cout<<"Computer gets:"<<compv<<endl;
if(totalplayerv > 21)
{
cout<<"You lose"<<endl;
cin.get();
return 0;
}
///higher card check

if (compv > totalplayerv)
{
cout<<"You lose!"<<endl;
cin.get();
return 0;
}
else
{
cout<<"You win!"<<endl;
cin.get();
return 0;
}

}
//player says 1
if(totalplayerv > 21)
{
cout<<"You lose"<<endl;
cin.get();
return 0;
}

}
}
//end of code

<?
echo 'Pretty good Tutorial. Good explained, but still blad and pothetic';
define(pothetic, "Means not very good");
echo '<br>';
echo 'I voted Five';
echo '&nbps;';
?>

~Nino

Rate this review:
Helpful!
Useless.
Flag as abusive.
No users have weighed in on this review.

Score: 3
SkillBlade

"......"

date: May 23, 2005

Thank god you took out the music a little improvements made but still needs more explanationand definitions like what variables are...etc good try though

Rate this review:
Helpful!
Useless.
Flag as abusive.
No users have weighed in on this review.

Score: 5
magpieOfDoom

"Good"

date: February 19, 2005

Love Daddy -- you really are not that great at programming. I have seen many of your scripts in the programming forum, and they are the work of a beginner. I'm really glad that you are enthusiastic about programming, but you really should LEARN before labeling yourself as a guru and posting badly spelt tutorials that teach very little. As for aesthetics -- at the risk of a vague assumption, shouldn't programmers know that black on white is easiest on the eyes (think: Linux)?

Author's Response:

well i am new to C++ but i've been doing VB for a while. I never called myself a "guru programmer". But i know enough to teach beginers the basics. This tutorial is to mabey spark a intrest in programming not to confuse everyone if i start to post API codes and what not.

Rate this review:
Helpful!
Useless.
Flag as abusive.
People aren't in agreement over whether this is helpful or not.

Score: 5
Min-T-Fresh

"some improvement"

date: February 13, 2005

The look and content of the flash is slightly better than the last one but still has considerable room for improvement. Don't forget that aesthetics are as important as the content.

Rate this review:
Helpful!
Useless.
Flag as abusive.
People think this is a useless review.

Score: 2
Enallyniv

"Better than last time, but still not worthy..."

date: February 12, 2005

Once again, a viable attempt, but still not a pretty application. The file size was perfect for us 56kers, though!

I appreciate the removal of the music, that's a definite plus. Perhaps next time, a click or a bleep when we press the buttons?

The text was easier to read due to the lack of annoying gradient backgrounds, but the text was lazily slapped across the pages. Try framing and justifying the text. The buttons were somewhat ugly, I would have settled for rounded rectangles.

The suggestions and links were really good, I commend you on that - not many flashes these days encourage you to be creative or to look further into their causes.

In general, it was a better flash, but still nothing special. Keep trying, you're getting there!

Rate this review:
Helpful!
Useless.
Flag as abusive.
People think this is a useless review.