This is just about hello world in CPP

Using this I just want to check if the code highlight is there or not C++

Adding an image without using height and width

Cpp

Adding image using img tag with width and height

some randome name

Center align image

some randome name

Info

Cpp is awesome!

Code

C++ Hello world code


#include<iostream>
using namespace std;

int main(){
    cout<<"hello world "<<endl;
    cout<<"This is getting some update";
    return 0;
}

Add two number

int main(int a, int b) {
    // adds and returns the result
    return a + b;
}

Note

Do you have any notes.(give 4 space above to show the line in the next line)
This can be collapsed, use collapasable=true

Info

Cpp is awesome!

Danger

Cpp is awesome!

This is admonish success with title

Cpp is awesome! , this is with title, for that we need to use title="some title"

This is a bug

A code segmenent can also be made as a part of admonish block , but in that case the admonish block should be enclosed with ~~~ and code with ```

#include<iostream>
int main() {
    return null;

}

This is admonish tip

Cpp is awesome! , this is with title, for that we need to use title="some title"

This is admonish example

Cpp is awesome! , this is with title, for that we need to use title="some title"

This is admonish question

Cpp is awesome! , this is with title, for that we need to use title="some title"

This is admonish failure

Cpp is awesome! , this is with title, for that we need to use title="some title"

This is admonish quote

Cpp is awesome! , this is with title, for that we need to use title="some title"

This is admonish abstract

Cpp is awesome! , this is with title, for that we need to use title="some title"

Success without title

Adding code from a source code file

This code is coming from cpp_code/welcome.cpp file


#include<iostream>
using namespace std; 

int main() {

    cout<<"You are welcome to this world!";
}

Tip

For nesting code with admonish we can use ````(4) instead of ```(3), as done in the above example

Adding tables

MonthSavings
January$250
February$80
March$420