So I know about:
( single line comments )
//
and
( multi line comments )
/*
*/
...but what the heck is /// used for.
Can't find a reference to it in my c++ book and I tried google foo but just managed to hit myself in the face. What do you folks use it for?
Hope you all enjoy the weekend,
Logan
Search found 100 matches
- May 25th, 2018, 11:33 pm
- Forum: Everything
- Topic: Quick question about commenting code.
- Replies: 3
- Views: 1748
- April 26th, 2018, 7:56 pm
- Forum: Everything
- Topic: Beginner CPP Homework 13
- Replies: 5
- Views: 2433
Re: Beginner CPP Homework 13
In order to avoid circular dependency I will often have the function return a bool. In game.cpp call the proccessConsumption how you like. if( poo01.ProcessConsumption( dude ) ) { meter.increaseLevel(); } bool Poo::ProcessConsumption( const Dude& dude ) { const int duderight = dude.GetX() + dude.Get...
- April 22nd, 2018, 3:57 pm
- Forum: Everything
- Topic: General issues
- Replies: 45
- Views: 15526
Re: General issues
I've seen the color white used in various ways throughout chili's series. The one that comes to mind is: #define COLOR_WHITE D3DCOLOR_XRGB( 255, 255, 255 ) So you can just use it like: gfx.DrawLine( x1, y1, x2, y2, COLOR_WHITE ); Not sure if this is the issue you're having but normally if calling a ...
- April 14th, 2018, 9:48 am
- Forum: Everything
- Topic: FUCK TECHNOLOGY
- Replies: 15
- Views: 5869
Re: FUCK TECHNOLOGY
Damn man, Hate when this happens to anyone. Anyone who reads this please please back your work up. I know it sucks and feels dumb but shit happens. External Hard drives are cheap now. In fact, it's been a few months I'm off to back up my newly created files; I highly recommend everyone do the same. ...
- April 14th, 2018, 12:44 am
- Forum: Everything
- Topic: C++ Winsock Networking Tutorials [04-24-2017]
- Replies: 105
- Views: 49012
Re: C++ Winsock Networking Tutorials [04-24-2017]
I finally had some time to devote to these. I'm only on tut 4 but so far loving them. I like that there is a bit of a back catalog since I saw them awhile ago. Hoping there might be more in the future still. Keep at it and thanks for making them.
~Logan
~Logan
- April 11th, 2018, 11:43 pm
- Forum: Everything
- Topic: Ultimate Avro - A Jet Fighter Game.
- Replies: 7
- Views: 4403
Re: Ultimate Avro - A Jet Fighter Game.
Nice Job TheToddfather, Glad to see you take this to a stage of your satisfaction. I've enjoyed watching it change and morph over the years. I'll check it out and let you know how bad I am at it thanks for sharing this with the forum.
~Logan
~Logan
- January 27th, 2018, 10:07 am
- Forum: Everything
- Topic: [SOLVED] child class having the same function name as parent
- Replies: 7
- Views: 2902
Re: [SOLVED] child class having the same function name as pa
Thanks guys! I have seen a lot of code examples with initialize functions and my inner chili said, "why not just use the constructor?" I thought they may have a reason to initialize the data of an object at a different time than at the creation of said object. Possibly in a vector of objects or some...
- January 26th, 2018, 3:49 pm
- Forum: Everything
- Topic: [SOLVED] child class having the same function name as parent
- Replies: 7
- Views: 2902
Re: Issue: child class having the same function name as pare
Yep that did it, calling Billboard::initialize; from inside of Sun.initialize(); I know I solved the issue before anyone could reply but thanks for reading and being there for the journey
- January 26th, 2018, 3:41 pm
- Forum: Everything
- Topic: [SOLVED] child class having the same function name as parent
- Replies: 7
- Views: 2902
Re: Issue: child class having the same function name as pare
Seems online suggests Billboard::initialize(); going to test it.
https://stackoverflow.com/questions/357 ... s-function
https://stackoverflow.com/questions/357 ... s-function
- January 26th, 2018, 2:55 pm
- Forum: Everything
- Topic: [SOLVED] child class having the same function name as parent
- Replies: 7
- Views: 2902
[SOLVED] child class having the same function name as parent
Hello all, hope 2018 finds you well. Long time no chat, I've been on lurking from time to time however. I've been working on my own 3d engine in modern opengl and I keep coming back to a c++ issue and I hope the great minds here can help. So I have a class Sun, this has code that keeps track of the ...