Posts
 
Reputation
Joined
Last Seen
Ranked #241
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
89% Quality Score
Upvotes Received
202
Posts with Upvotes
177
Upvoting Members
108
Downvotes Received
25
Posts with Downvotes
22
Downvoting Members
18
41 Commented Posts
25 Endorsements
Ranked #50
Ranked #148
~418.06K People Reached
About Me

Hi I'm Phillip, I'm currently a student, who specialises in Signal Processing / Speech Analysis and Recognition. You can find me coding C++, PHP and Matlab really.

Interests
PHP/C#/C++/MatLab/jQuery/
Favorite Tags
Member Avatar for V3N0M

This is always a good project (http://en.wikipedia.org/wiki/P_%3D_NP_problem) .... Joke. @dean makes some valid points ;D

Member Avatar for Brandon_38
0
234
Member Avatar for pwolf

>> university they would briefly cover each of these fields. This totally depends on the University and/or the choice of course you study. Most are programming based (in the UK) but it's very unlikly (unless you study a Games related course) that they will cover "Graphics Porgramming" however, Web Developer …

Member Avatar for bendunk71
0
317
Member Avatar for LastMitch
Member Avatar for phorce

I'm having the following difficultly: I have a table `rates` which contains the follow: -> id -> rate_from -> rate_to -> price A `user` can have many rates, and for an example: between 0 - 10 hours the `user` charges `10.00` an hour between 10 - 100 hours the `user` …

Member Avatar for diafol
0
372
Member Avatar for rajendra87
Member Avatar for harshguy

Hello, some compilers (especially with C++) only allow this: #include <iostream> .... Could try taking the .h. Is there no way you cannot install GCC?

Member Avatar for mackit
0
1K
Member Avatar for phorce

Hi all, I think I might have missed something, I have been away for sometime. I was visiting the site and noticed that I had access to area 51. But I don't seem to recall having any of the privileges mentioned in the description. Is this an error or has …

Member Avatar for Dani
0
208
Member Avatar for jonlloydd
Member Avatar for pdk123

You have not declared the method prototype correctly in your class. static std::map<std::pair<u32, u32>, CreateSessInfo> m_mSessionId2CCRNum2DefaultBearerId; Shoudl be: static std::map<std::pair<u32, u32>, CreateSessInfo> m_mSessionId2CCRNum2DefaultBearerId() { // Logic here return map; } Then you can access it as: `Foo::m_mSessionId2CCRNum2DefaultBearerId();` Here, I did a similar example: http://ideone.com/NelSt9 no logic is there, but, I …

Member Avatar for NathanOliver
0
307
Member Avatar for saxon84

Assuming that it is what I think you are doing: int** DATA = new int*[10]; // This has now got 10x0 This initialises a 2D array called `DATA` with 10 columns. You will need to therefore set the rows when you are iterating through the array. Each row `(0.....9)` will …

Member Avatar for deceptikon
0
3K
Member Avatar for shady atef

Your problem does not seem like it is on line "4", more of the line above, below. You have not specified the error, what does the error say is the problem?

Member Avatar for minitauros
0
146
Member Avatar for TommyTee

You are kind of doing it wrong.. What you want to do, is create an Array of objects, the size of this array can then be determined at run-time.. Something like the following: #include <iostream> using namespace std; class Foo { public: static int count; Foo() { } Foo(int i) …

Member Avatar for David W
0
2K
Member Avatar for sonu_1

If you have a key pair value, then surely the best possible structure to use would be a hash table over a binary tree? Give some sample output of the file, please.

Member Avatar for Rizwanrana786
0
399
Member Avatar for Auroch

Well, this function: bool (LineSegment &ls) { int dist; ls.p1 = ls.p1 + dist; ls.p2 = ls.p2 + dist; } If you look at a method, in terms of some pseudocode: function [type] [name] (parameters) [ //... implementation return [typy] ] Therefore, you can think of it like this: bool …

Member Avatar for Auroch
0
209
Member Avatar for oanahmed

Hello, Ateficial intelligence is a broad scope, and does not just depend on the algorithms and software based solutions as you're pointint out. There are other aspects, in terms of Robotics which contains primarly a hardware approach to solving these tasks. Understanding robotics, for example, does not really depend on …

Member Avatar for oanahmed
-1
410
Member Avatar for lena1990
Member Avatar for lena1990
0
312
Member Avatar for DS9596

Hey, what the problem is asking you is to count the total number of times an element exists inside an array. Assume the following: `A = [1, 2, 3, 4]` `B = [2, 1, 2, 4]` Then you can do the following: `AϵB` This is going to either give you …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for mohan@nano
Member Avatar for stokie-rich

Have you tried: $query="INSERT INTO users ('firstname', 'lastname', 'username', 'confirmusername', 'password', 'confirmpassword', 'email' ,'confirmemail') VALUES ('$firstname', '$lastname', '$username', '$password', '$confirmpassword', '$email' , '$confirmemail')"; ?

Member Avatar for iamthwee
0
16K
Member Avatar for Jake_4

Please do not create a new topic with the same question; this can be classed as spam and your question will be deleted. What you are doing here is using the same array, which, in tern most likely segment and thus time out. Try, something like the following: for(int n …

Member Avatar for pritaeas
0
185
Member Avatar for Jake_4

What do you mean by "Tune", what it looks like you're doing is creating a sine wave at a particular frequency Htz. Where do you declae the sampling rate? If you're talking about creating a "tune" in terms of a synthesizer then this is a lot more complex and you …

Member Avatar for phorce
0
314
Member Avatar for Rootz

First off, your question is quite confusing. I can't gather what it is what you're trying to do, let me try with a different example, see if it makes sense to what I think they are wanting you to do. Let's assume that you have a Person, each person therefore, …

Member Avatar for Rootz
0
485
Member Avatar for softwaretime

What the hell is this: // new averaging system float pp; float x; float xx; float xxx; float xxxx; float xxxxx; float xxxxxx; float xxxxxxx; float xxxxxxxx; float xxxxxxxxx; float xxxxxxxxxx; float xxxxxxxxxxx; float xxxxxxxxxxxx; float xxxxxxxxxxxxx; float xxxxxxxxxxxxxx; float xxxxxxxxxxxxxxx; float xxxxxxxxxxxxxxxx; float xxxxxxxxxxxxxxxxx; float xxxxxxxxxxxxxxxxxx; float xxxxxxxxxxxxxxxxxxx; float …

Member Avatar for frank.dekievit.50
1
13K
Member Avatar for d100man
Re: c++

What is the question? Your conditional statement is wrong. Look on line 15, why would you need `;`?

Member Avatar for samson.dadson.3
0
158
Member Avatar for Suzie999

Because not many people have access to this library, please could you specify some expected input and outputs? Also, what is the data type of `MInput`?

Member Avatar for Suzie999
0
755
Member Avatar for mystycs

I'm sure I've seen someone else ask this question on here, I might be wrong! Please show that you have at least tried :P

Member Avatar for David W
0
311
Member Avatar for nadiam

Try this: $add=mysql_query("INSERT INTO contact VALUES ('','$salutation','$fname','$lname','$houseone','$housetwo','$housethree',$tel','$off')") or die(mysql_error());

Member Avatar for Assembly Guy
0
276
Member Avatar for debasisdas

I should have really done some work today, instead I stare looking at work that could have been done.

Member Avatar for James_28
8
16K
Member Avatar for john.kane.100483

You have just copied the code from somewhere in a hope that it will work? This is a very bad way to solve a problem, and, this has obviously been shown here. From what I can see, skim reading of the code, you seem to have a mixture of C …

Member Avatar for David W
0
247
Member Avatar for mattyd

I believe, from what I can see is that the validation requires a `.` followed by between two or three characters `(\.[a-z]{2,3})` so email addresses like: `test1@gmail.com` would valid true, whereas email addresses containing a `.` with only one character, would throw up an error. There are some pre-built functions: …

Member Avatar for cereal
0
234