Monday, October 2, 2017

C# exception handling

c printf format

evaluation order

Saturday, September 30, 2017

easylanguage

AI library

AI library

  1. Build Simple AI .NET Library - Part 6 - ML Algorithms
  2. C/C++ Build Errors
  3. C - Error Handling
  4. Error Handling in C programs
  5. Error handling in C
  6. 131 Linux Error Codes for C Programming Language using errno
  7. Defining error codes
  8. Error handling in C code
  9. Error numbers
  10. Error numbers
  11. strerror, strerror_s, strerrorlen_s
  12. Errno Codes by Platform
  13. C Programming/Error handling
  14. errno.h - C Error Codes in Linux
  15. 2.2 Error Codes
  16. 2.3 Error Messages
  17. What is the correct way to implement error propagation in C?
  18. How to know what the 'errno' means?
  19. C naming suggestion for Error Code enums
  20. C Tutorial – Error Handling (Exception Handling)
  21. Error handling style in C (pixelstech.net)
  22. Exception Handling in C without C++
  23. CHAPTER 10 : Programming Usage
  24. : returning an error code from a function that has a pointer return type
  25. Error codes vs exceptions: critical code vs typical code
  26. Error Reporting
  27. The compiler errors and warnings
  28. mming Error Types – Runtime, Compile & Logical Errors C Programming Error Types – Runtime, Compile & Logical Errors
  29. Issues with compiling code on VC++6

Saturday, September 9, 2017

research on parser

research on parser. need to know what kind of math functions need to be included inside a language. research on EL to get basic grammar requirements as base line. math functions, string functions, array functions, list functions.

  1. muparserx - Math Parser Library
  2. muparser - Fast Math Parser Library
  3. Building Winning Algorithmic Trading Systems, + Website: A Trader's Journey From Data Mining to Monte Carlo Simulation to Live Trading (Wiley Trading) 1st Edition
  4. Trading Systems: A New Approach to System Development and Portfolio Optimisation
  5. TradeStation EasyLanguage Home Study Course 231 Color Page Book + CD
  6. TradeStation Made Easy!: Using EasyLanguage to Build Profits with the World's Most Popular Trading Software Paperback – April 5, 2011
  7. Building Winning Algorithmic Trading Systems, + Website: A Trader's Journey From Data Mining to Monte Carlo Simulation to Live Trading (Wiley Trading) 1st Edition
  8. Trading Systems: A New Approach to System Development and Portfolio Optimisation
  9. Monte Carlo – Estimate π (Pi) and Option Pricing
  10. Monte Carlo Simulation
  11. A High Performance Monte Carlo Integration Simulation Framework
  12. Cppcheck is a static analysis tool for C/C++ code
  13. ANSI C Lex grammar
  14. ANSI C Yacc grammar
  15. Free Grammars for Programming Languages
  16. ANSI C grammar, Lex specification
  17. ANSI C Yacc grammar
  18. C grammar in GCC source code
  19. C99 Lex/Flex & YACC/Bison Grammars
  20. ANSI C Yacc grammar
  21. ANSI C Yacc grammar
  22. Lex和Yacc应用方法(一).初识Lex
  23. Grammar List
  24. https://raw.githubusercontent.com/antlr/examples-v3/master/C/C/C.g

Friday, September 1, 2017

C fputs() function

C# Access

C NULL pointer

Saturday, June 24, 2017

visual C++ output folder setup

visual C++ output folder setup

Changing the Build Output directory
To change the build output directory
1. On the menu bar, choose Project, Appname Properties. You can also right-click the project node in the Solution Explorer and select Properties. If you have a Visual Basic project, select the Compile tab. If you have a Visual C# project, select the Build tab. If you have a C++ project or a JavaScript project, select the General tab.
2)In the configuration drop-down at the top, choose the configuration whose output file location you want to change (debug, release, or all). Find the output path entry (Build output path in Visual Basic, Output Directory in Visual C++, Output Path in JavaScript and C#). Specify a new build output directory relative to the project directory.

  1. How to: Change the Build Output Directory
  2. How can I change the default build output directory in Visual Studio?
  3. Change destination build directory in Visual Studio
  4. How to: Change the Build Output Directory
  5. Output path for build in visual studio 2010
  6. CONTROLLING WHERE VISUAL STUDIO PUTS FILES
  7. Basic Debugging with Visual Studio 2010
  8. What is size_t in C?
  9. size_t
  10. A FULL FEATURED EDITOR BASED ON THE RICHTEXT BOX

Saturday, June 17, 2017

Visual Studio C++ debugging

Visual Studio C++ debugging

  1. file as stdin in C in command line in visual studio
  2. error C2143: syntax error : missing ';' before 'type'
  3. Visual Studio only supports C89. That means that all of your variables must be declared before anything else at the top of a function.
    EDIT: @KeithThompson prodded me to add a more technically accurate description (and really just correct where mine is not in one regard). All declarations (of variables or of anything else) must precede all statements within a block.

  4. syntax error : missing ';' before 'type' IN C
  5. Invisible editor problem : '0xa0': this character is not allowed in an identifier
  6. code behaviour is strange

Friday, May 5, 2017

how to connect Windows 10 to my domain?

how to connect Windows 10 to my domain?

  1. How to Join a Windows 10 PC to a Domain
  2. Windows 10 Machine Cannot Connect to Domain; Others Can
  3. i can't see my domain computers
  4. Networked PC's are no longer viewable in File Explorer Network after the Win 10 Update 1511.
  5. find-domain-name-command-line/
  6. Topic: can't see Domain Controller - need help ASAP! (Read 11793 times)
  7. Windows 10 - Cannot Join Domain
  8. adding two entries in registry is not necessary. I removed them and flush DNS again.

  9. Windows 10 can't rejoin domain to Windows Server 2003
  10. [SOLVED] Can't join a client to Active Directory domain!
  11. I can Ping the server and the DC but cannot Join a computer to the domain
  12. Unable to contact DC to join a domain, yet I can ping by name & IP - ideas?
  13. I checked other machines in the network and find their ip address besides DCHP server address, DNS server IP address.
    GateWAy IP: 192.168.1.1
    DHCP server IP: 192.168.1.1
    DNS server IP: 192.168.1.102

  14. Cannot join domain - ip address set correctly to DNS server - please help!
  15. Cannot join client to domain (non virtual, DNS issue)
  16. So I manually set up the network property on Windows 10.
    For TCP/IP V4, I only set up DNS server and Alternate DNS server IP.
    For TCP/IP V6 version I leave it as default.
    When I set up DNS server IP, rightaway my Windows 10 machine finds my intranet. So everything look good.

  17. How To Change IP Address in Windows 10: A Visual Guide
  18. You may receive an “Access denied” error message when you try to join a client computer to a Microsoft Windows Small Business Server 2003 domain by using the ConnectComputer Wizard
  19. get quotes from the following article:
    "I had the exact same issue and all I did to fix it was to use the full login when it prompts me for the domain rights i.e. domainname\username. It may be an issue with the domain not resolving properly so also check that the correct domain is entered and that the computer actually has access to your domain controller. Try domainname instead of domainname.company.com."

  20. Can't join Win 7 to domain
  21. first page: user name: PEAKER domain name: mycompany.com

    here is the second page: computer name: peak
    my computer domain name is: intra.mycompany.com

    because I made some mistakes and I need to remove this client machine from this domain. then start joining process again.But the following article does not work.

    But Windows 10 itself give you prompt: use Peak\Local Computer Account to log in local computer. it works.

  22. Remove a Computer from a Domain
  23. I re-do all steps and join the Peak into intra domain. When I log in I got the error message saying can not load user profile etc. Then I find this post.

  24. You receive a "The User Profile Service failed the logon” error message
  25. How to fix " user profile can not be loaded" on Windows 10
  26. How o Fix corrupt user profile on Windows 10
  27. Fix: The User Profile Service failed the logon on Windows 10
  28. Windows 10: Fix “User profile cannot be loaded” Error
  29. How to Fix "User Profile Service service failed the sign-in. User Profile cannot be loaded." Error in Windows 8 and 8.1
  30. under my users folder, user administrator folder is empty. So I copied files under Peaker to administrator folder. not sure it is right, just for document purpose here. this administrator user I believe it is created when it is joined to intranet domain.

  31. 4.6.1. Structure of OS (Folders and Files)
  32. Windows 10 Tip: Manage Files and Folders with File Explorer
  33. How to view NTUSER.DAT file like in registry without using it?
  34. Moving/Copying User Profiles In Windows
  35. how-can-i-move-ntuser-dat-and-the-similar-files-and-yes-i-know-what-they-are
  36. 街拍:北京清凉潮女袒肩露背很性感!(组图) 图、文/@原生泰

VSPackage tutorials

VSPackage tutorials

    please note the future of this VSPackge.

  1. The Future of Visual Studio Extensions is Bright (and easier :)
  2. this is a good summary to VSPackage series.

  3. How to Create, Debug and Deploy Visual Studio Extension Packages
  4. this is very good introduction.

  5. Adventures in Visual Studio Extension Development: Part 1 - The Basics
  6. Adventures in Visual Studio Extension Development: Part 2 - Events
  7. this is a good advanced, detailed introduction

  8. VS 2010 Package Development – Chapter 1: Visual Studio Packages
  9. VS 2010 Package Development – Chapter 2: Commands, Menus and Toolbars
  10. Visual Studio 2010 Package Development Fundamentals
  11. others

  12. Visual Studio Extensions - from Add-in to VSPackage
  13. VSPackage makes Visual Studio Extensions easy
  14. How to create Visual Studio add-ins with VSPackages
  15. SPackage Tutorial 1: How to Create a VSPackage
  16. VSPackage Tutorial 2: How to Create a Tool Window
  17. VSPackage Tutorial 3: How to Extend the Tool Window
  18. VSPackage Tutorial 4: How to Integrate into the Properties Window, Task List, Output Window, and Options Dialog Box
  19. Tutorial: Simple VSPackage Deployment
  20. Tutorial 2– Creating Your First VSPackage
  21. the following are for Visual Studio 2012.

  22. Walkthrough: Creating a VSPackage (Part 1 of 4)
  23. Walkthrough: Creating a Tool Window (Part 2 of 4)
  24. Walkthrough: Extending the Tool Window (Part 3 of 4)
  25. Walkthrough: Integrating into the Properties Window, Task List, Output Window, and Options Dialog Box (Part 4 of 4)
  26. only one book from Amazon.com:

  27. Professional Visual Studio Extensibility
  28. Professional Visual Studio 2015 1st Edition

.NET code analysis tools

Thursday, April 13, 2017

Graphics card

Graphics card

  1. ardware Reference Guide - dc5800 Small Form Factor Model HP Compaq Business P
  2. AK818AW - HP Compaq dc5800 Small Form Factor PC
  3. HP Compaq dc5800 Small Form Factor Business PC
  4. HP Business dc5800 (Core 2 Duo E8400 3GHz, 2GB RAM, 160GB HD, Vista Business) S
  5. How can I find out which graphics card I have in my PC?
  6. How to Find Out What Graphics Card You Have
  7. What Graphics Card Do I Have?
  8. Checking the Graphics Card Specifications on Your Computer
  9. Finding out which graphics card and driver a Windows PC has
  10. Identifying the Graphics Card Model and Device ID in a PC
  11. Solved HOw to Test graphic card whether its working fine or not
  12. How to check graphics card memory in Windows 7, Vistas & 8
  13. Windows 10 - How to Check Which Graphics Card You Have
  14. How to find what graphics card you have
  15. Upgrade Your Graphics Card for Free
  16. the following link is a good tutorial and need a look:

  17. How to Disable the Onboard Graphics and Install a New Graphics Card in Your HP Pavilion 6630
  18. How to Disable Onboard Video & Install a Video Card
  19. how to disable on-board graphics card and install a new one
  20. How to switch from intel hd graphics to dedicated AMD or Nvidia graphics card
  21. Graphics Card Installation - Disabling the On Board Video
  22. Installing a Video Card - How To: Basics
  23. Disable Integrated Onboard Gaphics Card
  24. How to switch from intel hd graphics to dedicated AMD or Nvidia graphics card
  25. How to Switch between AMD & Intel Graphics + Graphics Comparison HD

Friday, March 17, 2017

computer science

finite state machine design

we can use state machine to control drawing sequence of chart control. an action item in future plan.

  1. Generic Finite State Machine Revisited
  2. CMake is an open-source, cross-platform family of tools
  3. The State Machine Compiler
  4. Ragel State Machine Compiler
  5. An Object-oriented Approach to Finite State Automata
  6. Finite State Machine and Multithreading using .NET
  7. XML Finite State Machine in C#
  8. steed.net download
  9. A .NET State Machine Toolkit - Part I
  10. A .NET State Machine Toolkit - Part II
  11. A .NET State Machine Toolkit - Part III
  12. State Machine Design in C++
  13. A Simple State Machine
  14. The State Design Pattern vs. State Machine
  15. State Machine Design in C++
  16. Generic Finite State Machine (FSM)
  17. StateProto - Interacting State Machines
  18. State Machines, in C++
  19. An XML- and State Machine-based Design of a WinForms Control
  20. State Machine - state pattern vs. classic approach
  21. Controlling Multiple Forms with a Finite State Machine
  22. State Machine Complier And Asp.net
  23. A Generic State Machine and Attempt to Generic Component
  24. StateProto - Saving and Restoring the State Machine
  25. A C# Turing Machine
  26. Another Generic State Machine
  27. Design Patterns 1 of 3 - Creational Design Patterns
  28. Design Patterns 2 of 3 - Structural Design Patterns
  29. Design Patterns 3 of 3 - Behavioral Design Patterns
  30. Generic DFA State Machine for .NET
  31. qf4net
  32. Finite State Machine with Sub-state
  33. Turn an Enum into a Simple State Machine
  34. StateProto Beta - State Chart Designer for Qf4Net
  35. A Deterministic Finite Automaton Class in C#
  36. akka : state machines
  37. Function Plotter, Playing with design patterns

c programming language specification

Friday, March 3, 2017

reading csv file

reading csv file

instructions:
<1>You only need to add a reference in your project to the file: FileHelpers.dll.
<2>Tip: remember to also copy the FileHelpers.xml file to get Intellisense support.

  1. download the zip package : FileHelper directly
  2. FileHelper 3.1v download
  3. FileHelpers v3.1 - Delimited (CSV) or Fixed Data Import/Export Framework