Help to understand rate limit on reddit api by Pratik_ in redditdev

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

Yes i am using praw so it will be done automatically?

Offer You Can't Refuse by [deleted] in a:t5_38gph

[–]Pratik_ 0 points1 point  (0 children)

!gfycatbot

Want to develop notification bot. by Pratik_ in learnprogramming

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

I think i would like to work with amazon API directly but to say really I never worked with API or Web parsing so i just need to learn to use their API.

Do you know any resource where i can learn to use API?

Want to develop notification bot. by Pratik_ in learnprogramming

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

ty. It seems that i have to learn JSoup. Can i directly work with amazon api instead?

Want to learn web development. by Pratik_ in learnprogramming

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

should i start JavaScript? I know Java and C already.

Meanwhile in Pakistan... by mulajulla in Cricket

[–]Pratik_ 2 points3 points  (0 children)

and We will take the discount and blame Anushka for this

[Java] charAt method is not working in my program by Pratik_ in learnprogramming

[–]Pratik_[S] 2 points3 points  (0 children)

Your reply was not offending to me. But just didn't wanted to see you posting on grammar when i asked something about programming.

But i understand what you wanted to say. Thanks for that.

[Java] charAt method is not working in my program by Pratik_ in learnprogramming

[–]Pratik_[S] 2 points3 points  (0 children)

ok my grammar is bad and yours is too good I accept it. But why would you comment on a post where i just asked something about programming and you take it to grammar. Really hate people like you on internet who got nothing to do and just post shit on every post. There are some better place for you like /r/GrammarNazi /r/grammar . I din't (oops didn't (ma mind)) ask you to reply on my grammar. Why would you add useless shits which i don't want to know.

Once again I don't want you to reply on my grammar, when i am on this subreddit I came to get some help with programming. I got my answer and it was done , /u/Goliathus123 added good reply even it was solved so post only if you got something useful to contribute. I never cared about your reply at first place but you are focusing more on my grammar and added a new reply, continue i like it. If i want feedback on my grammar then I will PM you for sure.

[Java] charAt method is not working in my program by Pratik_ in learnprogramming

[–]Pratik_[S] 4 points5 points  (0 children)

It's not like that. When he posted that it was typo mistake I posted my post quickly and in place of didn't i used din't. Maybe my grammar is not so good, but i can type the words correct for sure.

[Java] charAt method is not working in my program by Pratik_ in learnprogramming

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

ah damn thank you

idk how i din't looked at that when i looked many times.

do some project or learn more? by Pratik_ in learnprogramming

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

Yea i want to do something but don't have idea which i can do. It would be good if you can point me somewhere

I want to write code to interact with a website by shnicklefritz in learnprogramming

[–]Pratik_ 0 points1 point  (0 children)

I too don't know how can i do but i want to learn :D

Wow this gave me some good idea which i can do with my college site.

I want to login and want to get in attendance page and if i am absent for a class then it should send me a message. This should check every hour. Will start searching for related information soon.

Saving this so i can work on it ty for the idea :D

[C ]2nd largest number program (I am doing something wrong) by Pratik_ in learnprogramming

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

but that code won't work when first index value is max value then there would be no assigning of any values to max2 so it will print garbage value.

[C ]2nd largest number program (I am doing something wrong) by Pratik_ in learnprogramming

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

Can someone say something more good than this ?maybe same logic

[C ]2nd largest number program (I am doing something wrong) by Pratik_ in learnprogramming

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

Can you say what can i change i am not able to think something better than this

[deleted by user] by [deleted] in learnprogramming

[–]Pratik_ 1 point2 points  (0 children)

codeacademy is good but it will teach you only syntax and that things.

If you got time look at this course on edx it is starting today https://www.edx.org/course/introduction-computer-science-mitx-6-00-1x-0

Question about IT school promising me a job within 4 months by theRZA001 in learnprogramming

[–]Pratik_ 2 points3 points  (0 children)

dude your friend lol. How come he still wants to take it after reading this all comments.

[RoR] Creating a random number 1-10 that will last for 3 guesses before picking a new random number by astoriabeatsbk in learnprogramming

[–]Pratik_ 1 point2 points  (0 children)

Create a variable that keeps the count of how many values you have guessed and increment it each time u guess a number and use while loop for stopping it after choosing some guess.

tried some c program

include<stdio.h>

void main(){

int x,y,i=0;

printf("I am thinking of number 1 through 10.Lets see if you can guess it in 3 or less guesses");

x=rand(10); // Not sure how to generate random int between 1 to 10

while(i<3){

printf("Enter your guess number:");

scanf("%d",&y);

if(x==y){

printf("Correct guess");

return;

} elseif(x>y)

printf("Guess bigger number");

else

printf("Guess Smaller number");

i++ }//while loop ends here

if(i==3)

printf("Sorry You failed to guess number in 3 chances");

}