I typed the "Hello, World" program in the Ubuntu text editor. The file, 'hello' was saved to the documents folder, which I verified, is there.  However, the "c" compiler, version 7.4.0-1, cannot find 'hello.' Moreover, the program 'find' cannot find it either. I would appreciate any help you can give me.
I'm trying to write a basic program in C using gedit or sublime text (which I prefer), but no matter what I do when I try to compile or run, or even while writing, I have no option to use 'stdio.h' or any similar package. Even when I start typing #include &lt;st the only word completion sublime suggests is 'struct'.  I've read dozens of threads, but all managed to fix this by installing gcc, which I've tried to reinstall multiple times, with no luck.  This is the output from gcc -v:  Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.2.0-8ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3) `   This is the code:   #include &lt;stdio.h&gt;  int main(void) { printf("hello, world\n"); }   When I compile using gcc, I get nothing, no error at least. but when I try to run using just ./hello.c this is what I get.
How do I recover from the Heartbleed bug in OpenSSL? SEO regarding using separate  tags for the logo and website name Is is true &lt;h1&gt; tag should not have more than 1 on every page for SEO?   Every pages on the header, it includes and &lt;h1&gt; tag. Website Name which show an image from logo class, like this:  &lt;div id="header"&gt;   &lt;h1 class="logo"&gt;      &lt;a href="#"&gt;Website Name&lt;/a&gt;   &lt;/h1&gt; &lt;/div&gt;   and I also include &lt;h1&gt; on the contact page, help, etc and article page for example:  &lt;h1&gt;Contact Us&lt;/h1&gt; &lt;h1&gt;Name of the Article Title here&lt;/h1&gt;   On the homepage, it just has one &lt;h1&gt; for the logo Site Name... other pages have 2 &lt;h1&gt; tags If you cast Blindness/Deafness as a 3rd level spell, can you target one creature with both effects? Derivation of the general forms of partial fractions Fundamental particles identical or just differences very small? I have read that all electrons are identical and I assume the same for protons, etc. That is, all electrons are of the exact same mass and charge.  But do we really know this? Could there be slightly heavier electrons with slightly higher charge or is there a reason why such particles could not exist or would be unstable? How is canonicity of derivative works determined for Star Wars? Determining user's reputation as of particular date? I would like to programmatically - or with the API determine what a user's reputation is on a particular day. As such, I have found this link:   However, it does not outline a programmatic method to do so. Modulus with a negative number Uninstalling/reinstalling QGIS plugin where uninstall is disabled? Plugin Raster->TerrainAnalysis->slope which had initially worked, started showing what another questioner referred to as a "crazy histogram":   Before finding his question and the answer, I endeavored to uninstall and reinstall the plugin.  I found/still find (QGIS 2.0.1, now upgraded to QGIS 2.4, on Ubuntu 14.04), the plugin "uninstall" button grayed out/disabled.  It's working, but I am worried about having a plugin I installed that does not offer an option to be uninstalled.  Failing anything else I would be tempted to use the path information to rename the .so library and see if it disappeared. How does a spinning object "know" that it is spinning? I am constructing a thought experiment about a spinning object that is floating in intergalactic space.  I assume that this object is about the size of a planet so that it will have enough gravity so that a Foucault pendulum will work, although I'm not sure that this is necessary for the thought experiment.    I can easily determine that this object is spinning if I stand on the object and observe the galaxies around me rise and set.  Similarly, I can determine the axis of rotation.    For simplicity, I go to one of the poles of my object, and I set up my Foucault pendulum.  What will I see?  And why will I see it?  I assume that in intergalactic space, the gravity is very small (galaxies are very far away, and the mass of my object is very small compared to the mass of a galaxy) so that there will be little coupling between the gravitational field of my object and the gravitational field of the galaxies around me. How to delete a file from Time Machine backups in Big Sur? A list of inconveniences between quantum mechanics and (general) relativity? It is well known that quantum mechanics and (general) relativity do not fit well. I am wondering whether it is possible to make a list of contradictions or problems between them?  E.g. relativity theory uses a space-time continuum, while quantum theory uses discrete states.  I am not merely looking for a solution or rebuttal of such opposites, more for a survey of the field out of interest. Okay, maybe I'm missing something obvious but consider $h_n(x) = x^{ 1+ \frac{1}{2n-1}}$ on the set $[-1,1]$. Now consider a fixed $x \in [-1,1]$, we have:  $$\lim_{n\rightarrow \infty} h_n(x) = x \lim_{n \rightarrow \infty} x^\frac{1}{2n-1} = x$$  But my book says it's $|x|$? Why? In which countries are the visitor's first name and last name compulsory? My name consists of just a first name and no surname.  Will there be a problem regarding my name in the country I visit with a tourist or employment visa? Are there countries in the world where this might be a problem? Automatically resize uploaded images Possible Duplicate:             Could large images of more then 640 pixels wide automatically be resized to reduce loading time and band width use? Not that I have a prehistoric internet connection here, but sometimes pages seem to need unnecessary time to load fully.  I just resized the image  from 179 kb down to 32 kb using a 15% compression rate. I think that is already worth it, although there have been much bigger downsizes in the past.  This feature then propably should/could be combined with , and uploading an image then would result in the following post addition:  [![enter image description here][2]][1]  [1]: http://i.stack.imgur.com/ZSBxw.gif "View &lt;image title&gt; full sized" [2]: http://i.stack.imgur.com/VXmBA.jpg "&lt;Image title&gt;"   Update:  I now understand from  that images áre resized already, but that post authors have to do some changes themselves. Could it then be automated to add the already resized image (that with the l suffix):  [![enter image description here][2]][1]  [1]: http://i.stack.imgur.com/ZSBxw.gif "View &lt;image title&gt; full sized" [2]: http://i.stack.imgur.com/ZSBxwl.jpg "&lt;Image title&gt;" Which past tense of "to light" should I use here? I know that there are two ways to form the past tense of to light (i.e. lit/lighted). Which one is appropriate for the sentence below?     His thoughts lighted our way.   or     His thoughts lit our way. How do remove "Ignoring file in directory /etc/apt/sources.list.d/ as it has an invalid filename extension? Extended Euclidean Algorithm: backward vs. forward Does a capacitor store charge? There're some easy concepts which I don't get exactly in my mind. I'm afraid I've been studying these things for two years of my engineering but they still bother me. Capacitor is one of them. Can someone explain?    What does a capacitor do? Does it store charges? If so, then how does it do?   I have searched it on Google and Yahoo but didn't find any helpful thing there (for me). So I will be glad if I got my problem solved here.  P.S. I hope that the question would not again be an off-topic, as it always does and moreover people don't suggest then where to go. It's a real sad thing. Inheritance in Java - creating an object of the subclass invokes also the constructor of the superclass. Why exactly? I have a question about inheritance in Java.  I have two classes A and B , and class B, inherits from A:  public class A {      public A() {          System.out.println("Hi!");      } }   public class B extends A {      public B() {          System.out.println("Bye!");      }       public static void main(String[] args) {          B b = new B();      } }   When I run program B, the output is:  Hi! Bye!      Question : why the constructor of class A is invoked, when I create and object of class B ?    I know that B inherits everything from A - all instance or class variables, and all methods, and in this sense an object of B has all characteristics of A plus some other characteristics defined in B. However, I didn't know and didn't imagine that when I create an object of type B, the constructor of A is also invoked. So, writing this:  B b = new B();   creates Two objects - one of type B, and one of type A.  This is getting interesting,   can somebody explain why exactly this happens?