Search:
Type: Posts; User: wl3
Search:
Search took 0.02 seconds.
-
June 13th, 2012, 02:12 PM
Why no syntax highlighting in this forum?
-
April 1st, 2012, 01:48 PM
I might end up doing that way down the line. Right now, I'm going to school and barely have time at all to work on my programming projects, so I figure I might as well go with what I have.
Good...
-
April 1st, 2012, 11:52 AM
Here is a link to the documentation on memory allocation using the clutter interface. I think the key to solving my problem might be understanding this and properly managing memory.
Description...
-
April 1st, 2012, 11:33 AM
I know, I just changed it to a typedef struct, because I noticed that was how it was done in an example in the clutter cookbook.
The real change, which I do not understand how it works, is this....
-
April 1st, 2012, 11:24 AM
Well yeah, but I'm only putting objects related to the gui in the struct. I've tied to figure out how to avoid doing this, but the fact is that my code is already pretty long, and has many hours of...
-
March 31st, 2012, 08:25 PM
Turned out that the loop was actually not really doing anything, some of those pointers were null.
After examining some example code, I tried a new approach, and got closer.
I declared my...
-
March 31st, 2012, 06:20 PM
I wrote most of a gui using clutter, using tons of global variables.
Clutter has a function which you use to connect an event or action like a mouse click to a function, and lets you pass one user...
-
February 9th, 2012, 02:32 AM
Hmm.
Yeah, I plan to go back and replace all of my dynamic arrays with vectors, or boost multi-array. When I get the time.
I think you may be on to something with the problem being in the...
-
February 9th, 2012, 01:24 AM
When I exit my program, windows triggers a breakpoint, and I get a heap free error. below is the code which must be causing it, because when I comment out the de-allocation, the problem does not...
-
February 4th, 2012, 09:16 PM
You missed
; after
cin >> diameter and after
Circumference = factor * 3.14
-
February 4th, 2012, 05:08 PM
Ahh yeah, thanks.
Is there a maximum number of members for a struct? Is it rediculous to put say 200 members in a single struct? At this point what is the advantage over using globals?
-
February 4th, 2012, 04:41 PM
Is there something wrong with this? I'm having trouble passing a structure as an argument.
void Check (struct Button Test) {
clutter_actor_hide ( Test.T1);
}
-
February 4th, 2012, 04:21 PM
I'm using visual studio 10, but my application is written to be portable to mac and linux.
They have a solution using a "json" script which you can somehow use to give access to all your clutter...
-
February 4th, 2012, 01:18 PM
I'm using clutter as the basis.
http://www.clutter-project.org/
Here is an example of what I am talking about. This is just the GUI portion so far of what happens when the Go Back button is...
-
February 3rd, 2012, 08:49 PM
If you find an array 10 times faster than an stl vector I would be interested in knowing about it! I know little about data structures. Is there any type of array or vector that exists for the...
-
February 3rd, 2012, 08:22 PM
So I have my GUI far along enough to start incorporating my program, but I am hesitant to start because I want to be careful to do it in an effective and easy to manage way.
The code so far for...
-
January 30th, 2012, 06:56 PM
I had been trying to make a reduction kernel to sum the contents of a very large array. I asked this question on stackoverflow, but still don't fully understand parts of the answer. For starters,...
-
January 26th, 2012, 01:51 PM
I accidentally used auto-replace or something, and lost the working version of the source code for the final version. I'll post a section of it.
...
if (guess[0] == slw[6] &&...
-
January 26th, 2012, 01:29 PM
When I first began to program, when I had only learned what if, while, goto, and for do, not having known what even a function was; I wrote a five thousand line program which included a hang man...
-
January 25th, 2012, 04:34 PM
I'm not sure if this is exactly what is needed. If you want to use openCL which will work with most modern GPU's and CPU's, you could probably translate CUDA into openCL pretty easily.
...
-
January 24th, 2012, 10:47 PM
I have written a program as a beginner, which makes extensive use of void functions, and uses a lot of global variables. I'm going to rewrite the program, add a GUI, and try to make the programming...
-
December 30th, 2011, 01:25 AM
My point is that I think the arguments why it's not a good idea kind of miss the mark. Is the performance of system("pause") relevant? Is the fact it's not portable relevant when there is no...
-
December 30th, 2011, 12:54 AM
I have read a lot of arguments, and searched for alternatives, but I am not convinced that system("pause") is not the best choice for a win 32 console program to when you want a program to pause.
...
-
December 27th, 2011, 10:31 PM
I'm not cracking any kind of literal codes. The purpose is just to generate all possible combinations. This can be used for scientific applications where you want to process data using many...
-
December 23rd, 2011, 12:42 AM
I caught a few more mistakes. instead of
power=digits;
for (n=0; n<digits; n++) {
power=power*digits;
}
|
Click Here to Expand Forum to Full Width
|