03-18-2012, 11:03 PM | #1 |
🥓<strong><span style="col
Resident Overseer
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 7,648
|
C++ Trouble
Problem solved.
__________________
Last edited by justin_ator; 03-19-2012 at 12:34 AM.. |
03-19-2012, 12:13 AM | #2 |
🥓<strong><span style="col
Resident Overseer
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 7,648
|
Re: C++ Trouble
bump ;__;
__________________
|
03-19-2012, 12:14 AM | #3 |
FFR Simfile Author
|
Re: C++ Trouble
oh, I found the problem
for(int i=0; i <= encrypted.length()+10; i++) //... i++; } you increment i twice each time through the loop so it's skipping over the & and # depending on whether they're odd or even parity mwehehehe happy C++ writing
__________________
Patashu makes Chiptunes in Famitracker: http://soundcloud.com/patashu/8bit-progressive-metal-fading-world http://img.photobucket.com/albums/v216/Mechadragon/smallpackbanner.png Best non-AAAs: ERx8 v2 (14-1-0-4), Hajnal (3-0-0-0), RunnyMorning (8-0-0-4), Xeno-Flow (1-0-0-3), Blue Rose (35-2-0-20), Ketsarku (14-0-0-0), Silence (1-0-0-0), Lolo (14-1-0-1) http://i231.photobucket.com/albums/ee301/xiaoven/solorulzsig.png |
03-19-2012, 12:15 AM | #4 |
🥓<strong><span style="col
Resident Overseer
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 7,648
|
Re: C++ Trouble
hnngggggggggggg thank youuuuu I'm fixing it, I'll be back if that doesn't solve the problem. How did I not see that -__________-
Patashu thank you, I do believe that fixed the problem. Fuccin derp, I've spent like the last two hours trying to figure out why C++ hates me, and I was adding 2 to i each time...akfl;jdfklajsd;fjadkflj
__________________
|
03-19-2012, 12:20 AM | #5 | |
FFR Simfile Author
|
Re: C++ Trouble
Quote:
__________________
Patashu makes Chiptunes in Famitracker: http://soundcloud.com/patashu/8bit-progressive-metal-fading-world http://img.photobucket.com/albums/v216/Mechadragon/smallpackbanner.png Best non-AAAs: ERx8 v2 (14-1-0-4), Hajnal (3-0-0-0), RunnyMorning (8-0-0-4), Xeno-Flow (1-0-0-3), Blue Rose (35-2-0-20), Ketsarku (14-0-0-0), Silence (1-0-0-0), Lolo (14-1-0-1) http://i231.photobucket.com/albums/ee301/xiaoven/solorulzsig.png |
|
03-19-2012, 12:34 AM | #6 |
🥓<strong><span style="col
Resident Overseer
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 7,648
|
Re: C++ Trouble
I actually do enjoy it so far... it's just sometimes I get lost or can't think of where to start because I know so little and my professor has taught us such a limited amount of stuff pertaining to each topic...we've been over arrays for example, but I can do very little with them still because I simply don't know what I'm doing ;___;
ps the program works beautifully, I can now have secret conversations with anyone who has my decrypt and encrypt file :')
__________________
|
03-19-2012, 12:50 AM | #7 |
FFR Veteran
|
Re: C++ Trouble
Sorry didn't see this until too late :(
|
03-19-2012, 12:59 AM | #8 |
🥓<strong><span style="col
Resident Overseer
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 7,648
|
Re: C++ Trouble
Ah don't worry about it. I only posted the link to you because I knew you had programming knowledge and wouldn't mind looking at it. If you really want to see what it was about you can quote my post still, it's all there
__________________
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|