Skip to content

Commit

Permalink
Fix dead links
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Jan 11, 2018
1 parent 683b408 commit 1237ef1
Show file tree
Hide file tree
Showing 111 changed files with 306 additions and 306 deletions.
6 changes: 3 additions & 3 deletions content/CppAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ objects are in [namespace](CppNamespace.md) [boost](CppBoost.md).
- [std::bind2nd](CppStdBind2nd.md)
- [boost::bind](CppStdBind.md)
- Member function adapters
- [std::mem\_fun](CppMem_fun.md)
- [std::mem\_fun\_ref](CppMem_fun_ref.md)
- [boost::mem\_fn](CppMem_fn.md)
- [std::mem\_fun](CppStdMem_fun.md)
- [std::mem\_fun\_ref](CppStdMem_fun_ref.md)
- [boost::mem\_fn](CppStdMem_fn.md)
- Pointer to function adapter
- [std::ptr\_fun](CppStdPtr_fun.md)
- [Negaters](CppNegater.md)
Expand Down
2 changes: 1 addition & 1 deletion content/CppAppend.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

Appends two containers using the [algorithm](CppAlgorithm.md)
[std::copy](CppStdCopy.md) and a
[std::back\_inserter](CppBack_inserter.md)
[std::back\_inserter](CppStdBack_inserter.md)



Expand Down
2 changes: 1 addition & 1 deletion content/CppBooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ for a book, pay attention to the following:
* It should use '[int](CppInt.md) [main](CppMain.md)' instead of '[void](CppVoid.md) [main](CppMain.md)' [1-5]
* It should use '[string](CppStdString.md)', instead of '[char](CppChar.md) \*' [6-10]
* It should use '[vector](CppStdVector.md)', instead of [arrays](CppArray.md) [6-10]
* It should use '[cout](CppStdCout.md)', instead of '[printf](CppPrintf.md)' (which is an unsafe C function)
* It should use '[cout](CppStdCout.md)', instead of '[printf](CppStdPrintf.md)' (which is an unsafe C function)
* It should not encourage the use of [macro](CppMacro.md)'s [11,12]
* It should encourage the use of [const](CppConst.md)[13-17]

Expand Down
2 changes: 1 addition & 1 deletion content/CppBoostFormat.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


[boost::format](CppFormat.md) is the type-safe alternative of
[std::printf](CppPrintf.md)(see example below).
[std::printf](CppStdPrintf.md)(see example below).



Expand Down
2 changes: 1 addition & 1 deletion content/CppBoostLexical_cast.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type](CppDataType.md). [CanLexicalCast](CppCanLexicalCast.md) can


The [C++11](Cpp11.md) equivalent to [convert](CppConvert.md) to a
[std::string](CppStdString.md) is [std::to\_string](CppTo_string.md).
[std::string](CppStdString.md) is [std::to\_string](CppStdTo_string.md).



Expand Down
14 changes: 7 additions & 7 deletions content/CppBoostMem_fn.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@



([C++](Cpp.md)) [boost::mem\_fn](CppMem_fn.md)
([C++](Cpp.md)) [boost::mem\_fn](CppStdMem_fn.md)
================================================



[boost::mem\_fn](CppMem_fn.md) is an [adapter](CppAdapter.md),
[boost::mem\_fn](CppStdMem_fn.md) is an [adapter](CppAdapter.md),
intended to be more flexible than [STL](CppStl.md)
[adapters](CppAdapter.md) like [std::mem\_fun](CppMem_fun.md) and
[std::mem\_fun\_ref](CppMem_fun_ref.md).
[adapters](CppAdapter.md) like [std::mem\_fun](CppStdMem_fun.md) and
[std::mem\_fun\_ref](CppStdMem_fun_ref.md).



[boost::mem\_fn](CppMem_fn.md) can often replace both
[std::mem\_fun](CppMem_fun.md) and
[std::mem\_fun\_ref](CppMem_fun_ref.md).
[boost::mem\_fn](CppStdMem_fn.md) can often replace both
[std::mem\_fun](CppStdMem_fun.md) and
[std::mem\_fun\_ref](CppStdMem_fun_ref.md).



Expand Down
Binary file added content/CppBoostSignalExample2.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions content/CppBubbleSort.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@



[BubbleSort](CppBubbleSort.md) is a [sorting](CppSort.md) [code
[BubbleSort](CppBubbleSort.md) is a [sorting](CppStdSort.md) [code
snippet](CppCodeSnippets.md) to perform a bubble sort. Prefer to use
the [STL](CppStl.md) [algorithm](CppAlgorithm.md)
[std::sort](CppSort.md).
[std::sort](CppStdSort.md).



Expand All @@ -41,7 +41,7 @@ BubbleSort test


The code below tests [BubbleSort](CppBubbleSort.md) by checking if it
yields the same results as [std::sort](CppSort.md).
yields the same results as [std::sort](CppStdSort.md).



Expand Down
2 changes: 1 addition & 1 deletion content/CppBug.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ A bug taxonomy from [The Dodgy Coder](http://www.dodgycoder.net/2011/11/yoda-con
* Sorcerer's apprentice mode bug: a [bug](CppBug.md) in a protocol where, under some circumstances, the receipt of a message causes multiple messages to be sent, each of which, when received, triggers the same bug
* Mad girlfriend bug: a [bug](CppBug.md) whose immediate effect remains hidden - the app outwardly seems to function normally and tells you that everything is fine
* Excalibur bug: when all of the developers within a company have tried to fix a particular [bug](CppBug.md) but none have succeeded, so far
* Load-bearing [printf](CppPrintf.md) bug: when a line of debug output is required for the code to work - the code does not function if you remove it
* Load-bearing [printf](CppStdPrintf.md) bug: when a line of debug output is required for the code to work - the code does not function if you remove it

2 changes: 1 addition & 1 deletion content/CppClassExample.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ An [example class](CppClassExample.md) is an example of a
- [Question](CppQuestion.md)
- [QuestionDialog](CppQuestionDialog.md)
- [Rainbow](CppRainbow.md)
- [RandomCode](CppRandomCode.md)
- [RandomCode](CppStdRand.mdomCode.md)
- [RaspberryPi](CppRaspberryPi.md)
- [Rectangle](CppRectangle.md)
- [RichelBilderbeekProgram](CppRichelBilderbeekProgram.md)
Expand Down
4 changes: 2 additions & 2 deletions content/CppCodeSnippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ me when one snippet does not ([view my E-mail address](Email.png))
23. [Newick](CppNewick.md)
24. [Normal Distribution](CppNormalDistribution.md)
25. [QTableWidget](CppQTableWidget.md)
26. [Random Number](CppRandomNumber.md)
27. [Sort](CppSort.md)
26. [Random Number](CppStdRand.mdomNumber.md)
27. [Sort](CppStdSort.md)
28. [Statistics](CppStatistics.md)
29. [std::cin](CppStdCin.md)
30. [std::cout](CppStdCout.md)
Expand Down
6 changes: 3 additions & 3 deletions content/CppCompileError_algoCcallToUndefinedFunctionRand.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ Project type: Console Application


The [compiler](CppCompiler.md) cannot find the function rand (note that
it does not complain that it cannot find [std::rand](CppRand.md)). But
it does not complain that it cannot find [std::rand](CppStdRand.md.md)). But
it will only need rand when making use of the function above. For
example, when you use [std::random\_shuffle](CppRandom_shuffle.md).
example, when you use [std::random\_shuffle](CppStdRand.mdom_shuffle.md).



Expand All @@ -92,7 +92,7 @@ Solution

It is not a good idea to modify standard [header
files](CppHeaderFile.md). But the [compiler](CppCompiler.md) cannot
find rand, but it can find [std::rand](CppRand.md). So I add the
find rand, but it can find [std::rand](CppStdRand.md.md). So I add the
[namespace](CppNamespace.md) [std](CppStd.md) to rand. And I have
never had trouble with this.

Expand Down
2 changes: 1 addition & 1 deletion content/CppCstdioH.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ from the GNU ISO C++ library's [cstdio.h](CppCstdioH.md) supplied with
21. [std::getchar](CppGetchar.md)
22. [std::gets](CppGets.md)
23. [std::perror](CppPerror.md)
24. [std::printf](CppPrintf.md)
24. [std::printf](CppStdPrintf.md)
25. [std::putc](CppPutc.md)
26. [std::putchar](CppPutchar.md)
27. [std::puts](CppPuts.md)
Expand Down
2 changes: 1 addition & 1 deletion content/CppCstdlibH.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Creator](CppQtCreator.md) 1.3.1):
17. [std::mbstowcs](CppMbstowcs.md)
18. [std::mbtowc](CppMbtowc.md)
19. [std::qsort](CppQsort.md)
20. [std::rand](CppRand.md)
20. [std::rand](CppStdRand.md.md)
21. [std::realloc](CppRealloc.md)
22. [std::srand](CppStdSrand.md)
23. [std::strtod](CppStrtod.md)
Expand Down
2 changes: 1 addition & 1 deletion content/CppCstringH.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ file](CppHeaderFile.md)
in string
- [std::strcmp](CppStrcmp.md): compare two strings
- [std::strcoll](CppStrcoll.md): compare two strings using locale
- [std::strcpy](CppStrcpy.md): copy string
- [std::strcpy](CppStdStrcpy.md): copy string
- [std::strcspn](CppStrcspn.md): get span until character in string
- [std::strerror](CppStrerror.md): get pointer to error message
string
Expand Down
4 changes: 2 additions & 2 deletions content/CppDomain_error.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ mathematically invalid domain is used.

[std::domain\_error](CppDomain_error.md) is a [derived
class](CppDerivedClass.md) from
[std::logic\_error](CppLogic_error.md).
[std::logic\_error](CppLogic_error.md) is a [derived
[std::logic\_error](CppStdLogic_error.md).
[std::logic\_error](CppStdLogic_error.md) is a [derived
class](CppDerivedClass.md) from [td::exception](CppException.md).


Expand Down
6 changes: 3 additions & 3 deletions content/CppExceptionH.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ file](CppHeaderFile.md), containing the
in the [exception hierarchy](CppExceptionHierarchy.md) (incomplete
list):

- [std::bad\_alloc](CppBad_alloc.md)
- [std::bad\_alloc](CppStdBad_alloc.md)
- [std::bad\_cast](CppBad_cast.md)
- [std::bad\_exception](CppBad_exception.md)
- [std::bad\_typeid](CppBad_typeid.md)
Expand All @@ -29,8 +29,8 @@ list):
- [std::invalid\_argument](CppInvalid_argument.md)
- std::ios\_base::failure
- [std::length\_error](CppLength_error.md)
- [std::logic\_error](CppLogic_error.md)
- [std::out\_of\_range](CppOut_of_range.md)
- [std::logic\_error](CppStdLogic_error.md)
- [std::out\_of\_range](CppStdOut_of_range.md)
- [std::overflow\_error](CppOverflow_error.md)
- [std::range\_error](CppRange_error.md)
- [std::runtime\_error](CppRuntime_error.md)
Expand Down
32 changes: 16 additions & 16 deletions content/CppExerciseNoForLoops.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ In this exercise you must replace **[for](CppFor.md)**-loops by using a
combination of all those algorithm things like
[std::for\_each](CppStdFor_each.md), [std::transform](CppTransform.md),
[std::bind1st](CppStdBind1st.md), [std::bind2nd](CppStdBind2nd.md),
[std::multiplies](CppMultiplies.md) and more of the likes. It is up to
[std::multiplies](CppStdMultiplies.md) and more of the likes. It is up to
you to find the correct combination.


Expand Down Expand Up @@ -132,7 +132,7 @@ Replace the **[for](CppFor.md)**-loop. You will need:

- [std::bind2nd](CppStdBind2nd.md)
- [std::for\_each](CppStdFor_each.md)
- [std::multiplies](CppMultiplies.md)
- [std::multiplies](CppStdMultiplies.md)



Expand Down Expand Up @@ -161,7 +161,7 @@ Question \#1: [AddTwo](CppAddTwo.md)

Replace the **[for](CppFor.md)**-loop. You will need:

- [std::back\_inserter](CppBack_inserter.md)
- [std::back\_inserter](CppStdBack_inserter.md)
- [std::bind2nd](CppStdBind2nd.md)
- [std::plus](CppStdPlus.md)
- [std::transform](CppTransform.md)
Expand Down Expand Up @@ -194,7 +194,7 @@ Question \#2: [Multiply](CppMultiply.md)
Replace the **[for](CppFor.md)**-loop. You will need:

- [std::bind2nd](CppStdBind2nd.md)
- [std::multiplies](CppMultiplies.md)
- [std::multiplies](CppStdMultiplies.md)
- [std::transform](CppTransform.md)


Expand Down Expand Up @@ -224,7 +224,7 @@ Question \#3: [Add](CppAdd.md)

Replace the **[for](CppFor.md)**-loop. You will need:

- [std::back\_inserter](CppBack_inserter.md)
- [std::back\_inserter](CppStdBack_inserter.md)
- [std::bind2nd](CppStdBind2nd.md)
- [std::plus](CppStdPlus.md)
- [std::transform](CppTransform.md)
Expand Down Expand Up @@ -257,8 +257,8 @@ Question \#4: Widget::DoIt on Widget
Replace the **[for](CppFor.md)**-loop. You will need:

- [std::for\_each](CppStdFor_each.md)
- [std::mem\_fun\_ref](CppMem_fun.md) (or
[boost::mem\_fn](CppMem_fn.md))
- [std::mem\_fun\_ref](CppStdMem_fun.md) (or
[boost::mem\_fn](CppStdMem_fn.md))



Expand Down Expand Up @@ -289,8 +289,8 @@ Replace the **[for](CppFor.md)**-loop. You will need:

- [std::bind2nd](CppStdBind2nd.md) (or [boost::bind](CppStdBind.md))
- [std::for\_each](CppStdFor_each.md)
- [std::mem\_fun\_ref](CppMem_fun.md) (or
[boost::mem\_fn](CppMem_fn.md))
- [std::mem\_fun\_ref](CppStdMem_fun.md) (or
[boost::mem\_fn](CppStdMem_fn.md))



Expand Down Expand Up @@ -320,7 +320,7 @@ Question \#6: Widget::DoIt on Widget\*
Replace the **[for](CppFor.md)**-loop. You will need:

- [std::for\_each](CppStdFor_each.md)
- [std::mem\_fun](CppMem_fun.md) (or [boost::mem\_fn](CppMem_fn.md))
- [std::mem\_fun](CppStdMem_fun.md) (or [boost::mem\_fn](CppStdMem_fn.md))



Expand Down Expand Up @@ -351,7 +351,7 @@ Replace the **[for](CppFor.md)**-loop. You will need:

- [std::bind2nd](CppStdBind2nd.md) (or [boost::bind](CppStdBind.md))
- [std::for\_each](CppStdFor_each.md)
- [std::mem\_fun](CppMem_fun.md) (or [boost::mem\_fn](CppMem_fn.md))
- [std::mem\_fun](CppStdMem_fun.md) (or [boost::mem\_fn](CppStdMem_fn.md))



Expand Down Expand Up @@ -410,7 +410,7 @@ Question \#9: [Product](CppProduct.md)
Replace the **[for](CppFor.md)**-loop. You will need:

- [std::accumulate](CppStdAccumulate.md)
- [std::multiplies](CppMultiplies.md)
- [std::multiplies](CppStdMultiplies.md)



Expand Down Expand Up @@ -440,7 +440,7 @@ Question \#10: Widget::DoIt on boost::shared\_ptr<Widget>
Replace the **[for](CppFor.md)**-loop. You will need:

- [std::for\_each](CppStdFor_each.md)
- [boost::mem\_fn](CppMem_fn.md)
- [boost::mem\_fn](CppStdMem_fn.md)



Expand Down Expand Up @@ -628,7 +628,7 @@ Question \#16: [Reciprocal](CppReciprocal.md)
Replace the **[for](CppFor.md)**-loop. You will need:

- [std::bind1st](CppStdBind1st.md)
- [std::divides](CppDivides.md)
- [std::divides](CppStdDivides.md)
- [std::transform](CppTransform.md)


Expand Down Expand Up @@ -660,7 +660,7 @@ Question \#17: [Halve](CppHalve.md)
Replace the **[for](CppFor.md)**-loop. You will need:

- [std::bind2nd](CppStdBind2nd.md)
- [std::divides](CppDivides.md)
- [std::divides](CppStdDivides.md)
- [std::transform](CppTransform.md)


Expand Down Expand Up @@ -724,7 +724,7 @@ Replace the **[for](CppFor.md)**-loop. You will need:

- [std::bind2nd](CppStdBind2nd.md)
- [std::greater](CppStdGreater.md)
- [std::multiplies](CppMultiplies.md)
- [std::multiplies](CppStdMultiplies.md)
- A conditional [std::accumulate](CppStdAccumulate.md)


Expand Down
2 changes: 1 addition & 1 deletion content/CppExerciseNoForLoopsAnswer0.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Replace the for-loop. You will need the following:

- [std::for\_each](CppStdFor_each.md)
- [std::bind2nd](CppStdBind2nd.md)
- [std::multiplies](CppMultiplies.md)
- [std::multiplies](CppStdMultiplies.md)



Expand Down
2 changes: 1 addition & 1 deletion content/CppExerciseNoForLoopsAnswer1.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Question \#1: [AddTwo](CppAddTwo.md)

Replace the **[for](CppFor.md)**-loop. You will need:

- [std::back\_inserter](CppBack_inserter.md)
- [std::back\_inserter](CppStdBack_inserter.md)
- [std::bind2nd](CppStdBind2nd.md)
- [std::plus](CppStdPlus.md)
- [std::transform](CppTransform.md)
Expand Down
2 changes: 1 addition & 1 deletion content/CppExerciseNoForLoopsAnswer10.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Question \#10: Widget::DoIt on [boost::shared\_ptr](CppShared_ptr.md)<Widget&
Replace the **[for](CppFor.md)**-loop. You will need:

- [std::for\_each](CppStdFor_each.md)
- [boost::mem\_fn](CppMem_fn.md)
- [boost::mem\_fn](CppStdMem_fn.md)



Expand Down
2 changes: 1 addition & 1 deletion content/CppExerciseNoForLoopsAnswer16.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Question \#16: Reciprocal
Replace the [for](CppFor.md)-loop. You will need:

- [std::bind1st](CppStdBind1st.md)
- [std::divides](CppDivides.md)
- [std::divides](CppStdDivides.md)
- [std::transform](CppTransform.md)


Expand Down
2 changes: 1 addition & 1 deletion content/CppExerciseNoForLoopsAnswer17.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Question \#17: Halve
Replace the [for](CppFor.md)-loop. You will need:

- [std::bind2nd](CppStdBind2nd.md)
- [std::divides](CppDivides.md)
- [std::divides](CppStdDivides.md)
- [std::transform](CppTransform.md)


Expand Down
2 changes: 1 addition & 1 deletion content/CppExerciseNoForLoopsAnswer19.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Replace the **[for](CppFor.md)**-loop. You will need:

- [std::bind2nd.htm](CppStdBind2nd.md)
- [std::greater.htm](CppStdGreater.md)
- [std::multiplies.htm](CppMultiplies.md)
- [std::multiplies.htm](CppStdMultiplies.md)
- A conditional [std::accumulate](CppStdAccumulate.md)


Expand Down
2 changes: 1 addition & 1 deletion content/CppExerciseNoForLoopsAnswer2.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Question \#2: [Multiply](CppMultiply.md)
Replace the [for](CppFor.md)-loop. You will need

- [std::bind2nd](CppStdBind2nd.md) (or [boost::bind](CppStdBind.md))
- [std::multiplies](CppMultiplies.md)
- [std::multiplies](CppStdMultiplies.md)
- [std::transform](CppTransform.md)


Expand Down
Loading

0 comments on commit 1237ef1

Please sign in to comment.