-
Content count
65 -
Joined
-
Last visited
Everything posted by justsum13lse
-
You rock buddy.
- 200 replies
-
- eso
- zygorguides
-
(and 2 more)
Tagged with:
-
Do you need honorbuddy keys? If I bought one or two fresh honorbuddy keys and donated them, would that help? I haven't botted in a long time, but just like lurking on this site and the discord. offtopic - I was just curious, never heard anyone explain what actually happened to codedeception.com and how bossland got hold of it.
-
I just want to use this to make all the other pokemon players at work feel inferior. They are obsessed.
-
That works great. But I didn't explain well what I was trying to achieve. I was in the middle of studying and trying to figure it out with someone else in class. The goal of the project was to create a structure that asks for the first and last name, the student ID, and 3 test scores. The user can enter up to 10 names, or can end it at anytime when the user types in zz or ZZ. When the user types in zz or ZZ, the program should display everything you have entered up until that point. So if I had entered 3 names up until the point I entered ZZ, it would display John Smith 50.0 F Jerry Garcia 80.0 B Jane Doe 95.5 A I didn't know that the strcmp could be used in the fashion that you used it in. That really helped. I wasn't clear enough in explaining how my teacher wants the program to work. I was busy while I was asking for help on this board. But I almost have the program working correctly. Just a problem with the scanf that involves 2 strings I mention below. I also get bonus points if I can make the names display in alphabetical order. I am working on that. I tried a if(strcmp(s[a].l_name, s[a+1].l_name) < 0) s[a].temp = s[a].l_name; s[a].l_name = s[a+1].l_name; s[a+1].l_name = s[a].temp; haven't quite got it working yet. And I used some of your code, it was kind of what I was looking for. I used your if(strcmp(s[a].f_name, "ZZ") == 0) to break; else continue. But now I have a problem. On the line where it asks for first and last name by doing scanf("%s %s", &s[a].f_name, &s[a].l_name) if(strcmp(s[a].f_name, "ZZ") == 0) break; else { all the other stuff } but because of the scanf("%s %s"), it doesn't immediately break when the user hits enter. It waits for the seconds string to be entered. Once the second string is input by the user, it breaks and works exactly how I want it to. But I need it to break immediately when the user enters ZZ. I know I could do a scanf("%s", &s[a].f_name); if(strcmp(s[a].f_name, "ZZ") == 0) break; else scanf("%s", &s[a].l_name); instead of scanf("%s %s", &s[a].f_name, &s[a].l_name) if(strcmp(s[a].f_name, "ZZ") == 0) break; but according to the way I believe the teacher wants it, she wants to enter both names on the same line. This is what I have so far. This version works exactly the way I want it to, except for the waiting on the second string to be entered in the scanf I mentioned above. And also, it doesn't arrange the last names in alphabetical order yet. #include <stdio.h> #include <string.h> #include <stdlib.h> struct student{ char f_name[20]; char l_name[20]; char temp[20]; int id_num; float test1; float test2; float test3; }s[10]; int main(void) { char ch, grade; char temp; float average; int kids; int a; for(a=0;a<10;a++) { printf("Enter first name(ZZ to quit): "); scanf("%s %s", &s[a].f_name, &s[a].l_name); if(strcmp(s[a].f_name, "ZZ") == 0) break; else { printf("Enter student ID number: "); scanf("%d", &s[a].id_num); printf("Enter the 3 test scores: "); scanf("%f %f %f", &s[a].test1, &s[a].test2, &s[a].test3); } } a--; printf("Student\t\tStudent ID\tFinal Grade\n"); for(a;a>=0;a--) { average = (s[a].test1 + s[a].test2 + s[a].test3) / 3; if(average>= 90) grade = 'A'; else if(average>= 80 && average <90) grade = 'B'; else if(average>= 70 && average< 80) grade = 'C'; else if(average >= 60 && average<70) grade = 'D'; else grade = 'F'; printf("%s, %s\t%d\t\t%.2f \t%c\n", s[a].l_name, s[a].f_name, s[a].id_num, average, grade); } return 0; }
-
Ok, most of this code works. I am just trying to make an exit procedure if they put in ZZ or zz for the first name. I have tried a few different ways #include <stdio.h> #include <string.h> struct student{ char f_name[20]; char l_name[20]; int id_num; float test1; float test2; float test3; }s[10]; int main(void) { char ch; float average; int i; for(i=0;i<=1;i++) { printf("Enter first name(ZZ to quit): "); scanf("%s", &s.f_name); ch = s.f_name; if(ch== 'zz') break; else{ printf("Enter last name: "); scanf("%s", &s.l_name); printf("Enter student ID number: "); scanf("%d", &s.id_num); printf("Enter the 3 test scores: "); scanf("%f %f %f", &s.test1, &s.test2, &s.test3); } } i--; printf("Student\t\tStudent ID\tFinal Grade\n"); for(i;i>=0;i--) { average = (s.test1 + s.test2 + s.test3) / 3; printf("%s, %s\t%d\t\t%.2f\n", s.l_name, s.f_name, s.id_num, average); } return 0; } Everything works properly except the ZZ to quit. If anyone could throw some help I would appreciate it, as always. Thanks
-
Changed my i variable to a to hopefully avoid the italics that are created when I use an array of i. #include <stdio.h> #include <string.h> struct student{ char f_name[20]; char l_name[20]; int id_num; float test1; float test2; float test3; }s[10]; int main(void) { char ch; float average; int a; for(a=0;a<=1;a++) { printf("Enter first name(ZZ to quit): "); scanf("%s", &s[a].f_name); ch = s[a].f_name; if(ch== 'zz') break; else{ printf("Enter last name: "); scanf("%s", &s[a].l_name); printf("Enter student ID number: "); scanf("%d", &s[a].id_num); printf("Enter the 3 test scores: "); scanf("%f %f %f", &s[a].test1, &s[a].test2, &s[a].test3); } } a--; printf("Student\t\tStudent ID\tFinal Grade\n"); for(a;a>=0;a--) { average = (s[a].test1 + s[a].test2 + s[a].test3) / 3; printf("%s, %s\t%d\t\t%.2f\n", s[a].l_name, s[a].f_name, s[a].id_num, average); } return 0; }
-
I am attempting to make a program that rewrites a sentence backwards. It is freezing up at the beginning of the for loop. I am not sure if I am properly entering the array, or if the str[N] is even being recorded as an arrays through the gets function at the top. Any help is appreciated. It is recording my str of i array as italics. It is all supposed to be str[of i] but i changed it to j in the places it kept making it italics. just pretend all the str[arrays] are str [ of i]. #include <stdio.h> #include <string.h> #define N 35 int main(void) { char str[N]; int i, j, temp; int length; printf("Enter a sentence up to %d characters long.\n", N); gets(str); printf("The sentence entered is: \n"); puts(str); //Check to see if it is recording string. length = strlen(str); printf("%d", length);//Check to make sure it is recording the proper length for(i=0;i<length-1;i++)//Not sure if this is right. I tried "for(i=length;i>=0;i--) and it froze up. { do { //Not sure if strings and arrays are mixed, if if str is being recorded as an array above. temp = str[j]; //Beginning at the for statement to the end of its loop is where I need help. str[j] = str[i+length-1]; str[i+length-1] = temp; } } while{(str[i+length-1] !=str[j])} printf("%s", str); return 0; }
-
We haven't really messed with strings yet. Everything I have done with strings I have learned on my own. stdin, i have watched a video that had that in it. I know it stands for standard input. But I haven't used fgets at all. What exactly does fgets do? How does it differ from gets? I know fgets(<variable name>, <Value?>, <stdin? Have no idea>; Not sure what that line does. I understand the for(i = strlen(str), but I didn't know you could do it like that. Why is the "i >= ;"? I take it there was a 0 there and it didn't get printed on the message. But if you could explain the fgets to me, that would be helpful. I get the for loop. Does the array/string <code> str [ i ] </code> recognize the last character in the array as a /n, or press of the enter button? Is that recorded from the user input? Also, how do you enter code like you did above on this site? Some sites do it with <code></code>, but apparently this one doesnt. Thanks for the help. I kind of gets this. Nevermind on the fgets(variable, amount, stdin) I watched a video and see that stdin is the keyboard. But it records the last entry in the array as a \n?
-
I am pretty new to programming. I am taking my first CS class at college. I am having trouble understanding arrays. I am having trouble envisioning them. I have looked on the internet and can't really find anything that will help me. I am having trouble understanding the concept of creating something like array[ j ] I am making something like int main(void) { int array[5]; int i, j; for(i=0;i<5;i++) { printf("Row %d: ", i+1); for(j=0;j<5;j++) /* I understand that this lets me enter 5 numbers */ { scanf("%d", &array[ j ]); /* Does this now mean that the array will be populated by j? */ } } Part of my homework is to make a 2 dimensional array that adds the rows and the columns. I subscribe to chegg and have the answer below, but I am having a really hard time envisioning it and understanding it. The rowsum = rowsum+array[j] and colsum=colsum[j]+array[j]. Above I am just trying to make a program that just add the rows up. I understand the first for(i=0;i<5;i++) lets me enter 5 rows. The for(j=0;j<5;j++) lets me enter 5 numbers in each row. then the scanf("%d", &array[ j ]) populates the variable array with numbers from the variable j? Below I think I understand it to the point of the for(i=0;i<5;rowsum=colsum=0,i++). I assume that line means while i =0, and i < 5, rowsum of i equals colsum of i which is equal to 0, i++. But I don't really understand that last part. and I don't understand why they have the 2 following for statements after that line, or how the rowsum and colsum lines following those for statements work. I don't understand how it is adding the individual numbers up. I am having trouble with 1 dimensional arrays let alone 2 dimensional arrays. If anyone can help me or direct me to a decent website that goes in depth into arrays, I would greatly appreciate it. Thanks. #include <stdio.h> int main(void) { int i, j, array[5][5], rowsum[5],colsum[5]; for(i=0;i<5;i++) { printf("Enter row %d: ", i+1); for(j=0;j<5;j++) scanf("%d", &array[ i ][ j ]); } for(i=0;i<5;rowsum=colsum=0,i++); for(i=0;i<5;i++) for(j=0;j<5;j++) { rowsum[ i ]=rowsum[ i ]+array[ i ][ j ]; colsum[ j ]=colsum[ j ]+array[ i ][ j ]; } printf("\nRow Totals: "); for(i=0;i<5;i++) printf("%d\t", rowsum); printf("\nColumn Totals: "); for(i=0;i<5;i++) printf("%d\t", colsum); printf("\n"); return 0; }
-
And I am trying to figure out why this is returning me a value of 0. #include <stdio.h> int main(void) { int i; float total[5]={0}; float average; int score[5]; for(i=0;i<5;i++) { printf("enter a score: "); scanf("%d", &score); } for(i=0;i<5;i++) { total=total+score; } printf("Total = %d", total); return 0; }
-
This still work? I just started my trial of kapersky total security.
- 3 replies
-
- antivirus
- internet security
-
(and 1 more)
Tagged with:
-
There was a keygen posted on this site for AVG...might still be around. I used it a while back but all the keys started getting the message, "Oops, you are using an illegal version." First key i used lasted for months if not a year, then it lasted for a week, then an hour. Any updated keygen's for this program around? I really like Kapersky, and migh end up buying it. What do people think is some of the best anti-virus softwares out there these days?
-
When I try to run the executable, a box pops up mentioned visual studio 2013 redistributable package. I tried downloading and it had the option to repair, i tried repairing but cant get noob bot to pop up. I am sure i am missing something someone has covered somewhere, but I would appreciate any help.
-
When I start honorbuddy, and go into the plugins section to attempt to open up brodieman's compendium's menu to select what I would like it to do, nothing happens. The box that pops up for settings like most plugins have, quit popping up for brodieman's. Here is my log. I see something weird at the bottom, maybe that has something to do with it? Thanks for any help. _________________________ Nevermind...did some searching..just needed to delete the plugins\brodieman folder and restart, in case anyone else had this problem.
-
So all of the profiles I tried to run are faulty? I havent seen anyone complaining about them on the buddy forum. I understand one or two being faulty,but not all of them. I tried running like 4 or 5 different profiles. And grindbot has never really worked for me. I did get one really simple grindbot profile to work, but thats all, and it wasnt in the log. I dont really understand much about these things, and you definitely know what you are talking about. If anyone else has any ideas or thoughts, or similar problems, i'd love to know its not just me having issues.
-
Cant get grindbot to run when loading almost all profiles. Did get it to load one simple one, but all from that i try to load from the buddy store won't load, and I tried heizenbergs talbuk skinning profiles/nagrand profiles, and it won't load them either. gets stuck at loading tiles. here is a log. http://pastebin.com/Ap8H7ZNA Also, I have an actual honorbuddy key that I purchased. Can I post these logs on the honorbuddy site when using a code deception login? Or will they be able to tell I am using the CD version of honorbuddy? Thanks.
-
Here is another log...tried to run all kinds of different profiles. I know I only tried to let them load for 30 seconds or so this time,but the end result is the same everytime whether i let them load for 5 minutes or 30 seconds. Normally it only takes a few seconds for profiles to load...for some reason grindbot always gets stuck at loading tiles or loading profile. http://pastebin.com/KWmZBKgG Maybe this will shed a little more light on the situation. I have always had problems with grindbot. Never have got it to work.
-
I have a loading problem with all grinding profiles, buddystore profiles included. Ill try and load some profiles tomorrow, then post another log, and see if it sheds anymore light on this problem. This was just the one I tried loading at the time, and loaded it just to have a log to post.
-
I tried using this, and it does this weird thing where it locks up my WoW like every 2 or 3 seconds. I tried using it with some profiles, and kind of tested my plugins to make sure this is the one that was causing the problems, and it was. Anyone else have problems with this plugin locking up their wow every few seconds? I am not sure if its due to the locking up, but it makes whatever i am doing not work. I can run it again and post a log if someone is curious, but I was just curious if anyone else was having problems with it. Actually I had not ran it since new update. I just tried to run it, and got the message: theTramper timber !critial! | Error in Profile generation. Message: Welcome to theTramper Products. It seems you're a new user. Please restart Honorbuddy a few times until this message does not appear anymore. We're setting up your account in the meantime! And it pops up every 2 or 3 seconds. So I am guessing that when it ran last time, and it froze up every few seconds, that message was supposed to be popping up, and it just wasn't.
-
I had the same problem. I read it shows up as a false positive. You have to make an exception for it in your antivirus, or disable it while you run the cdpatcher.
-
Funny enough I actually had this same problem happen to me 2 days ago on a paid version of honor buddy, just without the getting killed. But the profiles not showing up. Deleting cache.bin fixed it for me. They all showed back up after that.
-
Wow that was an extremely fast reply. I have only really used honor buddy for kick's quest leveling bot, and just use it to get past some of the boring things. Reading his description of having it cut lumber for you in most zones was one reason I got it, but can't figure out how to get it runnin. Any help would be appreciated. I couldn't even really find any help on his actual plugin page. I do see it on the plugin page though. Scratch that. Got it working. Never really used a plugin before. Think I figured it out. Thank you for the extremely fast reply though.
-
I am new to Code Deception. Have a paid version of honor buddy but for various reasons came to code deception. Was trying to get Brodieman's premium plugin to work, and have it checked to be streamed on the CD page. I got some of the other plugins to work, but when I go to run the brodieman by attempting to select a profile from the buddy store, it just loads a blank page. I am probably missing something already explained on some page somewhere but I can't find it, and I appreciate any help anyone can offer. If you need a log, I will post one. Thanks.