Hey All,
Didn't know whether to put this here or in the C++ forum - here seems more appropriate. I've written a DLL to interface with Excel VBA code. The DLL works great, and most of the VBA...
Type: Posts; User: DougD720
Hey All,
Didn't know whether to put this here or in the C++ forum - here seems more appropriate. I've written a DLL to interface with Excel VBA code. The DLL works great, and most of the VBA...
Thanks for the help guys, Salem was in fact right (no surprise) but the reason it wasn't working wasn't because of anything more than I was missing a <= in one of the for loops in the constructor, (I...
Copy method
Board * copy()
{
Board * ret = new Board(0);
for(int i=1; i<=6; i++)
{
ret->getComputerBox(i)->add(getValueComputerBox(i));
Thanks Salem,
I removed that delete [] line, but still appear to be getting the same error. I think it has something to do with the underlying linked list contained in the Board class.
This is...
Hi All,
So I'm trying to get back into C++ (mostly java for a while where memory management is avoided). So I've got this program and it runs perfectly when I don't try to clean up the memory. I...
Thanks Mark!
That did the trick. I'll just have to change that from now on when working from the code in the book I'm using.
Thanks again,
Doug
Thanks guys I'd appreciate it. Seems the files are too large to upload here but here's the zipped project folder and all contents from VS 2010:
Download WinFileCopy.zip
Thanks!
Thanks for the suggestion, I had tried putting files in the project folder and the .\\ directives as well to no avail but I just ran it now and, for some reason, it's working - sort of.
It doesn't...
Hello all,
So I haven't programmed in a long time now and I'm working through a Windows System Programming book and for some reason I can't figure out why this simple file copy program keeps...
Great guys thanks for all the help and suggestions! The program's running fine now and now I know how to go about setting up the linked lists. I think I've now got a good grasp on pointers now too....
Yeah that makes a lot more sense. I still don't have the reference and pointers down-pat. I want the functions to change the arguments that get passed (initialize the list and have that List struct...
Thanks Salem, I'll give that a try when I get home to my Linux machine.
The only concern I have with that though, which may be a simple fix, is that I want to traverse the list until I get to the...
Hey Guys,
So I'm working on a bigger project but trying to implement some Linked List functionality into it and I keep getting this segmentation fault at the same spot and I've checked examples...
Agreed, I'm a web developer at the moment (and it's terribly boring) and when I first started it was like this. You'll get into sync with the devs, give it time.
Thanks that was the issue. Like I said - rusty.
Tracert doesn't show who's connected to a website by the way - that video's so wrong and the kid in it's an idiot. It shows your forwarding to the website. Basically what networks and machines yours...
Hey Everyone,
I've been doing some system stuff and I went to compile my driver today using the WDK Checked Build Environment. I keep getting a bunch of errors but I think they're all being...