Guest User

Untitled

a guest
Jun 23rd, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. public int ID { get; set; }
  2.  
  3. // accessor and setter for ID property
  4.  
  5. for( int i = m ; i < n; ++i) { // "loop from m to n" is a pointless comment
  6.  
  7. char* p = getP() ; // set p to getP, pure noise.
  8. if( p ) // if p does not eqaul null, pure noise
  9.  
  10. int a &= 0x3; // a is bitwise or'd with 0x303, pure noise
  11. // mask off all but two least significant bits,
  12. //less noisy but still bad
  13. // get remainder of a / 4, finally a useful comment
  14.  
  15. //**************************************************************************************************
  16. //
  17. /// @brief
  18. /// @details
  19. /// @param
  20. /// @return
  21. /// @sa
  22. //
  23. //**************************************************************************************************
  24.  
  25. // Process list by running through the whole list,
  26. // processing each node within the list.
  27. //
  28. void processList (tNode *s) {
  29. while (s != NULL) { // Run until reached end of list.
  30. processNode (s); // Process the node.
  31. s = s->nxt; // Move to next node.
  32. }
  33. }
  34.  
  35. // Process list (or rest of list if you pass a non-start node).
  36. //
  37. void processList (tNode *currentNode) {
  38. // Run through the list, processing each node.
  39.  
  40. while (currentNode != NULL) {
  41. processNode (currentNode);
  42. currentNode = currentNode->nextNode;
  43. }
  44. }
  45.  
  46. #region Connect to the database
  47. // ....
  48. #endregion
  49.  
  50. #region Prepare tables
  51.  
  52. #region Cache tables ...
  53.  
  54. #endregion
  55.  
  56.  
  57. #region Fix column names ...
  58.  
  59. #endregion
  60.  
  61. #endregion
Add Comment
Please, Sign In to add comment