Thread: Share with us!

  1. #1
    Banned
    Join Date
    Jun 2005
    Posts
    594

    Share with us!

    Ok im starting this thread for the beinfit of everyone.

    i think alot of us know a subject in terms of programming
    very well, and i think that if we would share just one
    of these things that we know about a particular subject
    that we will all be smarter as a group and help people
    better.


    so if someone would like to start off on a topic,
    you can start by telling us what it is, what its use for,
    a example on how to use it, and how it works.

    thanks to all who help make this a useful thread.


    P.S.
    i decided to open this in general thread, even though
    it apply's to programming directly, because more then one
    language may be covered here, and it may not fall into a
    specific group such as networking / win32 / linux / game / etc.
    so please post anything to increase are knowledge.
    anything useful you have come across.

    and please please, dont give someone that post on this thread
    to much crap, if they made a mistake, or done something
    you dont think to be good practing point it out, with a correct
    correction politly, so the thread will move in a positive direction.
    Last edited by ILoveVectors; 08-24-2005 at 12:55 AM.

  2. #2
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    well, you could always write and send an article to the webmaster about a topic you feel particularly comfortable with and he will (most likely) post it on the main cprog page for everyone to see, not only the cboard members.

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    I guess axon's idea sort of messed up the idea of making ths a usefull thread, huh ILoveVectors?

    Anyhow, everything starts somewhere...

    I thought this might be usefull:

    Code:
    HWND TimeEdit; // Edit box that number is inputted
    int num; // Maximum digits in number
    char TransStart[num]; // Numer that is inputed in editbox
    int Countdown ; // Resualt number transalation
     
    GetWindowText(TimeEdit, TransStart, num);
    int Do;
    for(Countdown = 0, Do = 0; Do < num; Do++){
    if(TransStart[Do + 1] == '\0'){
    Countdown = Countdown + TransStart[Do] - '\x30';
    Do = 100; }
    else{
    Countdown = Countdown + TransStart[Do] - '\x30';
    Countdown = Countdown * 10; } }
    It converts a number in character format into int number format.

  4. #4
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    This might be of interest.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  5. #5
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >i think that if we would share just one
    >of these things that we know about a particular subject
    >that we will all be smarter as a group and help people
    >better.
    Some of us have web sites with tutorials for just this purpose.
    Last edited by Prelude; 08-24-2005 at 05:27 PM.
    My best code is written with the delete key.

  6. #6
    Banned
    Join Date
    Jun 2005
    Posts
    594
    good time to post them again then huh

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 03-08-2008, 05:42 AM
  2. Share Price monitor program
    By Finchie_88 in forum C Programming
    Replies: 2
    Last Post: 11-14-2007, 06:29 AM
  3. Win98 First Edition Share internet through router.
    By Bajanine in forum Tech Board
    Replies: 4
    Last Post: 10-17-2004, 02:43 AM
  4. Everybody share your site
    By Shadow in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 09-28-2004, 11:13 AM
  5. C++ Share Interface Problem
    By Morphios in forum C++ Programming
    Replies: 0
    Last Post: 04-28-2003, 07:30 PM