Search Results

Showing results 1 to 40 of 50
Search took 0.01 seconds.
Search: Posts Made By: mariocatch ; Forum: C++ and child forums
Forum: C++ May 29th, 2007
Replies: 7
Views: 1,055
Posted By mariocatch
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
Posted By mariocatch
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
Posted By mariocatch
i'm absolutely confused...
Forum: C++ May 27th, 2007
Replies: 7
Views: 1,055
Posted By mariocatch
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
Posted By mariocatch
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
Posted By mariocatch
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
Posted By mariocatch
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
Posted By mariocatch
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
Posted By mariocatch
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
Posted By mariocatch
it's definitely on line 27...

/MindReadingOff

post your code...
Forum: C++ May 19th, 2007
Replies: 47
Views: 7,558
Posted By mariocatch
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
Posted By mariocatch
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
Posted By mariocatch
#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
Posted By mariocatch
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
Solved: void function
Views: 6,313
Posted By mariocatch
which measures the circumference of the triangle...
Forum: C++ May 15th, 2007
Replies: 2
Views: 680
Posted By mariocatch
format your code
Forum: C++ May 15th, 2007
Replies: 6
Views: 1,651
Posted By mariocatch
why is accept() not prototyped?
Forum: C++ May 15th, 2007
Replies: 1
Views: 673
Posted By mariocatch
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
Solved: void function
Views: 6,313
Posted By mariocatch
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
Solved: void function
Views: 6,313
Posted By mariocatch
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
Posted By mariocatch
to get you started


struct Customer

{int accountNumber;

double balance;

int credits;
Forum: C++ May 13th, 2007
Replies: 6
Views: 8,046
Posted By mariocatch
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
Posted By mariocatch
discard the spaces between the name/rate/dep/type
Forum: C++ May 10th, 2007
Replies: 9
Views: 1,271
Posted By mariocatch
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
Posted By mariocatch
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
Solved: Help needed :(
Views: 5,147
Posted By mariocatch
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
Posted By mariocatch
post your new code and ill help you out.
Forum: C++ May 1st, 2007
Replies: 10
Views: 1,405
Posted By mariocatch
Forum: C++ May 1st, 2007
Replies: 19
Views: 18,618
Posted By mariocatch
>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
Posted By mariocatch
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
Posted By mariocatch
i converted his code to c++ 2005 express and works for me.
Forum: C++ Apr 19th, 2007
Replies: 23
Views: 2,119
Posted By mariocatch
you tell us lol... does it work?
Forum: C++ Apr 19th, 2007
Replies: 23
Views: 2,119
Posted By mariocatch
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
Posted By mariocatch
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
Posted By mariocatch
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
Posted By mariocatch
Regarding your first question... what is it returning if it isn't returning Yes or No?
Forum: C++ Apr 18th, 2007
Replies: 5
Solved: Question???
Views: 920
Posted By mariocatch
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
Solved: Question???
Views: 920
Posted By mariocatch
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
Posted By mariocatch
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
Solved: Question???
Views: 920
Posted By mariocatch
java is like c#, not c++.
Showing results 1 to 40 of 50

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC