Easy as that, eh? Heh, thanks very much Speedy5 :)
Works perfect!
Type: Posts; User: sitestem
Easy as that, eh? Heh, thanks very much Speedy5 :)
Works perfect!
Hi all,
I've made some code that reads a text file for a first name, a surname and a rating. The text file has multiple entries in, so here's where I bump into my problem. I want to add all the...
I started learning just over a week ago. Someone told me this site, I read through the tutorials and tried some small projects of my own.
I just posted here if I had a problem.
Thanks for your reply :)
What do you mean by holding and target variables? Are those just normal variables with different purposes?
Thanks,
Mike
Hi all,
I'm wondering if anyone could help me find out how to search through a file. I know how to read a file, write to one etc, but am not sure how to find a specific word within a file and then...
Thanks, does what I wanted :)
Hi all,
I'm following tutorial ten, and all the code there works. However, I want to display either something other than the first word of a string in a file, or more than one word. I'm not quite...
Yup works now. Said it would be something simple :)
Thanks guys.
Hmm... still gives the same error message, thanks anyway blackgold :)
Anyone got any ideas?
Thanks a lot,
Mike
Hi all,
I've just tried testing the random numbers answer in the FAQ (http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1042005782&id=1043284385) and it isn't working for me. I've got the...
Thanks guys!
Hi all,
I'm trying to make a variable contain a whole word. So far I've got something that works, but i'm not sure if this is the 'correct' way to do it. I'm just doing: char varname[0]. Doesn't...
Yup, works a treat. Thanks Prelude :)
Hi all,
I have just started on C++ and am trying to follow the tutorials on this site. However, I've bumped into a problem. I'm doing the example where the user enters a number and then it is...