|
What number does an array index start from.
Maybe the joke is getting old...
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Obviously Array Index starts from 0. I am really feeling Good after knowing that real programmers starts Serial No from 0.
Thanks.
|
|
|
|
|
I think it is a genuine aesthetic issue. For the user and display it should be (1) and for the program internally, it can continue zero-indexing. A quick patch like
<%=(i+1%>
if you are using a repeater control for this should help remedy it.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Vasudevan Deepak Kumar wrote: A quick patch like
<%=(i+1%>
if you are using a repeater control for this should help remedy it.
I'm biting my tongue here, Vasudevan.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Hi,
I recently started this article, and edited it over a few days and then published it. As far as I could see it never made it to the Latest Articles bit. Looking at it, it has an "Updated" date set long before the publishing date (even though I updated it just before publishing).
My guess is that when I published, whatever compiles the list of articles for the category looks first at the Created date to see if it's new, rather than the Published date, and if it's not deemed new then then it looks at the Updated date, which is the right idea but doesn't appear to be have been stamped totally correctly if an article's been in draft status for a while.
I do accept it's perfectly possible I'm just coming up with an elaborately creative way to assure myself this is why my article seemed to be tucked away from the word go. If it's purely because it sucks then I'll be quiet and I'm sorry!
Thanks.
In the beginning there was nothing.
Then the lord spoke, and he said, "Let there be light!" and behold!
There was still nothing but you could see it better.
|
|
|
|
|
We'll check out what happened. I'm sure it's us, not you
[Edit: it was us, not you. Our editing system allows us more control than you guys get, and one of those controls is to not upset the dates. In this case the dates should have been updated. We're fixing it to reduce foot-shooting situations.]
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 11-Oct-12 17:18pm.
|
|
|
|
|
In programming questions and answer section,the comments doesn't contain any voting/rating option.I think it may be included to increase better connectivity between people who gives answer.
modified 10-Oct-12 16:34pm.
|
|
|
|
|
Maybe
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
The name checker was hard to fool, but a ​ managed to do the trick. Sometimes, anyway. Other times it fails for mysterious reasons - I'm not exactly sure under what circumstances it fails to work.
I'll change my name back asap, please don't ban me
|
|
|
|
|
Looks like a bug. Need to strip out all non printing characters to prevent this, I guess.
I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image.
Stephen Hawking
|
|
|
|
|
Under 'Notifications', there is a check box, which when selected can be marked as read and also there a green tick mark to the right, which does the same job. Are these BOTH necessary? Could do with either of the two.
Just a thought..
|
|
|
|
|
The checkboxes allow you to select a bunch at once, or they are used by the "Select All" checkbox at the top. This is useful when you're in the mode of thinking "let me collect together all the ones I want to mark as read in one go.
The green tick mark is, technically, not needed, but allows you to mark items as read in a casual, ad-hoc, disorganised manner.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
It kind of makes sense.. yeah!
|
|
|
|
|
Hi,
Firstly this article on CodeProject - it's superb:
Undo and Redo the "Easy" Way[^]
However the program doesn't work and there's no reply since 2010. Debugging it isn't straightforward due to the nature of the problem at hand, and there doesn't seem to be any way to contact the author...
Can the any admins send this guy a mail or something? Is that possible? It's a great piece of work that could be really useful and it seems a shame for it to be in this state.
Right now this XKCD is pretty on point:
http://xkcd.com/979/[^]
Thanks
|
|
|
|
|
Our only means of contact is that same as your means: their email address. When you post a message on one of their articles the message is sent to their inbox using the same email address that we would use if mailing them directly.
You may have to dive in, debug the code yourself, and then, if you're keen, post an update - maybe as an alternative article?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Ah ok I didn't know that re email comms. I'll post something on the project page for a start.
I had the feeling that I might end up fixing it. I've already done a bit of preliminary tracing, though it would be a bonus if the author is able to help. Current thoughts seem to indicate the memory allocator, it's interaction with the STL exception handler and / or the pointer stashing technique used and it's relationship with x64 arch. Some allocations work, some don't, and it's not an obvious bug at first glance - fun times...
Does CodeProject support any kind of mutual code collaboration setup? If not do people host code on bitbucket / github and reference it from here or whatever?
Thanks
|
|
|
|
|
publicdomain wrote: Does CodeProject support any kind of mutual code collaboration setup
Absolutely. It's very easy to have multiple authors, each of which can edit and update the article and code.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
One more thing - the project page has had quite a few code revisions, in the last on in 2004 the author added support for multiple memory spaces, and a lot of the demo code that sits above it is out of sync.
Do you guys on the site have backups of the previous code revisions? It might help in cross-referencing if and when the bugs got introduced.
Thanks
|
|
|
|
|
publicdomain wrote: Do you guys on the site have backups of the previous code revisions?
Unfortunately not. However, we're in the process of adding this feature. (though, too little, too late for you, I guess. Sorry!)
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
No worries - actually the author responded and is having a look at it - result!
Thanks for your help.
|
|
|
|
|
Clicking on reply in a Lounge post does not do anything. (FF 10.0.7 <- Questions about that will be answered by our company IT policy).
Right-click / open in new tab works like a charm.
All other buttons/link work as well (/Edit: But for the ... Edit link )
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
modified 10-Oct-12 9:47am.
|
|
|
|
|
Are you clicking on the word "reply" or the background? (It may sound like a dumb question, but humour me)
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Neither works ( No dumb question, I hang around enough in Sugs&Bugs to know there have already been issues with that) in FF10.0.7
BUT
Both work in FF15.
I leave it up to you to decide if it is necessary to further investigate. ( With the new FF release rate, FF10 must not be older than two months though).
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
Rage wrote: the new FF release rate,
Yeah, what is that rate? Every week or so?
I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image.
Stephen Hawking
|
|
|
|
|
Works for me in FF 10.0.7 ESR Portable version. Might be something on your end.
I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image.
Stephen Hawking
|
|
|
|