Skip to content

Article Writing

Discuss writing articles, add your requests for articles here, or search for ideas for a new article.

This category can be followed from the open social web via the handle article-writing@forum.codeproject.com

5.4k Topics 12.4k Posts
  • Fully owner draw interface

    graphics help tutorial question
    4
    0 Votes
    4 Posts
    0 Views
    R
    Hi there, what about your tutorial ? I think I could give you a few tips building up applications without using standard-classes. I have done a lot of work developing classes to handle bitmap-buttons, button-groups and so on, owner-drawn-displays ... And believe me - they are fast ( only Win32-API used ) So if you need some help writing a good tutorial - just write a short mail and I will see if I could do something for you! Greatings Mario /// --------------------- www.klangwerker.de mario@klangwerker.de ---------------------
  • How does a good coder... code?

    c++ java debugging performance tutorial
    5
    0 Votes
    5 Posts
    0 Views
    L
    > Hungarian notation is almost universally hated by people with lots of experience Make sure we do not confuse *experience* with *age*. Lots of the "older" crowd that I know, that were coding before the advent of (reverse) hungarian notation, or other common naming conventions, tend to not like it. The same goes for most of the Unix-heads that I know and have worked with. The ones that were "raised" on it, however, tend to like it. Personally, I can speak from (bad) experience that nothing is worse than having to go through someone else's code who thinks that all variables should start with an "_", and then just have no naming convention whatsoever. Can you tell me anything about the following variables (besides their names)? _Id _RetValue _StatusValue _BookObject What types are they? Pointers? Objects? Basic Types? Member Variables? How about these? m_iId _dwRetValue m_bStatusValue _pBookObject Even without knowing exactly what convention is in use, you know more about these identifiers than you did with the ones above. When dealing with smaller projects, it is not such a big deal. When dealing with megabytes of production-server-quality code, that little bit of knowledge can save LOTS of time (and money). But I agree with the fact that using a naming convention does not make one a great coder. There are still people out there that may know all of the naming conventions, use them all the time, but still do stupid stuff like writing functions that take complex, or memory-intensive objects by value instead of by reference, or taking a _bstr_t as a parameter when a BSTR would do fine (and not require the allocation and deallocation of memory). You have to learn the right thing to do, and then do it. Practice does not make perfect. Practice makes habit (age reference). *Perfect* practice makes perfect. Good coders are concerned about both stability/robustness and speed. Good code is fast. Good code is robust. A few things (most) good coders do (by no means a complete list): o Comment their code *well* o *Always* initialize o *Always* check any pointers before use o *Always* check any return codes/values o Never confuse NULL with NUL o Know when to use a temporary (and when NOT to) o Never use "catch( ... ) { /* Do Nothing */ }" o Know how to read a crash-dump (or at least how to read the registers to know if you dereferenced a NULL, or had garbage data, etc.) o If accepting a poi
  • Report Writer!!

    c++ question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Master of Magic

    help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Browser Helper Object Code required

    help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    L
    there is a bug in IE 5.00 only one helper "No soup 4 U" ;-) read this http://support.microsoft.com/support/kb/articles/Q229/9/70.ASP
  • Visual Controls

    graphics tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Browser Helper Object Code required

    help tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • The system tray icon

    tutorial c++ help announcement
    2
    0 Votes
    2 Posts
    0 Views
    M
    There are articles here at CP on this topic: http://www.codeproject.com/shell/cjbtaskbarapplet.asp http://www.codeproject.com/shell/systemtray.asp --Mike-- http://home.inreach.com/mdunn/ "That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas."   --Buffy
  • jpeg to bmp conversion and vice versa

    c++ question
    3
    0 Votes
    3 Posts
    0 Views
    C
    see: www.smalleranimals.com/isource.htm -c
  • param edit

    visual-studio csharp
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • web spider script wanted

    c++ tools help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Window DLL to detect wm_message of an active window

    help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Resizing a dialog

    help
    3
    0 Votes
    3 Posts
    0 Views
    T
    Thanks Mike. It works! :)
  • Getting file info runtime

    help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Custom font app

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Web folder view in WinExplorer

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • How to change a console window's font?

    graphics json tutorial question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • news: protocol

    question announcement
    4
    0 Votes
    4 Posts
    2 Views
    S
    Thanx, this is what I need...
  • Sending msg to Pager thru ASP

    question
    2
    0 Votes
    2 Posts
    2 Views
    L
    there is a pager class on codetools http://www.codetools.com/library/wfc.asp however most pagers can be communicated with by dialling to the service provider and sending a alphanumeric message once connected. ie like you would if you was using a touch tone phone Holy Handgrenade of Antioch instructions