fix: replace imgur with s3 for english guide without conflict (#36053)

* fix: imgur to s3 for englsh guide without conflict

(cherry picked from commit 9c9f15abf4e755feab79ef7090dacdcf497ea7b6)

* fix: revert unrelated changes
This commit is contained in:
Ahmad Abdolsaheb
2019-05-20 21:24:51 +03:00
committed by Parth Parth
parent 18e15830d9
commit a16539becf
36 changed files with 66 additions and 66 deletions

View File

@@ -6,7 +6,7 @@ title: Preprocessors
As the name suggests Preprocessors are programs that processes our source code before compilation. There are a number of steps involved between writing a program and executing a program in C / C++. Let us have a look at these steps before we actually start learning about Preprocessors.
![Img](https://i.imgur.com/Pb0aTkV.png)
![Img](https://cdn-media-1.freecodecamp.org/imgr/Pb0aTkV.png)
You can see the intermediate steps in the above diagram. The source code written by programmers is stored in the file program.c. This file is then processed by preprocessors and an expanded source code file is generated named program. This expanded file is compiled by the compiler and an object code file is generated named program.obj . Finally the linker links this object code file to the object code of the library functions to generate the executable file program.exe .

View File

@@ -18,7 +18,7 @@ Tokens are the smallest units of a program which are important to the compiler.
* Textbook definition : Variables are named memory locations whose data can be altered.
* But I would like you to think of a variable to be something like a box, something like this :
![Img](https://i.imgur.com/YdbgWHL.png)
![Img](https://cdn-media-1.freecodecamp.org/imgr/YdbgWHL.png)
So, for example :
I'm shifting to a new place and I need to arrange my stuff in boxes . Thus there come 2 things to my mind **What kind of stuff will be stored in the box, so that the size off the box is known (the data type)** and **How do I identify the box ?(Naming the variable)**
@@ -181,7 +181,7 @@ If a variable is not initialized , it contains a garbage value. For example:
So in terms of boxes, you can imagine this as -
![Img](https://i.imgur.com/YdbgWHL.png)
![Img](https://cdn-media-1.freecodecamp.org/imgr/YdbgWHL.png)
```cpp
#include<iostream>