Once again you have solved it! Gosh I wish I could beam your knowledge straight to my brain :D
Type: Posts; User: MoonMan
Once again you have solved it! Gosh I wish I could beam your knowledge straight to my brain :D
Hmm I found that the problem is diferent than what I had previously believed...I am using that char table we talked about a few days ago and it seems that when it takes in a white space it converts...
Thank you manasij, you are always SO helpful!! :)
How do I properly take all of the text in a file and display all of the contents instead of just one word (including spaces)?
Well, I can get it to output but I cannot get it to include spaces and...
YES! THANK YOU
Just had to replace the 's' with "message" and up and running with the table!
I feel silly now :wink:
Thank you! Unfortunately I have no clue how to use those examples..Hehe, so I am reading up on "Pointers" as we speak(I think that is the right direction?)...I can not figure out how to declare what...
Hehe thank you!! This should definitely be fun :wink:
Hello,
I realize that this probably isn't able to be solved with a simple answer. So if you could just point me in the right direction of what I should be learning up on that would be much...
Thank you very much!
best regards
Is it possible to some how take a file name from cin and use that to open the file?
EXAMPLE:
int main()
{
string filename;
cout << "Please enter the file name to open: ";
cin >>...
I understand now! :D Thank you all so much for your help...I would have been so confused without you guys/gals!!
I'm sorry I am new to all of this so I apologize if my question was worded wrong/doesn't make sense.. So, programs written in C++ for windows have to be written a completely different way to be ran...
What type of program do I have to compile the code as to run it on Ubuntu? Like how I have to do a console application for Windows, what is the equivalent for linux? Thank you! :rolleyes:
EDIT: Got it, had to use the cin.get()...Is this pretty much the same function as getchar()?
I think you are right but I get an error now that getchar was not declared in this scope.. I placed it where line 81 is in the code up top... Sorry I am brand new to this... Thank you for the help :)
So when I build and run this program IN CodeBlocks it runs through the whole thing fine..
When I build a Release and load it from the executable it stops and closes the program out immediately...
Thank you very much for the help...Will definitely work on suggestions 1 and 2, but I have a question about 3.. :redface:
I will eventually use the input to do further calculations in the program,...
Okay well I figured out how to do it by using x < 4 and using a climbing number so I think it will repeat a few times then not work... But for now I added while ( x < 4 ) and for option 1 or 2 it...
Hello...This is my first post here so it is a question and an introduction! ;)
Well I have recently started learning about programming in general, so the whole thing is relatively new to me.. I am...