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
~421.37K 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

569 Posted Topics

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
245
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
326
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
387
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
209
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
314
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
149
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
407
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
211
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
423
Member Avatar for lena1990
Member Avatar for lena1990
0
315
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
186
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
315
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
487
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
161
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
764
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
314
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
279
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
17K
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
250
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: `[email protected]` 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
236
Member Avatar for Dostoyevsky

Hey, No-one would give you their email and you sending them across any source code. You haven't answered the right questions; or, given any indication in your post. Why doesn't it compile? There must be a reason, or, give an error (This is why error messages are generated because in …

Member Avatar for Dostoyevsky
0
256
Member Avatar for robelle

I have no idea what you are trying to do, or, what you are trying to convey in this post. Are you trying to calculate the velocity, or change in time on 2 vectors (matrices)?

Member Avatar for robelle
0
135
Member Avatar for hetem
Member Avatar for Ancient Dragon

Happy birthday :) hope all your wishes cone true; celebrate well!

Member Avatar for Stuugie
0
148
Member Avatar for vishalonne

Might be asking a stupid question here, but, why is this in server-side? Since, I'm pretty sure it goes off the time and date set in the server, over what is on the local machine. Since it's a day out, probably your problem is that you're not setting a default …

Member Avatar for diafol
0
201
Member Avatar for SPRINGHEEL

First off, please note that `mysql_*` functions are soon to be removed from the standards. To answer your question, you can do the following: <?php $email = $_SESSION['email']; $query = "SELECT * FROM tbl_student_master WHERE email='$email'"; $result = mysql_query($query) or die(mysql_error()); Or just the following: <?php $email = $_SESSION['enail']; $query …

Member Avatar for gabrielcastillo
0
129
Member Avatar for iamthwee
Member Avatar for klika

What is it that you are trying to do? If you are trying to square each element in the vector/array then it would be `y[i]*y[I]` but I doubt that's your problem but I don't exactly know what it is you want to do so can you be more specific?

Member Avatar for ddanbe
0
139
Member Avatar for Marc_2

It really depends on the things that you are wanting to do. Programming in general is a very broad subject. If you are into web development then it might be an idea to choose something small, such as HTML.before tackling more dynamic and sophisticated languages such as PHP. If your …

Member Avatar for phorce
1
202
Member Avatar for phorce

Assume that I have a vector: x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] What I need to do is split this vector into block sizes of `blocksize` with an `overlap` `blocksize = 4` `overlap = 2` The result, would be a …

Member Avatar for vmanes
0
187
Member Avatar for najiawad0

Yes. Of course you should get Ubuntu. I was a mac user, now have completely gone with Ubuntu/Gnome. Go for it!

Member Avatar for Violet_82
0
269
Member Avatar for iamthwee

Going with @Jorge here, let's say you had just a service where you can only sign in using your username, atleast have an option where the users can enter some information to retrieve what their username is. I.e. "I've forgotten my username"

Member Avatar for diafol
0
132
Member Avatar for lampie
Member Avatar for phorce
-1
562
Member Avatar for iamthwee
Member Avatar for matrixdevuk
0
606
Member Avatar for xmas4evermine
Member Avatar for Suzie999

To me, it appears that you are passing in too many variables. What do these do? Another thing: //check input is not empty if (String == "") { return 0; } Here, in your comments you say "check if a string is not empty" but, in actual fact, you're checking …

Member Avatar for Suzie999
0
295
Member Avatar for Alibi Ghazi

Yeah, Matlab provides the full source code as well as the algorithms/equations used for FFT. `Open('fft')` `edit fft`

Member Avatar for phorce
0
143
Member Avatar for Mohamed_26

I don't think your query is valid: `$query = "SELECT DVD ID, Name Of the DVD, Quantity FROM DVD";` looks too plain english.

Member Avatar for Mohamed_26
0
267
Member Avatar for twiggy145

First off, right click. Is the HTML code being populated with "eventName" if this is a no, then you should attempt to look at the querying of the database (I'm guessing that you have mysqladmin or w.e.) try and run this query within that client and see what results show …

Member Avatar for twiggy145
0
925
Member Avatar for Dani

Turning it off. It doesn't work through web (using google mail) and it just sends me so many emails. :( Good idea tho.

Member Avatar for Ancient Dragon
0
621

The End.