# Can anyone look at the image and tell me why it is showing this error, I am very new to root as well as coding

**URL:** <https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077>\
**Category:** Newbie\
**Created:** [January 13, 2023, 12:43am UTC](https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077 "2023-01-13T00:43:33Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lovish\_Sharma](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/lovish_sharma/32/32106_2.png) [@Lovish\_Sharma](https://root-forum.cern.ch/u/Lovish_Sharma)\
**Post date:** [January 13, 2023, 12:43am UTC](https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077/1 "2023-01-13T00:43:33Z")

</div>

_ROOT Version:_ 6.26/10  
_Platform:_ ubuntu  
_Compiler:_ Not Provided

* * *

![Root querry](https://root-forum.cern.ch/uploads/default/original/3X/3/6/361c85916c1e3c1e6ef0a514d3a9f513e80f0c42.png)

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [January 13, 2023, 7:38am UTC](https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077/2 "2023-01-13T07:38:13Z")

</div>

Welcome to the ROOT Forum!  
You have an error on the fist line of your `tut.c` file. If you want us to give more information, please attach your file here

---

<div class="post-metadata">

**Author:** ![Lovish\_Sharma](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/lovish_sharma/32/32106_2.png) [@Lovish\_Sharma](https://root-forum.cern.ch/u/Lovish_Sharma)\
**Post date:** [January 13, 2023, 6:31pm UTC](https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077/3 "2023-01-13T18:31:07Z")

</div>

Thank you for you response, here is my file and also with my sample you will also be able to analyze my level. Thank you.

 ![Screenshot_20230113_235725](https://root-forum.cern.ch/uploads/default/original/3X/0/1/0169f46ae3468bcf412ec58d84083d71446c746a.png)

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [January 13, 2023, 7:46pm UTC](https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077/4 "2023-01-13T19:46:28Z")

</div>

You have a double `""` in the line 2.  
Also, rename your file into “`hello.cpp`”.

---

<div class="post-metadata">

**Author:** ![Lovish\_Sharma](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/lovish_sharma/32/32106_2.png) [@Lovish\_Sharma](https://root-forum.cern.ch/u/Lovish_Sharma)\
**Post date:** [January 13, 2023, 8:40pm UTC](https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077/5 "2023-01-13T20:40:10Z")

</div>

Thank you very much sir.

---

<div class="post-metadata">

**Author:** ![Lovish\_Sharma](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/lovish_sharma/32/32106_2.png) [@Lovish\_Sharma](https://root-forum.cern.ch/u/Lovish_Sharma)\
**Post date:** [January 13, 2023, 8:46pm UTC](https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077/6 "2023-01-13T20:46:38Z")

</div>

Hello sir, it is still not working here are the pictures of my program and the errors with it

 ![Screenshot_20230114_021454](https://root-forum.cern.ch/uploads/default/original/3X/e/3/e3a556692dfef5addbebc2bcd51472f632603e0c.png)  
 ![Screenshot_20230114_021517](https://root-forum.cern.ch/uploads/default/original/3X/6/0/60e7a1521cffb4fcd01fb228df1149674fbd1c99.png)  
 ![Screenshot_20230114_021540](https://root-forum.cern.ch/uploads/default/original/3X/e/8/e862cfa9e101b3c6b2666fd03cb5285e50496421.png)

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [January 13, 2023, 8:54pm UTC](https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077/7 "2023-01-13T20:54:11Z")

</div>

[ROOT Primer](https://root.cern/primer/)

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [January 16, 2023, 8:30am UTC](https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077/8 "2023-01-16T08:30:14Z")

</div>

Given the error messages you get, it seems your file `/home/lovish/hello.cpp` (the one you are running) is wrong and does not correspond to the file `hello.cpp` you are showing here. The file you show is in `~/Desktop` .

---

<div class="post-metadata">

**Author:** ![Lovish\_Sharma](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/lovish_sharma/32/32106_2.png) [@Lovish\_Sharma](https://root-forum.cern.ch/u/Lovish_Sharma)\
**Post date:** [January 18, 2023, 12:49am UTC](https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077/9 "2023-01-18T00:49:09Z")

</div>

hello sir can you please explain more about what is wrong and tell me the steps on how to remove this error (as you can already see my level of coding in the above pictures aswell)

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [January 18, 2023, 8:21am UTC](https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077/10 "2023-01-18T08:21:43Z")

</div>

You are not running the `.cpp` file you are editing. Try:

```auto
$ cd ~/Desktop
$ root hello.cpp

```

---

<div class="post-metadata">

**Author:** ![Lovish\_Sharma](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/lovish_sharma/32/32106_2.png) [@Lovish\_Sharma](https://root-forum.cern.ch/u/Lovish_Sharma)\
**Post date:** [January 18, 2023, 8:51pm UTC](https://root-forum.cern.ch/t/can-anyone-look-at-the-image-and-tell-me-why-it-is-showing-this-error-i-am-very-new-to-root-as-well-as-coding/53077/11 "2023-01-18T20:51:52Z")

</div>

Thank You so much Sir
