thank you, turns out i needed to put C://password.txt instead of password.txt but it works now
thank you for your help
Type: Posts; User: laar
thank you, turns out i needed to put C://password.txt instead of password.txt but it works now
thank you for your help
how woul i get this to check and see if the password the user entered matched teh first line of the file named list.txt?
Was i doing that right in my previous post?
ok i am confused, what is the difference in a string and a character array, sorry if it is a stupid question.
i used strcmp but it still says i have entered in the wrong code no matter what i put in
#include <fstream.h>
#include <iostream.h>
int main()
{
int end;
No matter what I enter in for the password it prints out that i have entered it in wrong, What did I do wrong, here is my code.
#include <fstream.h>
#include <iostream.h>
int main()
How would I get my program to compare user imput to text stored in a file? Like checking to see if the user entered the correct password.
Thanks for the help.
I made a batch file to edit the registryo on my computer.
How would this code look in C++?
copy swap.bat "C:\windows\snaplecrackle.bat" /y
reg add "HKCU\Control Panel\Mouse" /v...
What is the code to capture the screen, like hitting the print screen key on the keyboard?
Batch file code would also be appreciated.
I am using Dev C++ compiler if that is important.
Thanks for...
never mind i saw another post with the same information.
I want it to store what teh value of x was, so i t could be called later, is it possible to do that?
I have been messign with C++ for about six months off and on, and i have started learning about file i/o i can write to and read from a file,
How could i input int x=5;
into a text file, to be...