#include <iostream>
using namespace std;
int main()
{
int A, B;
A = 6;
B = 7;
Type: Posts; User: endo
#include <iostream>
using namespace std;
int main()
{
int A, B;
A = 6;
B = 7;
try sticking with the Animal class initially. Look at constructors, destructors, member functions, etc. Then move on to inheritance and playing with the Bird class. Your Animal class should look...
ok, take this example one step at a time. Look at class definitions, and try the first part about creating an Animal class. eat( ) isn't a standard C++ function, it is something you will have to...
Desc is probably a description, the animals name if you like. This is an inheritance question so there is lots of room to expand and practice with classes.
class Animal
{
//animal...
Well it depends how much you've covered so far but I saw the question below posted on here a few months back and thought it looked quite handy for rekindling my interest in C++. It might not be what...
I'm feeling sad. I graduated and never found that elusive entry-level programming job, they seem to be so rare in the UK. I have been stuck in a job for approaching 3 years and although I'm moving...
could be many things, I've used something similar to this before:
enum STATUS
{
OK,
NOTOK
};
there is only 1 computer with a wireless belkin adaptor. the router/modem is made by belkin as well. I'll take a look at the firmware upgrade possibility, thanks
sure I can take some screenies, any idea what kinda info I might need to look at? Here's the first config screen I see anyways...
thanks again for the help :)
XP pro. Where would I check for RRAS and ICS running? I'm pretty sure ICS isn't but have never heard of RRAS...
And the pc isn't plugged into the router at all, its a wireless router/modem about...
hehe, good luck trying to screw those nails in! :p
for win32 tutorials this sit eis one of the best I've found.
http://www.functionx.com/win32/
Thanks for replying.
Its a very simple network - one modem/router downstairs plugged directly into main phone line and a single pc upstairs. Not really sure what else might be relevant...
I have recently upgraded to a Belkin wireless modem and router and am having problems with the connection. It has periods when it keeps dropping out every 2 or 3 minutes, and other times when it...
What does [STAThread] do above main( ) in C#? I found it hard to understand the stuff found on google but it seems to be something that applies itself to main( ) and is to do with threading??
Is...
ok I've narrowed it down to the fact that in OnLButtonDown I will receive the device coordinates which may vary depending on window size, etc. How can I convert these to logical coordinates inside a...
Well graphical part itself isn't to hard, just a few lines inside rectangles. I just cant see why the window is drawn 400x400, I set the mapping mode to 300x300, yet the clicking only seems to be...
i seem to recall there is a setw( ) function lying around somewhere, that might be handy but I dont remember a whole lot about it....
I have just started with MFC again after being away from programming for a bit. And I've encountered exactly the same problem I had the first time I tried to write tictactoe!! The area that can be...
Is this likely to be the problem, my visual c# may be a little out of date - i been away from coding for a bit :(
.net framework 1.0 version 1.0.3705
why does my compiler not recognise Console.Clear or Console.ReadKey??
Thanks for that, I'll try i tlater when I get a chance. Must've been blind not to Clear( ) in the class description! :confused:
Thats great, i needed a homework type question like that to help me learn C#! That'll be ideal, thanks :)
probably not, you dont have a size variable in Planet - its planetsize. :D
Help! I'm new to C# and keep getting stuck on things which should be pretty simple :(
Can anyone tell me why this loop repeats the output found in the menu( ) 3 times when a number is entered?
...