Okay so I added these two lines:
getline(wordlist,current_str);
getline(encrypted,encrypt_str);
log << "wordlist: " << current_str << " Length:" <<...
Type: Posts; User: fl00d
Okay so I added these two lines:
getline(wordlist,current_str);
getline(encrypted,encrypt_str);
log << "wordlist: " << current_str << " Length:" <<...
Hey folks, I've been working on this project for quite some time today, prolly around like 3 hours and it should be such a simple task!
Basically it reads a wordlist (wordlist.txt) and a scrambled...
Hello, I am new to C++ and programming in general and am having a problem with a word unscrambler I'm trying to code. I have two txt files, words.txt and wordlist.txt that contain the scrambled words...
okay thanks guys!
Hey, I reorganized everything, hoping it was a stupid error. Unfortunately it's not, but I'm gonna upload the code if u guys wanna check it out. but now it's really organized and pretty :)
...
yeah positive. Here's a code snippet of my program:
begin.cpp
#include "defs.h"
int begin()
{
doSomething(); //bp set
} //this calls all of my functions in defs.h
yeah, and when I set a breakpoint on it it stops there, i just want to be able to step in it and see what's going on each step.
I've just successfully set up my debug enviroment and everything seems to work fine, except that I can't step into functions or set breakpoints inside functions called in another #included file. For...
Yeah unfortunately the person who did it only uses assembly lol. Here's what's in the .def file:
LIBRARY hookHop
EXPORTS CursorPosTolParam
EXPORTS hhPostMessageA
he did release the source....
The library was coded in asm. Someone told me the extern C isn't necessary. Is that right? Do i need to include anything else? I wish I was home so i could try all this right now xD
I do have those functions in a .def file(not my dll), so when I get home i'm gonna search google and see how to import from a .def file and try changing my solution properties instead of my project...
I tried that and it didn't work. My lib file is referenced with #pragma and is in my current directory. This is so frustrating >.<
Umm I'm not 100% familiar with VC++ GUI, but I added it Tools->Options->Projects and Solutions->and added the folder that contains the lib, but it still didn't work.
I'm trying to import a function exported by a dll. So far:
#pragma comment(lib, "hookHop.lib")
extern "C" void hhPostMessageA(HWND Hwn, UINT Msg, WPARAM WParam, LPARAM LParam);
extern...
wrong syntax for a for statement.
ex:
for(int a=0;a<=num;a++)
{
}
Well if it's going to output BOTH the smallest and biggest, you'll probably need 2 temp variables. And yeah that method could work.
Awesome find! Something to fill my ipod up with xD. If you find any others (specifically more advanced lectures) lemme know! The c++0x is pretty interesting...
Yeah right click the folder on the left pane labeled "Source Files" -> New File. Then you can select which type of file you want to add to your project.
That works too! I'm new to bit manipulation so I thought everything had to be or'ed to be set. that's why my macro or's the mask. But unfortunately it still crashes, so I'm guessing it's still the...
I am trying to send a keystroke to another window via PostMessage. I can successfully run WM_KEYDOWN without my program crashing, but the other 3 messages fail.
As of now I'm sending 'a' to the...