I agree haha Well thanks again guys. This should work for me. Hopefully I can learn enough to start helping people I feel like a bum :/
Type: Posts; User: drumerboy3841
I agree haha Well thanks again guys. This should work for me. Hopefully I can learn enough to start helping people I feel like a bum :/
Hm even if I change it to cout<<Reverse("steve")<<endl; in the main it still prints nothing. But Ill keep working on it
I just pulled the function itself because I thought it was the problem. Here is the full program
headerfile
#include<iostream>
#include<string>
using namespace std;
Hey guys im looking for some more insite on another problem my teacher gave me. I was tasked with creating a function that reverses a string. This is what ive come up with and it worked as a stand...
Because I was sleep deprived and blind when I was looking at it :/ thanks guys haha
Well all i did was move the cout line to the top of the loop and it fixed the problem. thanks a lot. but out of curiosity; the fib3=fib1+fib2 doesn't really seem to do anything, since, at then end of...
oops i just copied wrong :/ it was supposed to be (fib3<30000). but ill give it a try switching the summation. thank you.
Hey guys first post here. I just switched my major to computer science last semester. So first my c++ class and this would be my second assignment. I need to write a function(in the from of a program...