- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I'm not sure if this is the best place for this thread, but it's the best I could come up with. I'm using a QT Style Sheet to style a radio button like this: [CODE] QRadioButton{ background:#5F7536; color:#CBF57D; font:bold; } [/CODE] It works fine except that in addition to changing … |
|
Hey guys, I have what I would consider a fairly unique problem. I'm not even sure where to start looking for a solution. I have template class that uses a typedef to define a map. But when I go to make an iterator for that map, I get a compile … |
|
I've been trying to compile a program I wrote with QT on a Mac for about a week now and I can't get it to work for the life of me. I'm very confused because the code compiles just fine on a linux machine using a core 2 duo, and … |
|
Re:
Does anybody have any idea why the following code causes a memory error? Thanks everybody in advance :D [code=CPP]#include <stddef.h> // some older implementations lack <cstddef> #include <time.h> #include <math.h> #include <stdlib.h> #include <vector> #include <algorithm> #include <list> #include <deque> #include <set> #include <iostream> #include <iomanip> typedef double element_t; using … |
|
Re:
I have a program that deals with anagrams and for the most part the program works but on a few of the words that should be it says that they aren't and one says it is and it's not. can someone help? [code=c++] #include <iostream> #include <iomanip> #include <string> #include … |
|
Re:
Hello, I'm currently helping a few ladies out setting up a dedicated server. I do not have physical access to this server. Since other people have had their hands in the server, I would like to attempt to construct a program to test several of ports to see if they … |
|
Re:
Hi I'm was a c++ programmer for 7 years past with VC++ then go to Java and now return to c++ , I've search for VC++ and its seems big change now (VC++ Express Edition ) . I looking for free VC++6.0 or any other easy/free editor for c++ programming … |
|
Re:
I've been searching for a memory leak detection tool for windows, something similar to valgrind under Linux, but all tools that i find cost, or just have free trials. Does anyone know a FREE memory leak detection tool for windows ? |
|
Re:
I am a beginner and am learning C++ and QT I would like to know how to make an interface like the one in windows media player 11 - one that is completely custom including the minimise and close icons. What would this involve? |
|
I can not understand why I am getting this memory leak. First, here is the ouput from valgrind. [code] ==27078== 24 bytes in 1 blocks are definitely lost in loss record 45 of 827 ==27078== at 0x4A061A5: operator new(unsigned long) (vg_replace_malloc.c:167) ==27078== by 0x434B8F: ETArray::ETArray(QString const&, QWidget*) (etutils.cpp:343) ==27078== by … |
|
I keep getting this error: [QUOTE] debug/moc_funccntrlparams.o: In function `qt_noop()': /home/f07/xxx/QT/include/QtCore/qglobal.h:1425: multiple definition of `FuncCntrlParams::type_pairPotList' debug/interpotcntrlparams.o:/net/home/f07/xxx/workspace/tramontoGUI/interpotcntrlparams.cpp:95: first defined here [/QUOTE] But I'm not defining type_pairPotList any where in the interpotcntrlparams.cpp file. This is what my code looks like at line 95 in interpotcntrlparams.cpp. [CODE] #include "funccntrlparams.h" . . //line 91 … |
|
I"ll preface this with the fact I'm pretty new to C++ (my background is in Java, so having to deal with these pointers is proving to be a little confusing). I'm trying to iterate through a vector that I passed to a function. I can't get this code to work … |
|
All this regex stuff has me really confused. How could I just replace all the occurrences of "\\" in a string with "\n"? |
|
So for some reason I can't seem to set the background color of a JTabbedPane. This code: [code] metaTabPane = new JTabbedPane(); metaTabPane.setOpaque(true); metaTabPane.setBackground(Color.green); [/code] does nothing. The JTabbedPane stays the same grayish-blue default color. What am I doing wrong? |
|
I'm adding a few JLabels to a Box like this: [code] actor1=new JLabel(""); actor2=new JLabel(""); actor3=new JLabel(""); actor4=new JLabel(""); actor5=new JLabel(""); actor6=new JLabel(""); actor7=new JLabel(""); movie1=new JLabel(""); movie2=new JLabel(""); movie3=new JLabel(""); movie4=new JLabel(""); movie5=new JLabel(""); movie6=new JLabel(""); baconPath = Box.createVerticalBox(); baconPath.add(actor1); baconPath.add(movie1); baconPath.add(actor2); baconPath.add(movie2); baconPath.add(actor3); baconPath.add(movie3); baconPath.add(actor4); baconPath.add(movie4); baconPath.add(actor5); baconPath.add(movie5); … |
|
So I've got this jtable set up that displays the contents of an arraylist by use of the handy dandy table model (see code below). you'll notice it calls a method makeTableArray() (see code below) in order to figure out what the array that its going to use is. In … |
|
I was talking with someone and the subject of Image editing/creating came up. Photoshop came up within this conversation ofcourse, but this person also mentioned a program named GIMP. They said it was a good and free solution. Where can I get GIMP? Is it really a good program? I … |
|
I gotta tell ya, I really like this program. I used it to make an 11 minute long school project and Iit was very easy to use. Drag and drop, crop the segment, add music, put in titles, its all very nice. I'm trying my hand at some more movie … |
|
So I'm making this video in windows movie maker. I can save my movie maker file just fine but when ever I go to save it as a movie, you know compile everything I've done, the problems occur. It just can't do it. It gets stuck and doesn't do anything. … |
|
Re:
First of all i hope i am posting this in the right place. Anyway, i have recently purchased a copy of sam's teach yourself c++ in 21 days (fourth edition.) and have realy gotten stuck into it with the dream of being able to create some cool programs. i want … |
|
So I had this nifty program on my calculator that I wrote that sloves quadratic equations for me. I decided it would be good practice to try and write it in C++. I've actually had 4 different versions, each one (atleast in my opinon) getting better than the last. When … |
|
With school out and summer in full swing I decided to learn C++ in order to keep myself busy. I've been playing around and learning a lot. So far I've been able to make a program that solves quadratic equations! Alas, I've encountered a problem I can't figure out for … |