There was a problem writing code yesterday , I searched a blog , And then copy it to my WPF in ,

then , All wrong ( I was so angry at that time , One article has one that doesn't work , Tried again and again , It's a waste of time , No games , And the things they made didn't come out )

Question why :

① The blogger's code is not complete ( Then you have to change the article )

② Problems of sand sculpture blog , Before QQ There has been a similar situation on the Internet , Before I started blogging, I was QQ There was code in the space , There were problems after the results were published (QQ The code you sent me was added one more div)

The problem I met yesterday is the problem of blog , Copy the code into my VS in , At first I thought there was something wrong with the code , It took me about half an hour to find out “ Incorrect space ”, I've deleted the space that should be deleted , And the code inside the space between themselves with the space bar again , During the period, no letter was changed, and the problem of code error was solved .

Blog sometimes compiles the content you send in , The author sends the code in , And then you take it out and you have a problem , Generally, sometimes the letter should be capitalized. It becomes lowercase for you , It's more about spaces , So sometimes you need to pay more attention to the details when you write code , Bloggers usually send in works that can be used

Why do blogs sometimes copy code into their own VS More related articles with errors reported in

  1. To borrow Snippet Plugins beautify the code in blogs

    Writing blog , It's hard to avoid posting the code . But just post the code , It's not beautiful . therefore , A lot of code beautification plug-ins came into being . One of the more famous is Syntax Highlighting plug-in unit .   When I read it on the Internet, I found that Snippet ...

  2. Before, all the code in the blog was put in github On

    I've been hosting code in taocode On , It doesn't work anymore , So sort out the code , Unification is all in gibhub Yes . LALR(1) Parsing generator :https://github.com/kiven-li/xby ...

  3. About sublime The code in is highlighted and exported to the blog

    First step : open sublime Editor , Use shortcut keys ctrl+shift+p Call out control panel, Enter... In the input box that appears install, press return The second step : Then enter the plug-in name sublimehighlight ...

  4. Blog configuration Racket Code font

    I want to insert... In the blog Garden article Racket Code , But the code block and highlight of blog Garden are too ugly , If you can put the scribble/manual Of CSS In the document Racket The configuration of code block can have beautiful Racket The code is highlighted , ...

  5. stay hexo Static blog uses d3-cloud To show the tag cloud

    effect : http://lucyhao.com/tags/ hexo Self contained tag cloud It's not very beautiful , Want to be able to show “ cloud ” The label of the effect . Found... On the Internet d3-cloud This project ,github Address :ht ...

  6. Elegant use in personal blog Gitalk Comment plugin

    In the last blog < How do programmers from 0 To 1 Build your own technology blog > in , We learned how to quickly move from 0 To 1 Build a personal blog . In fact, careful you will find , The blog uses a comment plugin , The plugin is Gitalk. If you want to ...

  7. Repair in “Android stay ScrollView Embedded in ViewPage after ViewPage The problem of not working well is solved ” In this blog MyScrollView There will be no sliding up and down after sliding for a while

    stay “Android stay ScrollView Embedded in ViewPage after ViewPage The problem of not working well is solved ”, Most of the problems in this blog have been solved . The only regret is that ,ViewPage Anyone can work , however My ...

  8. How to integrate word Import the pictures and text in your blog

    Most bloggers are using Word Blogging is one of the things we all encounter 3 A pain points : 1. All blog platforms shut down the document publishing interface , User unavailable Word,Windows Live Writer And so on . Use Word Write ...

  9. How to word Insert the picture in CSDN Blog

    Most bloggers are using Word Blogging is one of the things we all encounter 3 A pain points : 1. All blog platforms shut down the document publishing interface , User unavailable Word,Windows Live Writer And so on . Use Word Write ...

  10. With pictures word Quick insert into blog

    Recently when I wrote in my blog , The most annoying thing is to word The whole document goes to the blog , You can't paste pictures all at once , When you add pictures again, you need to take a screenshot and find the right location to upload , Occasionally, I see someone doing this on the Internet , Good use of , Here I also make a note . ...

Random recommendation

  1. Generic array list ArrayList

    Why use a generic array list instead of a normal array ? 1. Ordinary arrays often have too much capacity to waste 2. Normal arrays cannot change arrays dynamically Basic concepts : 1. use [ Type parameter ] Of [ class ]---->[ Generic classes ] 2.[ The generic type ...

  2. Drools The rules

    1. Realize the separation of business logic and business rules , Realize the centralized management of business rules 2. Business rules can be changed dynamically , So as to quickly respond to changes in requirements 3. Business analysts can also participate in editing . Maintain the business rules of the system fact: An ordinary JavaBean Insert ...

  3. WPF MVVM Write a strong INotifyPropertyChanged Base class

    When we use MVVM It's time to achieve INotifyPropertyChanged, If you are based on .net4.5 Following framework(.net4.5 There are new features. I won't talk about them here ) You'll probably write that public ...

  4. Ecological Premium

    #include<bits/stdc++.h> using namespace std; int main() { int n,m; unsigned long long int a,b, ...

  5. [PA2014] [BZOJ 3709]~[BZOJ 3719] Collection

    Try to do a set of questions from today ~ ( Of course, it's because I'm disgusted by the biggest problem ) Is the total 10 Do the questions one by one   expect 3~4 I'll finish it in a few minutes Look forward to it [BZOJ 3709]Bohater You can feel the smell of greed at a glance Because it's intuitive ...

  6. ARM Learning notes 4—— Load storage instructions

    One . Word data transfer instruction effect : It is used to transfer single data into or out of a register . 1.LDR Instructions 1.1. effect according to <addr_mode> The determined address pattern is transferred from memory to a 32 Bit field is read to the destination register < ...

  7. jQuery Based on learning ( 3、 ... and )&mdash;jQuery Medium DOM operation

    One . Find node      Find attribute nodes : adopt jQuery To complete .      Operation attribute node : call jQuery Object's attr() To get its property value .      Manipulate text nodes : adopt text() Method ...

  8. DQM Serial Sync Index Program ERROR

    Error syncing hz_stage_party_sites_t1:ORA-20000:Oracle Text error : DRG-10502: Indexes AR.HZ_STAGE_PARTY_SITES_ ...

  9. ordinary JavaScript Image delay loading Library Echo.js

    Plug-in description : and Lazy Load equally ,Echo.js It is also used for image delay loading JavaScript. The difference is Lazy Load Is based on jQuery Plug in for , and Echo.js Don't depend on jQu ...

  10. Can&#39;t find model &#39;en&#39;

    In the use of nlp = spacy.load("en") Report errors OSError: Can't find model 'en' Should use the python -m spacy download e ...