ok i go this problem compiling with Dev C++:
Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\s.i.d\sql\Main.cpp" -g3 -l "C:\s.i.d\sql\Main.exe" -I"F:\dev c++\Dev-Cpp\include\c++" -l"F:\dev c++\Dev-C:\s.i.d\sql\mingw32"
-I"C:\s.i.d\sql\backward" -I"C:\s.i.d\sql\include"...
ok this is the source :
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
char *buf;
int key;
unsigned int GetCheckSum(char *buf, int key)
{
unsigned int checksum = 0;
unsigned int i = 0;
for(i = 0; i < 5; i++)
checksum += buf[i] ^ key;
return checksum;
}
char...
i've got a problem that is bugging me for hours now.
i wrote in c++ a simple decrypting program to decrypt a given file ( path given in the source ). when i compile it from DEV C++ it gives me no errors so it should be fine. when trying to run ( in windows ) i get "xyz.exe has genereted errors...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.