Search found 113 matches

by mrmarky2
Sun Jul 24, 2011 9:35 pm
Forum: wxDev-C++
Topic: Odd things happening
Replies: 3
Views: 9510

Re: Odd things happening

Haha, woops. I remember deleting it.
by mrmarky2
Sat Jul 23, 2011 9:48 am
Forum: wxDev-C++
Topic: Odd things happening
Replies: 3
Views: 9510

Odd things happening

I haven't programmed for a very long time. I came back to a program that I was working on, and I found that something strange is happening when I compile it which wasn't happening before. When I compile it, as well as my program popping up, I get a strange black window pop up too. I have attached a ...
by mrmarky2
Tue Dec 16, 2008 2:56 pm
Forum: C++ Development
Topic: Window repainting
Replies: 6
Views: 1952

Hey, thanks for the help.
This should sort it.
Bit busy right now to make the changes, but I'll do it later.

Mark
by mrmarky2
Tue Dec 16, 2008 2:14 pm
Forum: C++ Development
Topic: Window repainting
Replies: 6
Views: 1952

Ok, but if it will not be repainted, then it will get corrupted by the window that gets in front of it... One way of avoiding repaints is Freezing the window http://docs.wxwidgets.org/stable/wx_wxwindow.html#wxwindowfreeze , but if I was you I'd try with double buffering Or (but rather "And&qu...
by mrmarky2
Mon Dec 15, 2008 9:32 pm
Forum: C++ Development
Topic: Window repainting
Replies: 6
Views: 1952

Hey, Thats the already fixed bit, that I had problems with before. The bit that doesn't work is that if I have my program up and running, and I bring up a folder or another window, and move it about infront of my program, for every pixel I move the folder across the panel repaints. So if I move the ...
by mrmarky2
Mon Dec 15, 2008 4:11 pm
Forum: C++ Development
Topic: Window repainting
Replies: 6
Views: 1952

Window repainting

Hi, I have written a sudoku program, to draw the sudoku I paint onto a panel. I have only just noticed, that if I try to bring up a folder above it, and move it about so that you can still see the panel underneath with the sudoku drawn onto it, that it repaints itself every time I move the folder. O...
by mrmarky2
Sat Nov 29, 2008 3:54 pm
Forum: Open Discussion
Topic: How to put my PC back
Replies: 2
Views: 1653

Hey,

Thanks for the reply, I tried looking for the disks, but can't find them. I'll have to have a look for them. I did a registry clean as well which found over 100 errors, but still isn't working.

Mark
by mrmarky2
Sat Nov 29, 2008 2:50 pm
Forum: Open Discussion
Topic: How to put my PC back
Replies: 2
Views: 1653

How to put my PC back

I was upgrading my pc, so I put my old hard drive into the new pc to copy things across. I couldn't access my files because I had a password on my old user. So I tried to boot in safe mode to change the ownership on the files. Safe mode crashed when it started up, froze on a file called gag30kx.sys....
by mrmarky2
Thu Nov 20, 2008 4:41 pm
Forum: C++ Development
Topic: Header file
Replies: 5
Views: 1450

My only question is, WHY would you do that? If it works when the function is in the .cpp file, like you're supposed to do, why not leave it this way? Well I didn't like having just 10 lines in a header file, when I have 7 header files like this altogether. I just wanted not to have too many files i...
by mrmarky2
Tue Nov 18, 2008 5:30 pm
Forum: C++ Development
Topic: Header file
Replies: 5
Views: 1450

Header file

I have a problem I can't work out. Instead of a class in a header file and the functions in a seperate cpp file I was putting the functions and the class in the same file. But the compiler doesn't like it, it says: multiple definition of 'wxSudoku::test()'. Heres the code I used: #ifndef __wxSUDOKU_...
by mrmarky2
Tue Nov 04, 2008 2:59 pm
Forum: C++ Development
Topic: Quick delete question
Replies: 6
Views: 2107

Haha, got it working with vectors.
Thanks for the suggestion. I'm gonna rewrite a load of the code in the next version, vectors would have been really helpful earlier on. I always found a way of getting round it before :)

Mark
by mrmarky2
Tue Nov 04, 2008 2:29 pm
Forum: C++ Development
Topic: Quick delete question
Replies: 6
Views: 2107

Why do you create an array of pointers to ints? Wouldn't a regular array work? Um, because I dont know what size the regular arrays need to be and because each of the pointers are pointing to different size arrays. For example: int **cage; cage = new int *[5]; cage[0] = new int [6]; cage[1] = new i...
by mrmarky2
Mon Nov 03, 2008 6:01 pm
Forum: C++ Development
Topic: Quick delete question
Replies: 6
Views: 2107

And the error message:

An unhandled exception occurred. Press "Abort" to terminate the program, "Retry" to exit the program normally and "Ignore" to try to continue.
by mrmarky2
Mon Nov 03, 2008 5:45 pm
Forum: C++ Development
Topic: Quick delete question
Replies: 6
Views: 2107

Quick delete question

I have two integers that are pointers. **cages2 and *cagenums. I want them to have different size arrays they are pointing to. cagestotal is another integer, that changes as well. When I use new to make them it looks like this: cages2 = new int *[cagestotal]; cagenums = new int [cagestotal]; And lat...
by mrmarky2
Fri Sep 12, 2008 3:58 pm
Forum: C++ Development
Topic: Multiple keypresses
Replies: 2
Views: 1059

Sorted Array error.. just so happened that everytime that it crashed i was pressing two keys.. I was trying to get a part of an array [-1]! When you move the selected square out of the range of the grid it is meant to appear the other side.. I tried to get a value from the square before I move the s...