Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #4K
~10.2K People Reached
Favorite Tags
c++ x 24
c x 2

13 Posted Topics

Member Avatar for SWAT

Hi could you change my username to spetro3387. I built a website using my name and it is pushed back on google searches because of these forum posts. Thanks.

Member Avatar for <M/>
0
1K
Member Avatar for spetro3387

I am compiling some source that is linked to two packages. One is OpenCV and the other is a driver library for an infrared camera. The company only provides a 32-bit version of the library via an rpm package. I compiled OpenCV from source and it's libraries are installed in …

Member Avatar for spetro3387
0
5K
Member Avatar for spetro3387

I recently received a new 64-bit laptop and is my first endeavor into 64-bit computing. I installed all my usual packages through yum (I am using fedora 64 bit) and it downloaded all the 64-bit versions of the packages. I went to install an rpm packaged by years ago by …

Member Avatar for rubberman
0
157
Member Avatar for spetro3387

I am writting a driver for a GPS unit in linux. I can set on the GPS unit what data it should send out it's ethernet port. The data is arranged in structs of different sizes depending on what it is. For example one packet could be for the GPS …

Member Avatar for L7Sqr
0
95
Member Avatar for spetro3387

I am trying to change assign the pointer "c" to the pointer "a" below using the function "change()", but I am doing something incorrectly, not exactly sure. The direct assignment within the main() function works (ie a = c), but does not work using the change function. [CODE] void change(float …

Member Avatar for spetro3387
0
151
Member Avatar for spetro3387

Hi everyone, I am working on a 3D viewer using libQGLViewer. In all of the examples provided, the main function looks something like this: [CODE] int main(int argc, char** argv){ QApplication application(argc, argv); Viewer viewer; #if QT_VERSION < 0x040000 application.setMainWidget(&viewer); #else viewer.setWindowTitle("pointCloud"); #endif viewer.show(); return(g_qApplication.exec()); //waits for Esc } [/CODE] …

Member Avatar for spetro3387
0
160
Member Avatar for aznlitomik3

[QUOTE] 2. You should only calculate your average after you have accumulated the total sum. Move this Line: avg = sum / vals[i] to a line after the end of your loop. [QUOTE] avg = sum / vals[i]... you sure about that? [CODE] //int num_elem......number of elements present in vals[] …

Member Avatar for aznlitomik3
0
288
Member Avatar for awais1a

Try to write the code out and see if you get the answer. This is simpler than you think. If you really can't get it, post your code (make sure you use code blocks) and we will give you some code/advice. -Sam

Member Avatar for VernonDozier
0
182
Member Avatar for spetro3387

I am working on some image processing ideas and I want to implement them using pthreads. Here is an example I came up with just to make sure that the threads were actually doing what they were supposed to be doing. It just increments the values in an array and …

Member Avatar for spetro3387
0
229
Member Avatar for dancks

What is the purpose? Are you just trying to dynamically allocate a specific amount of memory for your input buffer, enter numbers one by one, and then compute the average?

Member Avatar for Fbody
0
184
Member Avatar for knellgust

Here is how you should do it: [CODE]#include <iostream> #include <string> using namespace std; const int SIZE = 30; const int bSIZE = 3; struct Book{ string title; string author; Book(string t, string a):title(t),author(a) {} }; /*'struct Book *arrbook[]' is the same thing as 'struct Book **arrbook' */ void Initialize(struct …

Member Avatar for knellgust
0
166
Member Avatar for hq1

[QUOTE=hq1;1390330]Hi so I have this program to find the largest odd number from an array of 50, the program runs fine, but the problem is after reading the numbers from file it says the largest odd number is 0. Can some one please have a look for me and tell …

Member Avatar for spetro3387
0
2K
Member Avatar for Kosithc

> Hello, > > I have 2D matrix with greyscale image data, in particular point I have computed vector, which contains gradient in this point (via Sobel operator, it has 2 values - difference in x and in y axis), and I store this gradient vector like perpendicular vector to …

Member Avatar for spetro3387
0
165

The End.