Forum: C++ May 29th, 2007 |
| Replies: 7 Views: 1,055 I started with C++, then learned some C. Then some Java. Then some C#, and now I'm 99% C#.
But when I was with each language, my output from that language was completely different. I was writting... |
Forum: C++ May 28th, 2007 |
| Replies: 10 Views: 1,571 umm what are u talking bout? im confused as to what the op wants us to do... not by ur 3rd grade example... |
Forum: C++ May 28th, 2007 |
| Replies: 10 Views: 1,571 i'm absolutely confused... |
Forum: C++ May 27th, 2007 |
| Replies: 7 Views: 1,055 From my personal experience, learn everything you think you can on your own before investing in a college that specializes in software development. I went to Fullsail in the Game Design/Development... |
Forum: C++ May 27th, 2007 |
| Replies: 10 Views: 1,571 all you told us is that you have to do a problem using classes, a list, and polymorphism... and math is optional.
why dont you tell us the problem? or start an idea of your own and then we can... |
Forum: C++ May 22nd, 2007 |
| Replies: 14 Views: 3,489 don't say i didn't warn you if you get a job in the real world and ask them if you can use bloodshed...
btw, you don't want to learn about multithreading yet. it's not going solve your intial... |
Forum: C++ May 22nd, 2007 |
| Replies: 24 Views: 11,020 people sometimes prefer int main as it has a return type. and return types are good practice for detecting good/bad returns from a function.
i read some places that it's only possible to pass... |
Forum: C++ May 20th, 2007 |
| Replies: 14 Views: 3,489 he wants to know how to update objects on a screen... lets not complicate him with things such as multi threading. |
Forum: C++ May 20th, 2007 |
| Replies: 14 Views: 3,489 he's not talking about threading im sure. as he wants to know how to update objects on the screen at the same time, which would be updating a game, not threading, so refer to my previous post Brent.tc |
Forum: C++ May 20th, 2007 |
| Replies: 4 Views: 4,130 it's definitely on line 27...
/MindReadingOff
post your code... |
Forum: C++ May 19th, 2007 |
| Replies: 47 Views: 7,558 in c++, yeah it sucks
in c# it's rewarding, and useful in the real world. |
Forum: C++ May 19th, 2007 |
| Replies: 14 Views: 3,489 I've been sent here by the gods of compilers with this message.
http://msdn.microsoft.com/vstudio/express/downloads/
You will now "fit in" with the rest.
But in all honesty, I really... |
Forum: C++ May 15th, 2007 |
| Replies: 3 Views: 15,729 #include<iostream>
usingnamespace std;
#include<string>
int main()
{
char y;
cout << "Enter a character or number: _\b";
cin >> y; |
Forum: C++ May 15th, 2007 |
| Replies: 13 Views: 5,206 Do you have to allow negative input?
Edit:
BTW: You're getting the bad output because your app is dividing by zero most likely. |
Forum: C++ May 15th, 2007 |
| Replies: 17 Views: 6,313 which measures the circumference of the triangle... |
Forum: C++ May 15th, 2007 |
| Replies: 2 Views: 680 |
Forum: C++ May 15th, 2007 |
| Replies: 6 Views: 1,651 why is accept() not prototyped? |
Forum: C++ May 15th, 2007 |
| Replies: 1 Views: 673 space invaders.
Ship classes (Ship HP, Speed)
Bullet classes (Bullet DMG)
Enemy Ship classes (Ship HP, AI/Pattern) |
Forum: C++ May 14th, 2007 |
| Replies: 17 Views: 6,313 Suprisingly, it's the largest circle that could be drawn inside of a triangle which is the circumference of a triangle. It'd dumb but i've seen it before. |
Forum: C++ May 13th, 2007 |
| Replies: 17 Views: 6,313 what errors are you getting if any?
what output are you getting if any?
what's the freakin problem? |
Forum: C++ May 13th, 2007 |
| Replies: 5 Views: 2,054 to get you started
struct Customer
{int accountNumber;
double balance;
int credits; |
Forum: C++ May 13th, 2007 |
| Replies: 6 Views: 8,046 press :
CTRL + SHIFT + B to build it
CTRL + F5 to run it in release
F5 to run in debug
These are all in the drop downs on the IDE. |
Forum: C++ May 13th, 2007 |
| Replies: 13 Views: 14,361 discard the spaces between the name/rate/dep/type |
Forum: C++ May 10th, 2007 |
| Replies: 9 Views: 1,271 not sure why you're asking this... it wont make a difference whether or not we think you did a good job. |
Forum: C++ May 10th, 2007 |
| Replies: 9 Views: 14,236 string class has no overloaded "==" operator. You can do
string temp;
cin >> temp;
if(temp.empty())
cout << "null"; |
Forum: C++ May 5th, 2007 |
| Replies: 49 Views: 5,147 1. This is creating a pointer to a char, writting "Literal String" at that address in memory
2. This is creating a char in memory, and assigning the value of 's' to it. |
Forum: C++ May 3rd, 2007 |
| Replies: 13 Views: 3,093 post your new code and ill help you out. |
Forum: C++ May 1st, 2007 |
| Replies: 10 Views: 1,405 |
Forum: C++ May 1st, 2007 |
| Replies: 19 Views: 18,618 >How observant of you. I criticize a lot of things, and I'm usually right.
>I simply said that I think you're a bad programmer and stated one of the two most obvious reasons.
omg, /bow in the... |
Forum: C++ May 1st, 2007 |
| Replies: 10 Views: 1,405 Unrelated to your answer, but some knowledge you should know....
There's no such thing as a deconstructor in C++. Only Constructors and Destructor :) |
Forum: C++ Apr 19th, 2007 |
| Replies: 23 Views: 2,119 i converted his code to c++ 2005 express and works for me. |
Forum: C++ Apr 19th, 2007 |
| Replies: 23 Views: 2,119 you tell us lol... does it work? |
Forum: C++ Apr 19th, 2007 |
| Replies: 23 Views: 2,119 i took his code and obviously put the srandom to srand and the random to rand... works fine |
Forum: C++ Apr 19th, 2007 |
| Replies: 4 Views: 1,411 Don't know if it helps, but I just wrote something very very simple in C# 2005 express, you may want to consider switching over to it of you want. If not maybe someone else can help you out in C++.
... |
Forum: C++ Apr 19th, 2007 |
| Replies: 2 Views: 1,004 Your problem is:
do {
int computer = 0;
int player = 0;
int tie = 0;
That code is in the game loop... so every time the user wants to play again, all the scores get set back to '0'.... |
Forum: C++ Apr 18th, 2007 |
| Replies: 3 Views: 792 Regarding your first question... what is it returning if it isn't returning Yes or No? |
Forum: C++ Apr 18th, 2007 |
| Replies: 5 Views: 920 Study however you think you learn the best. That's no place for anyone here to talk about. |
Forum: C++ Apr 18th, 2007 |
| Replies: 5 Views: 920 Like I said, they are not the same logic. Java is like C#, not C++.
If you think you can learn 2 different languages, then go ahead but I'm just letting you know they are different. |
Forum: C++ Apr 18th, 2007 |
| Replies: 1 Views: 893 You only defined the constructer, you now need to derive it in the .cpp file of the class and finish it. |
Forum: C++ Apr 18th, 2007 |
| Replies: 5 Views: 920 java is like c#, not c++. |