Note that there are some explanatory texts on larger screens.

plurals
  1. USLorenzo Donati
    primarykey
    data
    text
    <p><br/></p> <ul> <li>Former research and teaching assistant.</li> <li>Former SW developer in a research institution.</li> <li>Currently teacher in a technical high-school. </li> </ul> <p><br/></p> <hr> <p>Before you ask a question...: <br></p> <ul> <li><a href="http://www.whathaveyoutried.com" rel="nofollow">What Have You Tried?</a> </li> <li><a href="http://xyproblem.info/" rel="nofollow">The XY problem</a></li> </ul> <p>If you enjoy Electronics: <br></p> <ul> <li><a href="http://www.eevblog.com/" rel="nofollow">EEVblog website</a> </li> <li><a href="http://www.youtube.com/user/EEVblog/videos" rel="nofollow">EEVblog YouTube channel</a></li> <li><a href="http://sound.westhost.com/articles.htm" rel="nofollow">ESP articles</a></li> </ul> <hr> <p>Should one of my students read this... <img src="http://i.stack.imgur.com/WCxBw.gif" alt="enter image description here"></p> <p>Yes, I know you can get help <img src="http://i.stack.imgur.com/w1WNX.gif" alt="enter image description here"> for your homework from the Internet <img src="http://i.stack.imgur.com/bKZLz.gif" alt="enter image description here">, but I usually get you ... sooner or later. <img src="http://i.stack.imgur.com/eqdlk.gif" alt="enter image description here"> <br/></p> <p>Once a former student of mine managed to smuggle a smartphone in the classroom during a written test <img src="http://i.stack.imgur.com/phpTH.gif" alt="enter image description here">. After reading his test <img src="http://i.stack.imgur.com/eXUCS.gif" alt="enter image description here"> it took me about 5 minutes to find the exact URL of the crap <img src="http://i.stack.imgur.com/0MARg.gif" alt="enter image description here"><img src="http://i.stack.imgur.com/QBQtI.gif" alt="enter image description here"> he put on his sheet (20+ years-old pre-standard C++ code with non-standard includes). <img src="http://i.stack.imgur.com/lBJNq.gif" alt="enter image description here"> <br/></p> <p><strong>Remember :</strong> Internet is full of free stuff ... and <strong>crappy stuff is particularly free</strong> <img src="http://i.stack.imgur.com/NPq5V.gif" alt="enter image description here">. Thus choose wisely what you are "borrowing" <img src="http://i.stack.imgur.com/SUx9M.gif" alt="enter image description here">. <br/><br/></p> <p>Of course feel free to <strong><em>learn</em></strong> from what you find on StackOverflow (and other StackExchange network sites)! You could manage to outsmart me and get better grades! <img src="http://i.stack.imgur.com/DsUvy.gif" alt="enter image description here"></p> <p>Happy Coding (or SW/HW Hacking)! <img src="http://i.stack.imgur.com/IZ1Vx.gif" alt="enter image description here"></p>
    plurals
    1. CO@Jens As for your 2nd comment: I'm not completely convinced I said something really wrong. As I stated, this should be a WIKI entry that can be digested also by newbies, and I think what I said was clear. I'll reread the whole thing to see if I can be still clearer without making the wording too heavy on the reader.
      singulars
    2. CO@Jens thanks for your comments! As I said I'm not a super-expert and I wasn't aware of that `register` thing (I never had to write C code where that was needed). In the context where I've cited it I needed a quick and dirty example and that seemed appropriate (as I stated: C is full of pitfalls! :-). I'll try to add something to hint about that in that spot.
      singulars
    3. COGreat question! That sentence should gain the first prize for fogginess! I'm not a native English speaker, so I cannot be 100% sure, but my English skills are quite advanced and I'm still puzzled by that word "only". I can't decide to what other terms it refers. *Only* C99 uses latitude? *Only* certain aspects are treated with latitude. GCC does not use latitude *only* for signed `<<`? This latter seems the best interpretation, but then what "certain aspects": possible UBs causes are just a couple, it would have been much simpler to say what GCC currently does and warn about future changes!
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload