1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

So I want to program

Discussion in 'All other topics' started by nopity, Oct 12, 2015.

  1. nopity

    nopity Member

    Joined:
    Feb 12, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    so i recently picked up a python book, but my question is whats happening when i type in "print <whatever>" like what is the actual code produced in that line to make it print? im going to get shutdown here, but im really curious because well, I want to program!

    thanks,
    nopity
     
  2. ddp

    ddp Moderator Staff Member

    Joined:
    Oct 15, 2004
    Messages:
    39,153
    Likes Received:
    134
    Trophy Points:
    143
    depends on the program language being used & why do you think you are going to be shutdown?
     
  3. nopity

    nopity Member

    Joined:
    Feb 12, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    i figured that but is there a way to find out what a line of code actually means? and just because people arent supposed to know that stuff.
     
  4. ddp

    ddp Moderator Staff Member

    Joined:
    Oct 15, 2004
    Messages:
    39,153
    Likes Received:
    134
    Trophy Points:
    143
    start reading books about programming as there is a number of different program languages out there like cobal, basic, visual basic & others. who says or said "people aren't supposed to know that stuff."?
     
  5. nopity

    nopity Member

    Joined:
    Feb 12, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    the man doesnt people knowing that stuff. but ill have to check around and look for something. thanks!
     
  6. ddp

    ddp Moderator Staff Member

    Joined:
    Oct 15, 2004
    Messages:
    39,153
    Likes Received:
    134
    Trophy Points:
    143
    who told you that because if he didn't want people knowing that then there would be no computers & smart phones?
     
  7. nopity

    nopity Member

    Joined:
    Feb 12, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    got me there
     
  8. ps355528

    ps355528 Active member

    Joined:
    Aug 17, 2010
    Messages:
    1,059
    Likes Received:
    26
    Trophy Points:
    78
    http://www.cplusplus.com/reference/cstdio/printf/

    Don't forget that for most uses these days "print" and "type" mean practically the same.. whereas decades ago "print" sent <whatever> direct to the printer spooler and "type" sent the output to the "screen" or "TTY" output
     
  9. nopity

    nopity Member

    Joined:
    Feb 12, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    ill keep that in mind, and thanks thats a cool piece of knowledge. :)
     

Share This Page