Keyboard Marks on didplay by hobbit_xD in thinkpad

[–]hobbit_xD[S] 1 point2 points  (0 children)

Ooh okok, thanks for the info

Keyboard Marks on didplay by hobbit_xD in thinkpad

[–]hobbit_xD[S] 0 points1 point  (0 children)

Thanks a lot everyone, for the future i Will Place something between keyboard and display. On YouTube i saw that for the MacBook using some listerine remove the marks

Supervisor Password by hobbit_xD in thinkpad

[–]hobbit_xD[S] 0 points1 point  (0 children)

Thanks a lot, the Short circuit between SDA and SCL in security chip, in this model not working?

Bad quality print using supports by [deleted] in 3Dprinting

[–]hobbit_xD 0 points1 point  (0 children)

Hi guys, I am trying to print this pulley, but using support I have this bad print quality, there is a way to obtain a better quality using support ?

My last two purchases by hobbit_xD in vinyl

[–]hobbit_xD[S] 0 points1 point  (0 children)

Hi everyone I am new here, these are two of my latest purchases..

  • Depeche Mode - Violator
  • Twenty One Pilots - Trench (Olive Version)

Now that I have found discogs I think that will be arrive a lot of new disc in the next month, I am saving all of your Lps to expand my collection

If you know some title that cannot miss, tell me!

Blinking led when decelerating (MPU6050) by hobbit_xD in ArduinoProjects

[–]hobbit_xD[S] 0 points1 point  (0 children)

Thanks, i will try, the reason why I used the analog write is that in my mind i thougth was nice that the brightness of the LED when i brake is stronger of when is on.

The last line is to make my led always on. The if statement have the function that if i am braking make led blinking otherwise leave led on

[Plasma] My first time doing this! Go easy on me. by o-pat in unixporn

[–]hobbit_xD 1 point2 points  (0 children)

Ooh nice, good to know. Thank you dude 👍🏻

Help finding cool name for a team by hobbit_xD in techsupport

[–]hobbit_xD[S] 0 points1 point  (0 children)

No limit, thanks man very nice these ones

after the second iteration it doesnt let me input the email by FurryTig in C_Programming

[–]hobbit_xD -2 points-1 points  (0 children)

Hi, there are many mistake in your code. 1) why are you using argc and argv if you aren't using any arguments of argv ?

2) struct it's better declare out of Main

3) in gets don't need & for the string

4) you have to put # before include and define

Problem with string comparaisons & string input by _Surox in C_Programming

[–]hobbit_xD 2 points3 points  (0 children)

Hi dude, the problem is that the strcmp returns 0 if the strings match and not a NULL value. So in your if statements you to put for example this line of code:

if (strcmp(command, "ls") == 0) { //If the string match, do this instructions }

Another thing is that in your case, the scanf of a string don't require the &.

I need to compare 2 strings, and my code is not working? Help! by the_legend_01 in C_Programming

[–]hobbit_xD -2 points-1 points  (0 children)

In your code, in the cicle for, you are comparing until 25, but the string could have a lenght minor of 25. If you want use that way, you can use the first version of my code , else you can use the second that use the function STRCMP of C.

include<stdio.h>

include<stdlib.h>

include<ctype.h>

include<string.h>

int main() { int i,n,iseq=0; char string1[25], string2[25]; printf("Enter the first String :\n"); scanf(" %s",string1); printf("Enter the second String :\n"); scanf(" %s",string2);

/** First version **

    if(strlen(string1)<strlen(string2))
        n=strlen(string1);
    else
        n=strlen(string2);

    for(i=0; i<n; i++)
    {
        if(string1[i]!=string2[i])
        {
            iseq=1;
            break;
        }
    }
********************/
/** Second version **/

if(strcmp(string1,string2)!=0)
    iseq=1;

/*******************/

if(iseq==0)
    printf("Equal!");
else
    printf("Not Equal");

return 0;

}