khalilov
Members-
Content Count
281 -
Joined
-
Last visited
-
Days Won
1
Everything posted by khalilov
-
K i made a password function void password(A){ char x;for(i=0;i<6;i++){x=getch();A[i]=x;printf("*");}}So that part is covered, i still need however the structure for dates :/ if i want to write: x=date();Whats the type of variable x? Iam assuming it has to be structiure, on some sites they had a structure containing minutes/month/years/hours but i didn't understand them. Is there a function to just get a year or a month or hour? i can make my own date function if i get those. If they exist what are they and in what libraries can i find them?
-
Ask An Open Question 404 (and A Confused Noob)
khalilov replied to tpog's topic in Web Hosting Support
You need atleast 5 posts so that mycents appears, you also need to sign up at xisto with the same email you signed up here. Note that you can make an acount at Xisto with the same emal and you can gain mycents from both forums(it is legal). It might take up to 4 hours for your mycents to update due to security issues since mycents is pretty much considered as real money. If you are planning on a forum only website i suggest the logical plan with no extras, 1k MG space and 10GB of bandwitch should be enough. But if you are making a photo hosting site or a site with alot of downloads/graphics i suggest getting more BW. If you have any more questions concerning the way mycents work feel free to ask, if you have a question about hosting services it might be better to submit a ticket at Xisto before asking here. I submitted several tickets and they respond in <24 hours. -
if you surf the 20 seconds on easyhits4u you get 1 credit, the 0.5 credit is for 15 second surf. If you pay money to get prenium days their you will get 1 credit for 15 seconds surf. So basicly surf the 20seconds for a whole credit per surf.As for the 30~40 second surfs, you can uncheck them in acoutn settings. That way you can surf faster and have higher chances to win contests
-
meh, i'll just 5.2. Iam guessing the fact that i got the program along with like 50 others for 1$ didn't help either:P. Even though the library exists its probably missing some functions.Thanks guys.
-
Maybe deleting posts doesn't affect post count, perhaps also the credit earning formula has been modified to suite the new mycents system, maybe posts are worth less credits now.
-
Hope that explains it =), you probably replied to some posts which were deleted.
-
If you are making a logging system in a C++ program you don't want the password you are writing to appear in characters right? making it appear as stars is alot better. #include<stdio.h> #include<conio.h>char x; void password(char A[]){int i=0;for(i=0;i<6;i++){flushall();x=getch();A[i]=x;printf("*");} }void main(){char A[6];password(A);} First of all declare a character globally or locally inside the function it doesn't matter. But you must declare the array inside the main or globally. The only parameter needed in the function is the array. As for the length for the array, i put it as 6 , you can change it. Notice inside the function it is important to put flushall() to clear to buffer otherwise some leftover characters might rune the password function. Also make sure to put the length of the loop equal to the size of the password. As for how it works its simple, by using the getch() function we get a character,put it in x and then put it in A[0], the process is repeated until the entire array is full. Each time you input a character '*' is printed and the cycle is repeated. You can replace the '*' with X if you want or any other character, but * is used in most programs. The main downer in the way i wrote this function is that it has a fixed length, the password needs to be exactly 6 in this case. And pressing 'Enter' would be considered a character inside the password, you can however fix that by doing a check for the ascci code of the inputed character. I think the ascci code of 'Enter' is 13 if my memory serves me well.
-
Compiling NONAME00.CPP:Error NONAME00.CPP 5: Call to undefined function 'msleep' in function main() As for why i made that loop i just copied and pasted it =), thats how its mentioned in the help files. And it doesn't work XD EDIT: btw i have borland turbo C++ version 4.5 if it helps, but i doubt it since like i said its mentioned in the help files and there for it must exist in this version
-
Now iam famous XD When you get >100 mycents, 100 are deducted. So it is impossible to get negatives when you are credited 1$ in your xisto acount. Hence the reason they went down is because posts made by you were deleted. Your myearnings decreased because you were at negative, i had 6$ and mycents were -65. So myearnings became 5.35$ or something. Negatives are deducted from your xisto acount otherwise i'd spamm 100$, get credit for them , mycents would be set to -100k but it wouldn't affect the 100$ i already gained. Could someone also add current balance? cuz myearnings is the total amount of $ gained, itd be hard to keep deducting all the months of payment i paid =)
-
I dunno about front page, but if you want to make a website you need to know basic programing, i suggest these sites: http://www.tizag.com/phpT/syntax.php http://www.maketemplate.com/ http://www.w3schools.com/PHP/php_ajax_intro.asp They teach CSS, basic and advanced php along with many other languages, they are all what you need to start from scratch, i learnt everything from their and here on Xisto. So if you encounter a problem, don't be shy to ask for help. Edit: Could someone please post some screenshots of these premade scripts? i already made one but if find a better one i'd use it. What features other than premade scripts are their?
-
/* sleep example */#include <dos.h>#include <stdio.h>int main(void){ int i; for (i=1; i<5; i++) { printf("Sleeping for %d seconds\n", i); sleep(i); } return 0;} I have turbo C++, i found this in its help file shouldn't it work?, when i run it i get: Compiling NONAME00.CPP:Error NONAME00.CPP 8: Call to undefined function 'sleep' in function main() I tried library <time.h>, doesn't work. In which library is sleep() function?
-
The guy before me said it gives sound, my friends also told me so. Iam guessing this is a problem with my computer =), maybe a problem with my inner speaker thingies or something . Did you encounter the same problem?
-
They had to do it otherwise the forums would be full of spammers, so i say don't leave Xisto =). If posting is being a pain, just purchase $ using real $, their prices and packages seem very fair and good. And you can always find something here to talk about and save yourself some $.
-
I lost 65 cents, yordan had negative 1.1k, thats 11$. Alot had zeros and negative, so iam assuming it was a major cleanup or big discussions started by spammers were deleted.
-
Do you get suspeneded or deleted immediatly incase you don't have enough $ to cover your sites expenses?
-
#include<stdio.h>void main(){printf("Beep in 3...2...1...\a\a\a\a\a\a\a\aBEEP!\n");}This gave no sound, how do i check fi it is turned off and how do i turn it on?
-
So iam guessing the Ouch post made by you in the moderator only forum is for the -1k you had:P?anyways myCENTs: ZERO, is that fixed till some mod changes it or something or will mycents increase normally when i post stuff? cuz i doubt ZERO is the same as 0.00$
-
I had 8.47 cents, i made a post and waited some time for my cents to increase then i found myCENTs: NEGATIVE[-65.58], i also noticed that yordan had negative 1k+cents, now his are reset to zero. I am just wondering is this a bug or were some of my posts deleted? if some of my posts have been deleted or moved to junk i think there should be an automated messaging system that sends a message saying 'Your post id has been deleted by x for y reason'.:/
-
My class has been asigned with a project which is making a banking system using C language. I searched online and i found that there is a library <time.h> which contains time functions to use in C language. One of them is date(), I tried this: #include<conio.h>#include <time.h>#include<stdio.h>void main(){clock_t start, end;double elapsed;start = clock();end = clock();elapsed = ((double) (end - start)) / CLOCKS_PER_SEC;printf("%d",start);getch();}The program prints 0 onlym how do i print he date? What i basicly need is a function which reads the current time and stores it, and a function which calculates the number of month/years between 2 dates so that i can calculate loan/banking interests. And what type of variable(structure?) is needed to store the date in it. I also need a password function, meaning when you write some thing, characters are replaced with starts. Example: password will appear only as ******** on the screen. I have an idea of making a character string and using getch() along with a while loop but iam guessing there is a prebuilt function for this. Finally i was told that printf("\a");makes a small beaping sound like those old games with DOS, buy iam not getting any sound :/. Thanks in advance =)
-
You can use the wizard option in photoshop, when you click on a point all of the same color in the surrounded area is chosen, so if the table is of one color click it using the wizard and then delete it. It might be annoying to select all the table because of lighting and all, not all the pixels of the table have the same exact color. Iam guessing this tool is what yordan was refering to =)
-
Easyhits4u: Its simple, you surf other websites with two options, 15seconds per surf or 20seconds per surf. If you are unpaid you get 0.5 credit for the 15 second surf and 1 credit for the 20second surf. If you are paid you get the whole 1 credit for 15 seconds. There is also surfing for 30 seconds (1.5 credits) or 40 seconds (2 credits) but you can remove them from your surfing cycle. Once you earn credits you can either convert them to banner impressions, 1 credit gives 15 banner impressions if you are unpaid, 20 if you are. Or you can convert them to site views, you pay 1 credit for 20 seconds, 1.5 for 30 or 2 for 40 seconds. A good advice would be to choose 30/40 seconds since most surfers who are surfing quickly to gain credits choose not to recieve surfs with more than 20 seconds. You also recieve 0.3$ per 1000 sites surfed. Yes that sounds alot but if you make 100~200 surfs per day you get alot. You can surf while you chat or play an online text based game or at work. The money you gain from surfing isn't good for checking out (minimum checkout is 3$), however an option i liked is you can convert those $ either to credits or to prenium days. Here is what i can do: They also have daily drawings for 500 credits, and if you donate you get a ticket per 1000 credits bought for a weekly raffle for 2000 credits. They also give guaranteed prizes: As for contests, they give good prizes, example they had a contest in october where you get 5k banner impressions,3$ and 5 prenium days. Top 10 got double. Their prices are: As for their prenium days prices: There is also a referal system where you get a bonus when people you refered surf: They also provide you with attractive flash banners and text adds for you to use. Also using their geo system you can choose which part of the world you want to see your add. Example if you are running an american only service, you wouldn't want people from asia to see it, that way you would not waste views on people who won't benefit you. Seem like good deals, if you consider signing up at this service please consider refering me =), my username their is khalilov. Easyhits4u <--- refering me Easyhits4u <--- not refering me Smily traffic: Another good service is Smily traffic, Smilytraffic. Even though i don't use this service anymore its an ok service. The good thing about it is that it gives free stuff for you on signup. Those things are: So just sign up and surf 50 pages and try them out. I didn't like it because the manual and auto surf don't last long. However the banner and text links lasted about 24 hours. But i only got 1 click form them both, 1/4000 ratio isn't that good. But you can convert 1 manual surf credit to 60 banner/text impressions and 1 auot surf credit to 0.1 banner/text impression. The reason auto surfs aren't worth anything is because, well most people put auto surf on and go to work or something, so basicly they aren't worth anything.They have good contests too: However their prices seem expensive: Thats an example, 3.49$ for 1000 views, srsly...Anyways its an ok service. Mybanners: If you don't have time to surf and don't mind having an add on your website, you can use banner exchange services. Its simple, you put a banner on your website and subimt a banner for your website. Your banner is shown on other sites as much as banners are shown on your website. Example, your page is viewed 1000 times, you get 1000 views on other sites. Normally i avoid such services because there are some people who paste the code 50+times on the same page and keep refreshing it to gain alot of views. Even if the service is very dedicated and trying to be legit , many times it would be too late. I know because i did it once. mybanners bannersurge free-banners superbanners impressionz showyoursite 5000banners These are some links to banner exchange sites.
-
Question Related To Website need Web page solution
khalilov replied to veerumits's topic in Websites and Web Designing
Iam sorry iam not understanding what you are saying well, if by animation you meant button animation or animations like when you hover your mouse over something and it gives a sound or it moves i don't know anything other than flash that does that. Or if you are asking for a program to make GIF images, i suggest photoshop. You can also try an option in the free version of gamemaker but i don't recommend it. Simple go to google and search 'Free GIF programs' and search the list. As for the CSS, i haven't done it in a while but try this: Save a file style.css p.centerpage{ top:50%;left:50%;}Then write this as 1.html <html><head><link rel="stylesheet" type="text/css" href="style.css" /></head><body><p class='centerpage'>Iam at center</p></body></html>Make sure that 1.html and style.css are in the same directory (folder), again iam a bit rusty with CSS so if there is a mistake their i would appreciate it if someone pointed it out =), but i doubt there is one. If you have anymore questions don't be shy to ask, also i see you are having some trouble in posting in english, so i'll rephrase it for you =) I quoted it so that it wouldn't be considered as spam or repeating what you said -
It takes some time, i dunno why but iam guessing because since it is equivalent to real money they are being more secure and careful about it. Wait 10~20 minutes ,it depends. I bet you got the mycents for the post you made asking about it by now.