Search Results

Showing results 1 to 26 of 26
Search took 0.02 seconds.
Search: Posts Made By: mariocatch
Forum: C# Nov 28th, 2007
Replies: 6
Views: 2,857
Posted By mariocatch
Why dont you show us what you have and maybe ask questions about what you dont understand? We aren't going to do the homework for you.
Forum: C# Nov 22nd, 2007
Replies: 2
Views: 752
Posted By mariocatch
For the love of god surround that in code tags...

BTW, not all code paths return a value means:

Your methods do not return a value in EVERY scenario. There are some scenarios that do not return...
Forum: C# Jun 7th, 2007
Replies: 3
Views: 5,955
Posted By mariocatch
probably wont fix it, but if you're using a messagebox and getting the result from it, you should use the DialogResult property. It would be something like this...

DialogResult dr;
dr =...
Forum: C# Jun 4th, 2007
Replies: 5
Views: 2,821
Posted By mariocatch
no the real problem is that you're using a variable before it exists. which is what Narue and I said.
Forum: C# Jun 4th, 2007
Replies: 5
Views: 2,821
Posted By mariocatch
BaseToken is returning a child classes variable (tokenValue), which it doesn't know exists because it's the Base class. The base class should declare the variable.
Forum: C++ May 27th, 2007
Replies: 7
Views: 1,059
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 22nd, 2007
Replies: 14
Views: 3,496
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,055
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,496
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,496
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 19th, 2007
Replies: 14
Views: 3,496
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: 13
Views: 5,214
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,325
Posted By mariocatch
which measures the circumference of the triangle...
Forum: C++ May 15th, 2007
Replies: 6
Views: 1,659
Posted By mariocatch
why is accept() not prototyped?
Forum: C++ May 14th, 2007
Replies: 17
Solved: void function
Views: 6,325
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,325
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: 6
Views: 8,063
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 5th, 2007
Replies: 49
Solved: Help needed :(
Views: 5,155
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++ Apr 19th, 2007
Replies: 23
Views: 2,126
Posted By mariocatch
i converted his code to c++ 2005 express and works for me.
Forum: C++ Apr 19th, 2007
Replies: 23
Views: 2,126
Posted By mariocatch
you tell us lol... does it work?
Forum: C++ Apr 19th, 2007
Replies: 23
Views: 2,126
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,414
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,005
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: 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: 5
Solved: Question???
Views: 920
Posted By mariocatch
java is like c#, not c++.
Forum: C Apr 3rd, 2007
Replies: 11
Views: 5,214
Posted By mariocatch
Here's a simply way to do it with a while loop. Just add more cases if you need to add another line of numbers.



bool Done = false;

while(!Done)
{
cout << i++ << ' ';
if(i == 8)
Showing results 1 to 26 of 26

 


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

©2003 - 2009 DaniWeb® LLC