| Topic: |
DEVELOP > c-Plus-Plus |
| User: |
"yltkhuu" |
| Date: |
28 Jan 2008 03:24:59 PM |
| Object: |
Game Programming for Beginners in C++ |
1. How does having a widely adopted C++ standard help game
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
.
|
|
| User: "Mike Wahler" |
|
| Title: Re: Game Programming for Beginners in C++ |
28 Jan 2008 05:57:56 PM |
|
|
"yltkhuu" <yltkhuu@gmail.com> wrote in message
news:a31d2dc5-b70f-432a-8b35-938e4171284c@c23g2000hsa.googlegroups.com...
1. How does having a widely adopted C++ standard help game
programmers?
It helps orphans to create wide-screen games with C++.
2. What are the advantages ans disadvantages of employing the "using"
directive?
Advantage: The "using" directive would be earning a paycheck.
Disadvantage: Someone has to provide funds for the paycheck.
3. Why might you define a new name for an existing type?
If the type stops coming when you call it by its old name.
4. Why are there two versions of the increment operator? What's the
difference between them?
Two is better than one. The difference between them is one.
5. How can you use constants to improve your code?
If your code is constant, then nobody else can
change it while you're not looking.
-Mike
.
|
|
|
|
| User: "" |
|
| Title: Re: Game Programming for Beginners in C++ |
29 Jan 2008 06:55:36 AM |
|
|
Hahahahaha you've all made my day :)
.
|
|
|
| User: "Diego Martins" |
|
| Title: Re: Game Programming for Beginners in C++ |
29 Jan 2008 10:03:15 AM |
|
|
This is just one more evidence the newest games suck much more than
ever :(
We will never see again the energy, skill and creativity used in the
Activision games made for Atari 2600 like Pitfall or Keystone Kapers
or Pressure Cooker or Frostbite...
.
|
|
|
|
|
| User: "" |
|
| Title: Re: Game Programming for Beginners in C++ |
28 Jan 2008 04:44:45 PM |
|
|
On Jan 28, 10:24 pm, yltkhuu <yltk...@gmail.com> wrote:
1. How does having a widely adopted C++ standard help game
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
You should have provided the marks associated with each question.
.
|
|
|
|
| User: "Christopher" |
|
| Title: Re: Game Programming for Beginners in C++ |
28 Jan 2008 04:03:46 PM |
|
|
On Jan 28, 3:24 pm, yltkhuu <yltk...@gmail.com> wrote:
1. How does having a widely adopted C++ standard help game
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
Please quit school and never take a job programming. I don't want to
rely on anymore peers that can't do their own work, can't read for
themselves, and don't know how to code beyond ctrl-c and ctrl-v, than
I have to already.
.
|
|
|
| User: "mike3" |
|
| Title: Re: Game Programming for Beginners in C++ |
28 Jan 2008 07:33:14 PM |
|
|
On Jan 28, 3:03=A0pm, Christopher <cp...@austin.rr.com> wrote:
On Jan 28, 3:24 pm, yltkhuu <yltk...@gmail.com> wrote:
1. How does having a widely adopted C++ standard help game
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
Please quit school and never take a job programming.
What would be so bad about him NOT quitting, but then changing and
deciding to do his own work? Furthermore, how do you know this is some
sort of homework?
.
|
|
|
| User: "Christopher Pisz" |
|
| Title: Re: Game Programming for Beginners in C++ |
28 Jan 2008 08:46:55 PM |
|
|
"mike3" <mike4ty4@yahoo.com> wrote in message
news:95cb7873-2699-4b5b-8c4a-4e9191c16037@k2g2000hse.googlegroups.com...
On Jan 28, 3:03 pm, Christopher <cp...@austin.rr.com> wrote:
On Jan 28, 3:24 pm, yltkhuu <yltk...@gmail.com> wrote:
1. How does having a widely adopted C++ standard help game
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
Please quit school and never take a job programming.
What would be so bad about him NOT quitting, but then changing and
deciding to do his own work? Furthermore, how do you know this is some
sort of homework?
Lol! I think it is pretty obvious. 5 totally unrelated questions easily
covering the contents of a intro course curriculum. I've done enough
homework myself to decern what cut and pasted homework looks like. I've also
tutored enough students to know popular ways to get thier homework done.
I've also had the un-pleasure of working with such people after they've cut
and pasted thier way to a degree. The latter is something I would rather not
ever be responsible for promoting.
Homework aside, the format here show an obvious unwillingness to research
the answers at all before posting. It also was not posted in relation to any
attempt to code, rationalize possible answers, or offer any kind of thought
whatsoever. Such questions do not warrant answers.
Furthermore, how do we know you aren't the OP trying to convice us it isn't
homework ;) Not that it would matter. Like I said, the format warrants no
answers.
.
|
|
|
|
|
|
| User: "Jensen Somers" |
|
| Title: Re: Game Programming for Beginners in C++ |
28 Jan 2008 03:29:15 PM |
|
|
yltkhuu wrote:
1. How does having a widely adopted C++ standard help game
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
A: Do your own homework!
.
|
|
|
| User: "yltkhuu" |
|
| Title: Re: Game Programming for Beginners in C++ |
29 Jan 2008 10:16:32 AM |
|
|
This is not my homework. My homework involves programming. These
were the discussion questions in my book, which are not part of my
homework. If they were, I would not post them here. This is a
discussion group on programming in C++ for BEGINNERS. This discussion
was meant for BEGINNER (hence the title). If I knew this would have
so much assumption and backlash attached to it, I would have never
posted it. I was seeking to discuss these things with BEGINNERS. I'm
sorry for posting in the first place.
On Jan 28, 1:29 pm, Jensen Somers <jensen.som...@gmail.com> wrote:
yltkhuu wrote:
1. How does having a widely adopted C++ standard helpgame
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
A: Do your own homework!
.
|
|
|
| User: "=?UTF-8?B?RXJpayBXaWtzdHLDtm0=?=" |
|
| Title: Re: Game Programming for Beginners in C++ |
29 Jan 2008 11:30:41 AM |
|
|
On 2008-01-29 17:16, yltkhuu wrote:
This is not my homework. My homework involves programming. These
were the discussion questions in my book, which are not part of my
homework. If they were, I would not post them here. This is a
discussion group on programming in C++ for BEGINNERS.
Actually, for beginners I would recommend alt.comp.lang.learn.c-c++.
Also see the FAQ, it was many good entries for beginners and more
experienced people alike: http://www.parashift.com/c++-faq-lite/
--
Erik Wikström
.
|
|
|
|
| User: "Salt_Peter" |
|
| Title: Re: Game Programming for Beginners in C++ |
29 Jan 2008 10:47:16 AM |
|
|
[rearranged inline]
On Jan 28, 1:29 pm, Jensen Somers <jensen.som...@gmail.com> wrote:
yltkhuu wrote:
1. How does having a widely adopted C++ standard helpgame
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
A: Do your own homework!
This is not my homework. My homework involves programming. These
were the discussion questions in my book, which are not part of my
homework. If they were, I would not post them here. This is a
discussion group on programming in C++ for BEGINNERS. This discussion
was meant for BEGINNER (hence the title). If I knew this would have
so much assumption and backlash attached to it, I would have never
posted it. I was seeking to discuss these things with BEGINNERS. I'm
sorry for posting in the first place.
Discusion is a two-way street. Asking a question isn't a discussion.
Its not a statement either. If you want a discussion, at least attempt
to expose your thoughts. If thats too difficult for you, then it is
homework.
This newsgroup is not for BEGINNERS.
Read the FAQ:
http://www.parashift.com/c++-faq-lite/classes-and-objects.html
.
|
|
|
|
| User: "Default User" |
|
| Title: Re: Game Programming for Beginners in C++ - TPA |
29 Jan 2008 12:58:32 PM |
|
|
yltkhuu wrote:
This is not my homework.
Please don't top-post. Your replies belong following or interspersed
with properly trimmed quotes. See the majority of other posts in the
newsgroup, or the group FAQ list:
<http://www.parashift.com/c++-faq-lite/how-to-post.html>
.
|
|
|
|
| User: "Lars Uffmann" |
|
| Title: Re: Game Programming for Beginners in C++ |
29 Jan 2008 10:37:29 AM |
|
|
yltkhuu wrote:
This is not my homework. My homework involves programming. These
were the discussion questions in my book, which are not part of my
homework.
If you'd use a real name now, and give some better excuses, I might even
be willing to believe you. The least you could've done was to give your
own answers to the questions and ask about other opinions.
....
Lars
.
|
|
|
| User: "yltkhuu" |
|
| Title: Re: Game Programming for Beginners in C++ |
29 Jan 2008 10:50:20 AM |
|
|
This was my actual homework, which wasn't difficult. I find the
discussion questions more difficult.
#include <iostream>
#include <cstdlib>
int main()
{
using namespace std;
int scoreOne, scoreTwo, scoreThree;
int total;
int average;
// getting the information
cout << "If you give me your three scores, I'll tell you how good
you are";
cout << " ...on average.\n\n";
cout << "What's your first score? Type it here: ";
cin >> scoreOne;
cout << "Your first score:" << scoreOne << endl;
cout << "What's your second score? Type that here, too: ";
cin >> scoreTwo;
cout << "Your second score:" << scoreTwo << endl;
cout << "Last, but not least, your third score: ";
cin >> scoreThree;
cout << "Your third score:" << scoreThree << endl;
// displaying results
total = scoreOne + scoreTwo + scoreThree;
cout << "Your score total is " << total << endl;
average = total / 3;
cout << "Your score average is " << average << endl;
system("PAUSE");
return 0;
}
On Jan 29, 8:37 am, Lars Uffmann <a...@nurfuerspam.de> wrote:
yltkhuu wrote:
This is not my homework. My homework involves programming. These
were the discussion questions in my book, which are not part of my
homework.
If you'd use a real name now, and give some better excuses, I might even
be willing to believe you. The least you could've done was to give your
own answers to the questions and ask about other opinions.
...
Lars
.
|
|
|
| User: "yltkhuu" |
|
| Title: Re: Game Programming for Beginners in C++ |
29 Jan 2008 10:54:22 AM |
|
|
I can understand, now, why everyone thought that I was posting my
homework and I am sorry if it was inappropriate. I don't think the
level of rudeness to my post was necessary.
On Jan 29, 8:50 am, yltkhuu <yltk...@gmail.com> wrote:
This was my actual homework, which wasn't difficult. I find the
discussion questions more difficult.
#include <iostream>
#include <cstdlib>
int main()
{
using namespace std;
int scoreOne, scoreTwo, scoreThree;
int total;
int average;
// getting the information
cout << "If you give me your three scores, I'll tell you how good
you are";
cout << " ...on average.\n\n";
cout << "What's your first score? Type it here: ";
cin >> scoreOne;
cout << "Your first score:" << scoreOne << endl;
cout << "What's your second score? Type that here, too: ";
cin >> scoreTwo;
cout << "Your second score:" << scoreTwo << endl;
cout << "Last, but not least, your third score: ";
cin >> scoreThree;
cout << "Your third score:" << scoreThree << endl;
// displaying results
total = scoreOne + scoreTwo + scoreThree;
cout << "Your score total is " << total << endl;
average = total / 3;
cout << "Your score average is " << average << endl;
system("PAUSE");
return 0;
}
On Jan 29, 8:37 am, Lars Uffmann <a...@nurfuerspam.de> wrote:
yltkhuu wrote:
This is not my homework. My homework involves programming. These
were the discussion questions in my book, which are not part of my
homework.
If you'd use a real name now, and give some better excuses, I might even
be willing to believe you. The least you could've done was to give your
own answers to the questions and ask about other opinions.
...
Lars
.
|
|
|
|
|
|
|
|
| User: "red floyd" |
|
| Title: Re: Game Programming for Beginners in C++ |
28 Jan 2008 04:20:13 PM |
|
|
yltkhuu wrote:
1. How does having a widely adopted C++ standard help game
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
The answers can be found here:
http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.2
.
|
|
|
|
| User: "Rui Maciel" |
|
| Title: Re: Game Programming for Beginners in C++ |
28 Jan 2008 03:42:57 PM |
|
|
yltkhuu wrote:
1. How does having a widely adopted C++ standard help game
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
This reads an awful lot like homework. Is it?
Rui Maciel
.
|
|
|
|
| User: "Default User" |
|
| Title: Re: Game Programming for Beginners in C++ |
28 Jan 2008 03:56:11 PM |
|
|
yltkhuu wrote:
1. How does having a widely adopted C++ standard help game
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
What are the advantages of students doing their own homework?
Brian
.
|
|
|
| User: "mike3" |
|
| Title: Re: Game Programming for Beginners in C++ |
28 Jan 2008 07:32:34 PM |
|
|
On Jan 28, 2:56=A0pm, "Default User" <defaultuse...@yahoo.com> wrote:
yltkhuu wrote:
1. How does having a widely adopted C++ standard help game
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
What are the advantages of students doing their own homework?
How do you know this is a homework?
.
|
|
|
| User: "Salt_Peter" |
|
| Title: Re: Game Programming for Beginners in C++ |
28 Jan 2008 11:43:09 PM |
|
|
On Jan 28, 8:32 pm, mike3 <mike4...@yahoo.com> wrote:
On Jan 28, 2:56 pm, "Default User" <defaultuse...@yahoo.com> wrote:
yltkhuu wrote:
1. How does having a widely adopted C++ standard help game
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
What are the advantages of students doing their own homework?
How do you know this is a homework?
Because there are no answers attempted or any attempts to think.
The worst possible act would be to supply solutions.
Obviously, he/she won't bother reading them.
.
|
|
|
| User: "" |
|
| Title: Re: Game Programming for Beginners in C++ |
29 Jan 2008 05:50:36 AM |
|
|
hihi, so busted xD.
.
|
|
|
|
|
| User: "red floyd" |
|
| Title: Re: Game Programming for Beginners in C++ |
28 Jan 2008 08:07:22 PM |
|
|
mike3 wrote:
On Jan 28, 2:56 pm, "Default User" <defaultuse...@yahoo.com> wrote:
yltkhuu wrote:
1. How does having a widely adopted C++ standard help game
programmers?
2. What are the advantages ans disadvantages of employing the "using"
directive?
3. Why might you define a new name for an existing type?
4. Why are there two versions of the increment operator? What's the
difference between them?
5. How can you use constants to improve your code?
What are the advantages of students doing their own homework?
How do you know this is a homework?
1. The questions don't have anything to do with the subject line
(except for #1).
2. The remaining items, especially 3 and 5 are things that any C++
programmer should know.
.
|
|
|
|
|
|

|
Related Articles |
|
|