Thread: Code colouring

  1. #16
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    I corrected the program so it will look like:
    Code:
    printf("hi");
    
    #define /*what?*/ foo
    
    puts("\\\"");
    
    in\
    t x;
    
    printf("/*comment*/");
    
    /* int x; printf("int x;"); */
    
    // /*
    for(;;){}
    //*/
    
    /*//*/ int okay;
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  2. #17
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    Here is some screenshots.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  3. #18
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    Looks nice, siavoshkc! I like the trans one! Is that hard to do? Does it have a "copt to clipboard" button? That would be handy!

    You gonna make open source?

  4. #19
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    Looks nice, siavoshkc!
    Thanks.

    I like the trans one! Is that hard to do?
    No, by .NET.

    Does it have a "copt to clipboard" button?
    Just double click on tagged TextBox. "Painter Instruct.PNG" explains it.

    You gonna make open source?
    If I saw its code as good enough to be seen by others.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  5. #20
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    >> If I saw its code as good enough to be seen by others.

    Do you? Just wondering cause dwks made his open source, Martin hasn't. i'm wondering what the Open Source ratio is with programmers ... I may make a poll or something about it actually.

  6. #21
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    Quote Originally Posted by mrafcho001
    yeah liek i totaly pwn you guys i fixed it.

    http://martin.thejefffiles.com/CCv2.0.zip
    Got a page not found error -

    Page not found
    The page you are looking for might have been removed,
    had its name changed, or is temporarily unavailable.

  7. #22
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    I'm re-writing codeform, since codeform v1.10 is pretty old. The new version is called codeform v1.5.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  8. #23
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    >> The new version is called codeform v1.5.
    Call it CodeForm v1.5 beta!!

    What's going to be different?

    EDIT - then you can release a CodeForm V2 alpha at the same time!
    Last edited by twomers; 09-05-2006 at 12:05 PM.

  9. #24
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    What the other taggers can do that mine can't?
    Soon it will detect preprocessor dirctive next keywords like "once" for #pragma, and will make <afile> next of #include red.

    Where can I get dwks's code? Is it C++?
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  10. #25
    Registered User mrafcho001's Avatar
    Join Date
    Jan 2005
    Posts
    483
    Why would you open source?
    My Website
    010000110010101100101011
    Add Color To Your Code!

  11. #26
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357
    So that others may look at it, improve upon it, learn from it, give suggestions, etc.
    Why wouldn't you?

  12. #27
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    >> Where can I get dwks's code? Is it C++?

    I don't know, it's either C or C++. I can't remember. Find Dwks' post where he talks about Code Form, and download the ZIP. It's got all the source there.

    Why make it OS? I don't know. I think it's a good thing to do - people can learn from your code. They can suggest different ways of doing things. Ask about algorithms.


    EDIT - http://dwks.theprogrammingsite.com/myprogs/codeform.htm

  13. #28
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Open Source is probably the best learning tool there is. And the one who learns the most is the one who publishes their work as Open Source.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  14. #29
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    I just find it ironic that people who voted against code tags should be in favour of coloured crayons for writing code
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  15. #30
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    LOL! I usually don't put those in my text. But that one was precious Salem.
    I bow to thee.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Extended ASCII Characters in an RTF Control
    By JustMax in forum C Programming
    Replies: 18
    Last Post: 04-03-2009, 08:20 PM
  2. Enforcing Machine Code Restrictions?
    By SMurf in forum Tech Board
    Replies: 21
    Last Post: 03-30-2009, 07:34 AM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. Replies: 0
    Last Post: 02-21-2002, 06:05 PM