|
lucky for me i get candy all year round ... not just Halloween .
|
|
|
|
|
if you utilize Visual Studio and C++ you know IntelliSense likes a so called hint file i.e. "cpp.hint" . as far as i know no automatic means to generate this file exists . as i find manually entering each macro tedious and usually forget to do so at time of writing each macro and as i found current project has more than 1000 macros i wrote a C program to generate said hint file . i don't know how others solve this problem however if any would find this code useful i can provide same after polishing up the last 2% .
|
|
|
|
|
I haven't used VS in years, but if it's a common problem people face these days then it's a great candidate for an article. Perhaps it could be your first one.
Jeremy Falcon
|
|
|
|
|
first time I've heard about that.
will go educate myself.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
If anyone else is wondering like I was: Hint Files | Microsoft Learn[^]
I'm always torn when it comes to #define macros. I've had a number of cases where that was the cleanest way to solve a problem, but I've always felt vaguely guilty about it. My intuition says that if you need to supply a "hint file", maybe you're overdoing it in the macro department.
Software Zen: delete this;
|
|
|
|
|
We have a program that needs a fair few code macros to generate boiler-plate. We simply define those macros only in cpp.hint and include that file to bring in the macros where needed. Of course we're only doing this to keep Visual Studio "intellisense" happy.
|
|
|
|
|
thanks that seems a good idea . i will have to be careful re/ naming so as to not duplicate . thank you again
|
|
|
|
|
... it's on the decrease.
I'll get my (crumpled) coat...
|
|
|
|
|
How... ironic.
ba dum tss
Jeremy Falcon
|
|
|
|
|
DerekT-P wrote: ... it's on the decrease.
which really steams me.
I don't think before I open my mouth, I like to be as surprised a everyone else.
PartsBin an Electronics Part Organizer - Release Version 1.1.0 JaxCoder.com
Latest Article: Simon Says, A Child's Game
|
|
|
|
|
No need to get starchy, Mike!
Will Rogers never met me.
|
|
|
|
|
My waffles always turn out wrinkled, so I use my waffle iron a lot.
|
|
|
|
|
Is this a press release or are you just letting of steam ?
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
too funny. Ever since covid rearranged society I mostly work in shorts and a t-shirt. I have NO idea where the iron is.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
It's a new wrinkle in the fabric of society.
There are no solutions, only trade-offs. - Thomas Sowell
A day can really slip by when you're deliberately avoiding what you're supposed to do. - Calvin (Bill Watterson, Calvin & Hobbes)
|
|
|
|
|
|
Hi,
It seems to be a pressing issue. Hopefully, all those issues will get ironed out at some point.
Cegarman
document code? If it's not intuitive, you're in the wrong field
|
|
|
|
|
Not out! Negative coin didn't touch it. (8)
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Innocent ?
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
YAUTuesday.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
I don't get the didn't touch it part
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
That's the definition: "Honest mum, I didn't touch it - I'm innocent!"
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Hmmm...
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Do I note an element of disbelief in your voice there, mum?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|