 |
|
 |
It seems you just simply copy-pasted my article. You didn't even bother to remove the link pointing to my blog.
Not to mention the comments inside the sources pointing to my website ...
|
|
|
|
 |
|
 |
I cant believe this article still exists!
I wrote this program back in grade 12 as a little class project. The program didn't even get finished.
I'm sure your article and my article got messed up in the codeproject database as you can see I wrote it in 2003, four years before you.
The posted source code doesn't even match my style AT ALL, I never have nor ever will use the naming conventions you do.
My program didn't use the clipboard either, it was strictly a command line utility.
You had best contact the codeproject admins and see what happened, I have little interest myself.
If you like I can simply delete the article, but I am not sure how it would affect yours.
|
|
|
|
 |
|
 |
It's very weird what happened. It seems to be a bug of Code Project web site.
I will report it to site admins.
Thank you and sorry if I was rude to you.
|
|
|
|
 |
|
 |
Sorry to both of you - I just saw this problem and have fixed it. Both articles now contain their original text.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
 |
|
 |
sorry,i have not finished downloading it ,because my web speed at China is very slow to visit this foreign site
A Chinese Boy
may be will goto Germany 2 years after my regiteration at this website
QQ: 154550544
|
|
|
|
 |
|
 |
it seems to have some bugs:
in C source file:
fread(¤ts,2,1,fin);
when makes it to html:
fread(¤ts,2,1,fin);
but i'm very happy to find such a program
A Chinese Boy
may be will goto Germany 2 years after my regiteration at this website
QQ: 154550544
|
|
|
|
 |
|
 |
When first using it, the program is down.
55555....
|
|
|
|
 |
|
 |
As others have mentioned this article needs some work to be useful. I applaud the authors attempt but encourage them to consider the readers needs next time.
If you have need of a more advanced and mature tool take a look at Highlight[^]. It's a very flexible open source alternative with a swagger of options.
There is also a Visual Studio Add-in that does a similar job but I can't for the life of me find it on the web...can anyone help out?
Cheers,
Matt
|
|
|
|
 |
|
 |
Additionally, programmers notepad (http://www.pnotepad.org/[^]) has copy as HTML and copy as RTF functionality for a few dozen different flavours of sourcecode...
|
|
|
|
 |
|
 |
Where has all my indentation gone
Matthew Berry
|
|
|
|
 |
|
|
 |
|
 |
All the indentation in my functions has disappeared and all the text is flush with the left side of the page
Matthew Berry
|
|
|
|
 |
|
 |
hmm,
What code editor are you using?
My program recognizes 0x09 as the tab character
|
|
|
|
 |
|
 |
I'm using MSVC 6.0 - but I have the setting on that translates tabs to spaces ( Tools/Options/Tabs - Insert spaces)
Matthew Berry
|
|
|
|
 |
|
 |
you'll have to turn that off as I cant readly think of a way to deal with that problem without making a mess of the output.
|
|
|
|
 |
|
 |
Pretty cool... could you extend this to support /* */ style comments too?
|
|
|
|
 |
|
 |
That was fixed in the revision
|
|
|
|
 |
|
 |
Wow, diddn't expect this program to be looked at by more than a couple of people.
Ill go over the bugs you guys mentioned and try to find some time to clean up the code.
Thanks for the interest,
MD
|
|
|
|
 |
|
 |
Monkey_Drone wrote:
Wow, diddn't expect this program to be looked at by more than a couple of people.
Our user base is currently around 700000 people. I think that constitutes more than a "couple" .
Also, we at CP hold our members to higher standards than some other sites. This is a place where professional developers share their stuff as well as showcase their talents. There's a lot to be said about a well formed and presented article, and I believe it's worth every minute spent. If it takes a week or a month to come up with your article, it's well worth it.
I suggest you take some time, pour over this[^], and clean up / optimize your code. And as far as the "ugly" comment below, he's saying the output doesn't look good, i.e.: not very visually appealing.
- Nitron
"Those that say a task is impossible shouldn't interrupt the ones who are doing it." - Chinese Proverb
|
|
|
|
 |
|
 |
1. What about writing a real Article about your tool?
2. What about pushlishing the sources of your little tool?
3. Tried DoxyGen?
4. Your program is really slow and the output is ugly.
5. Your program doesn't know #ifndef, but highlights the contained if like #ifndef. (See previous posting)
6. Try using something like <span style="padding-left:20px;">Here goes your code<span> instead of spaces. your program converts 70K C++ to 240K HTML.
Best Regards,
Christian Richardt
Those who know don't talk.
Those who talk don't know.
|
|
|
|
 |
|
 |
whizer wrote:
4. Your program is really slow and the output is ugly.
Speed wasn't really a concern when I wrote this and what do you mean by ugly?
whizer wrote:
5. Your program doesn't know #ifndef, but highlights the contained if like #ifndef. (See previous posting)
Thanks, that was just because of a problem with the order in the lookup table, it will be fixed in the next revision.
whizer wrote:
6. Try using something like <span style="padding-left:20px;">Here goes your code<span> instead of spaces. your program converts 70K C++ to 240K HTML.
Thanks again, I wasn't sure how I should handle the tabbing
|
|
|
|
 |
|
 |
Monkey_Drone wrote:
Speed wasn't really a concern when I wrote this and what do you mean by ugly?
What I meant was point 6.
Best Regards,
Christian Richardt
Those who know don't talk.
Those who talk don't know.
|
|
|
|
 |
|
 |
Hi
Please try a C++ code contain CPoint (anywhere) you will see that 'int' of 'CPoint' is considered as 'int' keyword.
regards
|
|
|
|
 |
|
 |
heh, yea... I diddnt have time to fix that problem :P (I wrote this program in about 20 mins)
|
|
|
|
 |