I really don't know... but I'm interested in your program :)
Type: Posts; User: R@m0n
I really don't know... but I'm interested in your program :)
Look at http://www.cprogramming.com/cboard/showthread.php?s=&threadid=10582
I read it ;)
No no no!!! It's not that the screen is cleared so I can't see the text! The problem is that it first clears the screen and thán displays the text, which should be reversed. I'll try Salem's tip..
...
Hello everybody,
Yup, still working on my prog ;) I am testing now to replace words in files. However, it doesn't excactly work as I want it to. I used tellg and seekp to find the spots in...
Hmm... don't know which header file I included last time I tried clrscr(), not conio.h, that one doesn't work. But yes, really strange hey! I'll look up a better example...
When I make a code like this:
cout<<"hello world";
clrscr();
It dóés do the clrscr() command, but before the cout! So it first cleans the screen, and thán cout the text! I have the same...
Thanx for the tips both!
Yeah, there are a lot of good and bad things to it... I've read the book and it was nothing really new, so I'll start looking for a C++ book again :)
Hi all,
The past weeks I have been learning C++ and started a program. I want to read books now, so the last weeks I have gone many times to the library to find books, but everytime all the books...
Yeah, you should start your game small, and later expand it, and eventually have a graphics monsterhit game :) I myself am making a simple program to save my comic collection in console, but I want...
Sorry, never seen that one... thanks!
Hi ever1!
I would like to know how I can change words in textfiles. eg I have a textfile with a lot of words, and I want to change the word 'no' on the 3rd line to 'yes'. Can you help me? It's one...
Sorry, but are that words that are the same when reversed?
Try something like this (look up the correct syntax of getline)
ifstream file("file");
while(!file.eof());
{
file.getline(var,1000);
cout<<var;
}
There's a FAQ about this :rolleyes: I couldn't get it to work, but you can try, nottin' to lose right?
Never mind. Anywayz, it's coming along pretty good after your help!
Thanx for the help, Betazep! Oh, and this is not an exercise for my class or something, it ís for my program, and this bit isn't working at the moment (but I've almost figured it out)
Thanx fot the info both! As you can see, I'm very new :D
I thought you where gonna ask that ;) I can't get it to work properly. I get errors like "cannot convert parameter 1 from 'char' to 'char *'" and stuff... have you got tips?
Hi every1!
I've got a question:
How do I make 1 string from 2? For example, if I have one with the value "Ramon" and one with "van Dam", how can I combine them into a new one so that it's value...
This is probably very stupid, but I'm a beginning programmer and I'd like your help.
I have a text-file with lines like this:
bla bla bla !end!
Now I want my program to ad all the words from...