• How do I recover a word file after my computer crash?

    My friend computer crash and she was writing a book. She was using Microsoft word and she was signed in. I know she had saved it to her computer but I'm not sure she saved it to one drive. Since she was log into mircrosoft office the file should be found some where. She check google drive and google docs and it... show more
    My friend computer crash and she was writing a book. She was using Microsoft word and she was signed in. I know she had saved it to her computer but I'm not sure she saved it to one drive. Since she was log into mircrosoft office the file should be found some where. She check google drive and google docs and it wasn't there. Can someone help me please?
    14 answers · Google · 4 days ago
  • Can I change my IP address this way?

    Can I change my IP address this way?

    I need to change my public IP address, how would I go about doing that without calling my ISP? I hear it can't be done without changing providers. I got to a page by typing "http://192.168.0.1/" into my browser and logged in with my credentials. I found a settings page that gives me the option to... show more
    I need to change my public IP address, how would I go about doing that without calling my ISP? I hear it can't be done without changing providers. I got to a page by typing "http://192.168.0.1/" into my browser and logged in with my credentials. I found a settings page that gives me the option to release or renew my WAN lease, if I click release, will my IP be changed? If so, how long would I have no connection for? Because I share this network and would need it up tomorrow. My ISP is WOW! (Wide Open West) and my modem is a Motorola SBG6782-AC. I checked and my IP is static, if that makes a difference. I'd appreciate any help, I'm not very tech savvy..
    4 answers · Other - Internet · 2 days ago
  • Are you pretty much worthless if you have no Facebook friends?

    Everyone i know has over 1000 friends on fb and i only have 20. Am i a worthless pos loser?
    Everyone i know has over 1000 friends on fb and i only have 20. Am i a worthless pos loser?
    29 answers · Facebook · 1 day ago
  • Why do we have to pay for Microsoft?

    I bought a new laptop and I have to pay for Microsoft office. I remember when it was free why doesn’t this come with the laptop. I already pay an arm and leg for it.
    I bought a new laptop and I have to pay for Microsoft office. I remember when it was free why doesn’t this come with the laptop. I already pay an arm and leg for it.
    24 answers · Laptops & Notebooks · 2 days ago
  • What are some good, free VPN programs to use?

    Best answer: Hotspot Shield is a great free VPN program offering multiple free high speed servers in the US. They also do not have a limit on upload and download. I have used them in the past, don't expect to play games on the free servers, but for the most part you can. You'll get some lag and maybe a disconnect every... show more
    Best answer: Hotspot Shield is a great free VPN program offering multiple free high speed servers in the US. They also do not have a limit on upload and download.

    I have used them in the past, don't expect to play games on the free servers, but for the most part you can. You'll get some lag and maybe a disconnect every now and then. It really all depends how many people are using that specific server.
    9 answers · Computer Networking · 1 day ago
  • Best brand for a computer?

    Hi,i want to buy a very good computer but I don’t know what brand I should buy it from please help.
    Hi,i want to buy a very good computer but I don’t know what brand I should buy it from please help.
    13 answers · Desktops · 13 hours ago
  • In all honesty, should Donald Trump's Twitter account be suspended or deleted?

    Best answer: If I ran Twitter I'd be faced with a big dilemma here. I'm no sure what the rules are, the TOS, but I would bet you Trump has shredded them. On the other hand, he's a huge shot in the arm for Twitter. I bet Twitter has doubled in size in just the last six months.
    Best answer: If I ran Twitter I'd be faced with a big dilemma here. I'm no sure what the rules are, the TOS, but I would bet you Trump has shredded them. On the other hand, he's a huge shot in the arm for Twitter. I bet Twitter has doubled in size in just the last six months.
    12 answers · Other - Internet · 20 hours ago
  • How do i unlearn English?

    I want to wipe the slate clean. Any ideas?
    I want to wipe the slate clean. Any ideas?
    15 answers · Laptops & Notebooks · 3 days ago
  • Is there any other way to turn on a computer other than the one button they provide?

    It has been the very best computer ever, even though it is 7 years old now it stuiull is better than a brand new Dell, but the Gateway from the first day brand new, had a button to turn it on that was obviously a problem, and had to be sometimes held down and wiggled a little. But now I cannot get the computer to... show more
    It has been the very best computer ever, even though it is 7 years old now it stuiull is better than a brand new Dell, but the Gateway from the first day brand new, had a button to turn it on that was obviously a problem, and had to be sometimes held down and wiggled a little. But now I cannot get the computer to turn on at all, and this ministry just does not have the money to spend on paying someone to do something that I might be able to do myself, IF I had an idea of what to do. Please if someone has an idea please let me know, thank you
    11 answers · Desktops · 1 day ago
  • What is the AK-47?

    8 answers · Google · 2 hours ago
  • Which causes more cancer? Cigarettes? Or government approved vaccinations??

    Best answer: Cigarettes by a very large margin
    Best answer: Cigarettes by a very large margin
    14 answers · YouTube · 2 days ago
  • Is there any option on a samsung 4" tablet where the screen doesn t lock at all? It only sais maximum 30 mins...?

    Best answer: You can enable developer options, in "about device", I think it's the kernel version or Android version you tap 5 times, then you can set so the screen stays on as long as it's plugged in.
    Best answer: You can enable developer options, in "about device", I think it's the kernel version or Android version you tap 5 times, then you can set so the screen stays on as long as it's plugged in.
    3 answers · Laptops & Notebooks · 2 days ago
  • What is the actual point in using pointers?

    Best answer: 1) Pointers ARE NOT used to allocate memory. You are confusing 2 different questions: heap vs stack memory, and data types. A pointer is, technically, an address and nothing else (and from a language point of view it is a pair address/type) If you does this: int v; int *a=&v; a is a pointer. Yet, you've... show more
    Best answer: 1) Pointers ARE NOT used to allocate memory.
    You are confusing 2 different questions: heap vs stack memory, and data types.

    A pointer is, technically, an address and nothing else (and from a language point of view it is a pair address/type)

    If you does this:
    int v;
    int *a=&v;
    a is a pointer. Yet, you've not used to allocate memory. The value v is a value (in the stack; that is a local variable, allocated by the compiler). a is a pointer, that is also a value in the stack, but this value is to be understood as an address of some place in the memory. After I type a=&v, a is the address where v is stored (a is the address in the stack where the compiler decided to store v)

    2) Your code is not working
    You CANNOT type
    char *a;
    a='h';

    a is supposed to be the address of a variable. That is, a 32 bits integer, or even a 64 bits integer, on most machines.
    And what you are trying to store in it is a char (a 8 bits integer, usually representing an ASCII code)

    The only reason why it may compile in with some compiler (with certainly a warning) is because 8 is smaller than 32 or 64. So the is room to store 104 ('h' is another name of 104) in a variable that is supposed to contain a 32/64 bits address.

    But you could have then, as well, typed
    char *a;
    a=1234;
    it would make exactly as many sense (you store an int, 1234, in a variable declared as an address. Sure if you insist on doing it, with a warning, the compiler can do it, since, after all, an address is a sort of int. But that makes no sense.
    If you try afterward to use variable a as a pointer, for example by derefencing it, you will get a segmentation fault.
    For example, if you try to
    printf("%c\n", *a);
    as you should be able to do if a were a valid pointer, it will try to print the "char" stored at address 1234 of the memory (or at address 104 is a='h'), and chances are that those address do not belong to your process, so you get a segmentation fault (if you are very lucky, or, I should say, very unlucky, those address 1234 or 104 belong to your process, and you won't get a segmentation fault. But you code will do some BS, since, obviously printing the content of address 1234 or 104 was not at all your intention)


    3) The correct version of your code would rather be
    char *a;
    ...
    *a='h';
    (a is the address of a char. Hence *a is that char pointed by a. So you can change the value stored at address a by modifying *a)

    Without anything in place of the "...", though, that would also lead to a segmentation fault.
    Because, as all variables, its initial value is not specified.
    When you declare
    int v;
    v could have any random value, before you initiazed it with a value (a number) that makes sense.

    Likewise, when you declare
    char *a;
    a could have any random value before you initialize it with a value (an address) that makes sense.
    So if you try to read or write content of *a, you are trying to read or write the content of a random place (even maybe a non existing place) of the memory. That can't end well.

    So for example you could do this:
    char *a;
    char v='h';
    a=&v:
    *a='x";

    a is a variable of type "address of a char".
    v is a variable of type "char", whose value is 'h' (that is 104)
    a value (which was a random uninitialized value) is changed to the address of v.
    So, now, address of v is a. And its content is *a (hence *a is 'h')
    Then after the execution of
    *a='x'
    value stored at address a is change to 'x'.
    Since a is the address of v, that means that value of v has changed to 'x'.

    Of course, this has no interest at all (see later of interest). But that is how you use pointer.


    4) Another thing you could have in place of my "..." is a memory allocation
    char *a;
    a=malloc(1);
    *a='x';

    That is probably what you are referring to when saying "you need them to allocate memory". Because if you want to allocale memory in the heap, with malloc, then, since malloc return a pointer, you have no choice but using pointers to access this memory.
    There is no variable whose content is 'x' in this code. The only way to read (or replace) that 'x' is to access to *a


    So summary of all these 4 points: you have 2 questions here
    1) Why to I need pointers
    2) Why to I need "malloc" (or new in C++)

    5) For pointers, you need them whenever you want to give an address
    For example, if you want to write a function sqr, to compute the square of a number. You have two choices

    You could write
    int sqr(int x){
    return x*x;
    }
    So the square is computed, returned, and the caller may store the returned value in a variable itself, like this:
    int y=sqr(x);

    Or, you could, instead of using return values, say to function sqr : compute the square of this number (x) and store your self the result at this address (adr)
    void sqr(int x, int *y){
    *y=x*x:
    }

    So the caller does not store itself the result in a variable. Instead it gives sqr the address of a place where sqr is supposed to store the result. Like this:
    int y;
    sqr(x, &y);


    If you create a function whose results are two different values, that is pretty much your only choice. For example, if you want to compute both square and cube of a number. You could do this:
    int sqr(int x){
    return x*x;
    }
    int cube(int x){
    return x*x*x;
    }
    int a,b;
    a=sqr(x);
    b=cube(x);
    And use both. But that means that cube will compute x*x (x*x*x means (x*x)*x) that has already been computed.

    So, to avoid computation redundancy, you may want to do this:
    void sqrAndCube(int x, int *y, int *z){
    *y=x*x;
    *z=(*y)*x;
    }
    int a,b;
    sqrAndCube(x,&a,&b);



    There are far more clever examples than that, better reason to use pointer (for example, if you need a circular list)
    But that is a basic one.


    6) As far as "why malloc"
    That is "why to I need to allocate 'with pointer' memory, since all variables are allocated some place".
    Well sometimes you can't know while programming how many memory you will need.
    So there is no way you can allocate directly as a variable the memory.

    Plus, the stack has often a limited size. So if you need lot of memory, you can't put it is the stack (as local memory)
    And even if you can, it can slow down a lot the speed of processus if you use too much stack memory.
    7 answers · Programming & Design · 7 hours ago
  • What is wrong with my computer?

    Best answer: It sounds like there are several things that are contributing to your symptoms: 1) Your graphics driver is unstable. If it crashes, the screen will go black until Windows restarts the driver. 2) Roblox is probably clashing with the graphics driver in such away that the driver is not recovering after one of its... show more
    Best answer: It sounds like there are several things that are contributing to your symptoms:

    1) Your graphics driver is unstable. If it crashes, the screen will go black until Windows restarts the driver.

    2) Roblox is probably clashing with the graphics driver in such away that the driver is not recovering after one of its crashes. Are you sure that the computer has actually crashed completely, or is it limping along with no video output?

    3) It takes longer to start up after forcing it down by the power button. This suggests that you are running Windows 8, 8.1 or 10, and that a feature called 'fast start-up' is enabled. Fast start-up works by hibernating parts of the system during shutdown so that these parts can be fast loaded when you next start the computer. When you force the computer to shutdown by holding the power button until it stops, then the hibernation image is not created, and the computer has to reload all the components of Windows from the various folders in C: where they are stored. The computer might also need to do some repairs of the file system before it can run properly.

    I suggest you try and find a new graphics driver, perhaps from the graphics chip/card manufacturer or from the computer manufacturer, and see if this fixes the first two issues. If this is a computer that was upgraded from Windows 7 or 8.1 to 10, then it may be running a graphics driver that is not optimised for Windows 10. When I upgraded a laptop from 8.1 to 10, it black screened and would not recover. Fortunately it was a new PC, so I used the recovery partition to go back to 8.1, then I updated the graphics driver. After that the upgrade to 10 worked properly.

    The third issue (slower start-up) is normal after an improper shutdown. Personally, I have turned off the fast start-up feature on my PCs, but since I have moved C: from an HDDs to an SSDs on all my systems, fast start-up makes very little difference and my main PC takes around 15 seconds from hitting the power button to being able to start running programs.

    I hope this helps.
    16 answers · Security · 3 days ago
  • Would 32gigs of ram be overkill? If my motherboard can support it?

    Best answer: yes but go ahaead anyway.
    Best answer: yes but go ahaead anyway.
    9 answers · Desktops · 1 day ago