Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~9K People Reached
Favorite Forums
Favorite Tags
c++ x 44
Member Avatar for realproskater

So i've been working on this for while and i keep getting error after error, after i posted here last i cleaned it up but here is my latest debug error. I feel like that my code and algorithms are all there but im messing up in one of my …

Member Avatar for daviddoria
0
94
Member Avatar for realproskater

So all i have to do is clean it up but cant find the source to the actual error. Heres my code: [code] #include <iostream> #include <fstream> #include <string> using namespace std; bool isVowel(char ch); string rotate(string pStr); string pigLatinString(string pStr); int main() { ifstream infile; string newstr; int length; …

Member Avatar for djarn
0
152
Member Avatar for realproskater

Im getting this error while im working on my pig latin code and have no idea what it is referring too. so here is the error and my code. ill specify the piece of code that is erroring. [code] #include <iostream> #include <fstream> #include <string> using namespace std; bool isVowel(char …

Member Avatar for realproskater
0
178
Member Avatar for realproskater

Here is my problem: Write a program that reads in a text file and converts it to pig Latin. i.e. if the first letter is a consonant, move it to the end and add “ay” to the end, if it is a vowel add “way” to the end. Here’s an …

Member Avatar for realproskater
0
1K
Member Avatar for realproskater

/*I have to write code for the Game of Life. I wrote nearly all the code for it but for some reason when I run my second generation it just displays the same one as before. Here is my code any idea on why this is happening would be greatly …

Member Avatar for alexchen
0
6K
Member Avatar for realproskater

here is the question: Write a program that reads names and gpa’s from a text file. The file looks like: James 3.9 Margaret 3.5 Charles 1.2 Jennifer 4.0 Your program sorts the students ascending by gpa, and prints the sorted list including names. To keep the names with the numbers …

Member Avatar for realproskater
0
225
Member Avatar for realproskater

So i need help doing this project and heres what i have to do for the program i left some comments on what my code does etc, please help. Write a program to compute the square root of a number. DO NOT USE any math libraries in this program. You …

Member Avatar for mtbs1826
0
682
Member Avatar for realproskater

For some reason i cant get my GCD function to return anything in my main function someone help? [code] #include<iostream> using namespace std; int firstanswer; int secondanswer; int a; int b; int gcd (int a,int b) { int t; while ( b != 0); { t = b; b = …

Member Avatar for realproskater
0
172
Member Avatar for realproskater

So, i got this much done so far but im stuck and i cant get my third case statement to work, also for some reason it prints off the calendar like days 8 9 10, etc, if you copy and paste and run it you will see it doesnt line …

Member Avatar for realproskater
0
555
Member Avatar for realproskater

My problem is that my program doesn't print out the first number in the sequence. Like if i ask it to print out 10 numbers it will only print out 9 numbers and skip the first number that it should start with. example of the output is at the bottom …

Member Avatar for kes166
0
129