Counting an a Programming Software Development by Mopikope …; i<numOfChar; i++) { if(counter[i]){ cout << randomA[i] << " = " << counter[i]; } } system… Re: Counting an a Programming Software Development by Mopikope Counter is an array. I wanted to have counter be the ascii number array for the randomA, so then I could compare number line 60 with the ascii number array. Quick sort and merge sort together using both vectors and arrays. Programming Software Development by ItecKid …(int i = 0; i < 20; i++) { randoma[i] = rand(); cout << randoma[i] << "\n" <<…; flush; } cout << "\n"; quicksort(randoma, 20); for (int i = 0; i < 20; i++) { cout… << randoma[i] << "\n" << flush; } /* end… Can't Receive Email From Website Programming Web Development by joshl_1995 … email address i'm sending from "no-reply@[randoma.co](http://randoma.co)" and my website is hosted by [GoDaddy… being blocked, i have even added the email domain ("@randoma.co") to the safe senders list and still no… Re: Can't Receive Email From Website Programming Web Development by joshl_1995 What headers do i need because i'm only using the from header: `<?php mail("official.randoma@hotmail.com", "Test", "This is a test.", "From: no-reply@randoma.co"); ?>` I have also added the domain and the email address to the safe senders list. Website Donation Gift Ideas Programming Web Development by joshl_1995 Hello Community, I have setup a [donation](http://randoma.co/randonate.php) system on my website and i was … sponsor them by putting an ad on my [website](http://randoma.co). Can someone give me ideas. .htaccess Redirect Not Working Hardware and Software by joshl_1995 Hello Community, I am trying to redirect a page to the same page but with the .php extension added this is what i'm trying `Redirect /projects http://randoma.co/projects.php` but it won't work i just keep getting a 404 error. FYI: I'm using GoDaddy. What am i doing wrong? Re: Company Out There Programming Web Development by joshl_1995 Well the thing is Randoma is not that big, however one of my staff (I … Re: Counting an a Programming Software Development by Zssffssz You might nĂ©ed to specify the part of the array your getting from Ex variable[0] would send it to the address zero in the array. Re: Counting an a Programming Software Development by Mopikope I don't understand what you mean. Can you elaborate more. Re: Counting an a Programming Software Development by Zssffssz If I declared a array like char Muffins[6] it would have five variables : Muffins[0] Muffins[1] Muffins[2] Mufins[3] Muffins[4] And Muffins[5] (it starts at zero and the last one is for indexing stuff) if it is an array of chars you can remove the array (when you use it not declare it) and it would treat it as a string. If it's anything else you … Re: Counting an a Programming Software Development by Taywin Watch out for numOfChar value. You could create segmentation fault while running. Anyway, you should not simply cast a char array to an int array (if you can do... can't remember C++ syntax). You need to go through each value in the char array and convert to int. Also, there is no such char '65' because it becomes a string (length of 2 which is … Re: Counting an a Programming Software Development by WaltP Is [B]counter[/B] a single variable or an array? Re: Counting an a Programming Software Development by Mopikope [QUOTE=Taywin;1672541]Watch out for numOfChar value. You could create segmentation fault while running. Anyway, you should not simply cast a char array to an int array (if you can do... can't remember C++ syntax). You need to go through each value in the char array and convert to int. Also, there is no such char '65' because it becomes a string … Re: Counting an a Programming Software Development by Taywin Nope, I mean numOfChar is an input value from a user, correct? What if a user enters a value greater than 100? Yes, you should go through a loop for an array. I doubt you could simply cast an array of a type to another array of the other type... Re: Counting an a Programming Software Development by WaltP You can't assign an array to an array like that. Use a loop. Re: Counting an a Programming Software Development by Mopikope Taywin are you talking about using a do while loop so that if the person enter more than 100 or a negative number then it just keeps asking for the input. Also I was thinking instead of getting a random "a-z" character I get a random 65-91 character. Then when I output it, static_cast the array[i] so that it prints out the letter. Re: Counting an a Programming Software Development by Taywin Yes, you should do that. It is safer to enforce users to not enter an invalid value that could crash your program. That is a way to do it if you are doing it programmatically. It doesn't matter you initial it as int or char because you would have a different way to deal with the array. :) Re: Counting an a Programming Software Development by Mopikope Alright Thanks Everyone. I will continue on the program later today. Re: Quick sort and merge sort together using both vectors and arrays. Programming Software Development by ArkM Irrespective of hidden errors in your code (I'll see them later) some remarks: 1. An std::vector object data area IS an array. An address of the 1st vector element points to the start of the vector data array. So your comparative studies are aimless ones: you may sort a vector as an array and no need in special std::vector sorting codes. For … Re: Can't Receive Email From Website Programming Web Development by LastMitch Read this (I also have Godaddy): http://support.godaddy.com/help/article/4694/switching-from-thirdparty-webmail-to-hosted-exchange-email-using-outlook-2007 http://support.godaddy.com/godaddy/watch-out-for-free-email-accounts/ Re: Can't Receive Email From Website Programming Web Development by joshl_1995 I need to send emails to users, and i don't think manualy sending verification emails would be a fun thing to do every time a user registers. So the only other way i was thinking of sending emails is making an api to my previous website which lets me use what ever email smtp i want. But i would rather not, i'm having that as a last resort. Re: Can't Receive Email From Website Programming Web Development by pixelsoul Hotmail/Outlook webmail is pretty particular on the emails that it recieves. If you are not seeing them come into the inbox, they are most likely in the "junk" folder. If they are not in the "junk" folder, then the mail headers are either severly malformed or the email isn't reaching their mail servers for some other reason. I … Re: Can't Receive Email From Website Programming Web Development by pixelsoul Hmm. Well, I have an old customer that is still on Godaddy, so I decided to run a quick test from their account and it worked fine (accept that it still went into the junk folder). The only difference is that I am sending to the actual outlook.com email address rather than a hotmail email address. So maybe hotmail email is still getting forwarded … Re: Can't Receive Email From Website Programming Web Development by LastMitch I am curious. I thought this is an host server issue but now it's a **PHP mail()** function issue? This look interesting how you can work around this? You need a 3rd party email for this. I don't know what you are trying. Re: Website Donation Gift Ideas Programming Web Development by pritaeas How about high(er) priority support. Re: Website Donation Gift Ideas Programming Web Development by joshl_1995 You mean like call support? if that is what you mean yer that is a good idea but that wouldn't make me want to donate but i could package that with one of the donation plans. Re: .htaccess Redirect Not Working Hardware and Software by CimmerianX What web server are you using and on what system? Apache? NGINX? Re: .htaccess Redirect Not Working Hardware and Software by joshl_1995 I'm not quite sure but I know it's Linux hosting.