Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
Acmlm's Board - I2 Archive - - Posts by NightHawk
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
User Post
(restricted)
NightHawk

Bob-Omb
Level: 39

Posts: 149/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-12-04 09:33 PM, in Help with a tutorial? Link
Originally posted by Emptyeye
CDummy a; //Makes a a valid class parameter, increments (See above) (1)
At this point, n == 1.


CDummy b[5]; //Makes b a valid class parameter, increments again (See above) (2)
After this, it equals 6 (it initializes 5 instances of the class, so n gets incremented 5 times).


CDummy * c = new CDummy; //?? Seems to create a new instance of the class with a pointer c
Yes, it creates a new instance, which c then points to. Also increments n. n now equals 7.


delete c; //Deletes the above created instance; presumably decrements the n as well
Yes, it decrements n. n == 6.


So where I need help with is getting in my head how what is output equals 7 and 6, respectively. Once I get that, I should be okay.

Thanks!
I think your problem might be that a static member of a class is shared between all instances of that class. Does that explain it to you?
NightHawk

Bob-Omb
Level: 39

Posts: 150/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-12-04 09:36 PM, in what OS(s) are you running? Link
Win2000 professional, WinXP professional, and on the machine I use for old DOS games, Win98SE.
NightHawk

Bob-Omb
Level: 39

Posts: 151/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-12-04 11:27 PM, in Help with a tutorial? Link
Originally posted by Emptyeye
Okay, I get it now. Thanks.

I read the b[5] line as "assigns 5 to the b parameter" or "makes parameter b an array 5 characters long" as opposed to "initializes and increments 5 times". The way the two of you explained it makes sense now.
I'm glad I could help
I remember what it was like to learn C++, so you have my sympathies
NightHawk

Bob-Omb
Level: 39

Posts: 152/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-13-04 01:23 PM, in Which Windows games do you play? Link
Mainly solitaire... every now and then I'll play Freecell or Minesweeper if I'm bored... I have yet to win a game of either of those 2 though, lol.
(restricted)
NightHawk

Bob-Omb
Level: 39

Posts: 154/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-13-04 01:38 PM, in Monitor refresh problems Link
I've got a Hansol 920P 19" CRT monitor. I *know* that this monitor supports 75Hz and 85Hz refresh rates at 1600x1200, but WinXP won't let me use them unless I uncheck the "Hide modes that this monitor cannot support" box. Does anyone know a way to get around that?
NightHawk

Bob-Omb
Level: 39

Posts: 155/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-13-04 02:09 PM, in Latest news about my FF1 port Link
My FF1 port is going to be changed substantially: it's no longer going to be a port to a console.
I asked Disch, and he basically confirmed that his FF Tribute isn't going to get finished; since that was the main reason I chose not to do a PC port (I didn't want it to be redundant), I've now chosen to port to the PC instead.
Disch also gave me permision to use the graphics and sounds he included in the FF Tribute demo he released... so those will help me get a demo out relatively quickly, I hope.

Another thing that has changed about this port: the engine will use some kind of "plugin" system for game info. That means that anyone would be able to make a new (FF-like, 2D RPG) game to work with this engine, with a bit of coding, new graphics, and sounds. When I'm done, I'll be releasing some kind of kit to help with that.


On a sidenote, because of the nature of these changes, all future threads relating to this port should probably go in the "Game Creation Centre" forum.
NightHawk

Bob-Omb
Level: 39

Posts: 156/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-13-04 02:10 PM, in Monitor refresh problems Link
Originally posted by neotransotaku
does your video card support those modes? if your video card doesn't support that mode, then there is no way for windows to display those modes without overriding it. after all, your monitor depends on your video card to see how to display stuff
Oops, I forgot to mention my video card, lol.

It's a Radeon 9700 Pro... it supports modes this monitor has no chance of displaying.
Up to 2048x1536@85Hz, if I remember correctly.
NightHawk

Bob-Omb
Level: 39

Posts: 157/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-13-04 02:42 PM, in Monitor refresh problems Link
Originally posted by HyperHacker
Does Windows know that? It might still be using generic drivers.
Yes, I've installed the drivers for the graphics card, and for the monitor.
Cat 4.5, and the drivers that came on a floppy with the monitor.
NightHawk

Bob-Omb
Level: 39

Posts: 158/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-13-04 08:04 PM, in Latest news about my FF1 port Link
Originally posted by Disch
Best of luck to ya on this one =).
Thanks


I'd like some opinions on something, btw... should I rip as much as possible out of the WSC FF1 (graphics, sounds, music) as possible, or should I try to get new stuff?
If option #2... any volunteers?
NightHawk

Bob-Omb
Level: 39

Posts: 159/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-13-04 08:15 PM, in Latest news about my FF1 port Link
Originally posted by Disch
If you go with WSC FF1 graphics... I can tell you first hand it's a serious pain in the arse (at least map graphics are). It took me forever to get the WSC town graphics ripped... and arranging them on the map was horrible, too. WSC FF1 uses like 9 or more different grass tiles in the town and alternates them on the map (so it doesn't look as tiley). Made the map harder to compress too... simple RLE didn't do the trick very well.
merde...


Personally.. I'd like original graphics more than ripped ones... but getting good original graphics is hard.
Yeah, I think I'd prefer original graphics too, but I'd seriously need volunteers to help out with it... I'm just not good at drawing graphics.
NightHawk

Bob-Omb
Level: 39

Posts: 160/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-15-04 04:47 PM, in Monitor refresh problems Link
Originally posted by neotransotaku
Originally posted by NightHawk

Up to 2048x1536@85Hz, if I remember correctly.


what about the modes less than that? you know, the scale isn't continuous to use a reference from math. there are gaps in resolution support. However, that probably isn't the case so maybe you don't have the latest drivers?
I know I don't have "the latest" drivers for my video card. The 4.6 drivers are the latest (4.5 was the last release, and since 4.6 doesn't solve any problems I have, or give me better performance, I haven't upgraded).

And yes, I know the scale isn't continuous. I was stating maximums, not intermediates.

Anyway, both my monitor and my video card support 1600x1200@85Hz (I've checked the docs for both of them), but WinXP won't let me use a refresh rate higher than 70Hz.
(restricted)
NightHawk

Bob-Omb
Level: 39

Posts: 163/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-15-04 04:59 PM, in Who would win in a race between a man and a horse? Link
I read about that the other day.
It's amazing what humans can do when they make up their minds to do it... makes me wonder what the ultimate limits for humans really are?
NightHawk

Bob-Omb
Level: 39

Posts: 165/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-16-04 10:39 AM, in Who would win in a race between a man and a horse? Link
Originally posted by Colleen
25,000 pounds too.

...Doesn't sound like much until you realize the pot started at 1,000 and went up each time the horse won. So it's a nice little payday.
Quite a nice chunk of change
I wish I had
NightHawk

Bob-Omb
Level: 39

Posts: 166/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-18-04 01:58 AM, in Super Smash Bros. Link
Samus all the way!!
My favorite strategy in free-for-all is charging-up while the other 3 are killing each other, and then suddenly firing the energy ball at point-blank range
Man it was so easy to get a good score that way, lol.

Until everyone I played with figured it out, and started ganging up on me
NightHawk

Bob-Omb
Level: 39

Posts: 167/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-18-04 01:30 PM, in Monitor refresh problems Link
Originally posted by Yarx
The video card drivers are only half of the pie, you need both the video card AND monitor drivers installed to see all possible resolutions/refresh rates. They are not required for windows to work but they are required if you want windows to function in a way that is specific to your monitor, like listing the correct refresh rates. Don't just use the defaulkt drivers on the floopy. Check on the net for recent driver updates for the monitor. If both video card and monitor drivers are up to date, you may just have to do it manually, as you have been doing before.
There aren't more recent drivers for the monitor -- I checked.
My monitor's line has been discontinued since shortly after I bought it, and they never updated the drivers for it after that.

Anyway, the problem seems to be that Windows isn't correctly detecting the maximum vertical refresh rate. It should be 150Hz instead of the 120Hz that Windows is detecting... I'll try to force Windows to use the proper setting there, and see if that fixes it.


EDIT: Well, it'll do 75Hz now (85Hz still won't work, but I can live with that). I still have to leave the "List only modes that this monitor supports" box unchecked though


(edited by NightHawk on 06-18-04 04:43 AM)
NightHawk

Bob-Omb
Level: 39

Posts: 170/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-18-04 10:04 PM, in Monitor refresh problems Link
Originally posted by neotransotaku
its been discontinued? was this discontineud before winXP came out? if so, then you are stuck with this since it seems that your drivers do not use WinXP in the correct way or WinXP is getting bad data from your monitor drivers and think it can't allow the monitor to get to 75 or 85Hz.
Well, I bought the monitor after XP was out, but the drivers are for 2000, so....

Anyway, it's working at 75Hz (I rebooted a couple times, and used various utilities to verify that). It's not 85Hz like I wanted, but it's better than the 60Hz I had before


Thanks for the help.
NightHawk

Bob-Omb
Level: 39

Posts: 171/621
EXP: 374743
For next: 30028

Since: 03-26-04
From: Switzerland

Since last post: 432 days
Last activity: 339 days
Posted on 06-19-04 09:01 AM, in Onboard & Sound Card Together? Link
I doubt that it would be possible to use both the onboard audio and the sound card at the same time. It's never worked successfully for me; it usually just results in BSODs, and little else.

And that kind of rewiring, while possible, would probaby void several warranties. It could also damage your hardware if you made any kind of mistake. So in short, that's not recommended.


Sorry, but you'll probably have to keep crawling under your desk to plug/unplug the headphone.
Or you could try to find one of the front panels that fit into a 5
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Acmlm's Board - I2 Archive - - Posts by NightHawk


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.033 seconds.