Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
~9K People Reached
About Me

Junior System Developer

PC Specs
15" Macbook Pro running Windows 7 Ultimate
Favorite Tags
c++ x 33
php x 20
c x 7
unix x 4
Member Avatar for mmcdonald

Everything looks good, but just to make sure that you can access your data globally you might want to do something like this. <?php //this is config.php //inclusion of this file will give you access to an array called $userInfo //you can get information about the user by accessing this …

Member Avatar for mmcdonald
0
289
Member Avatar for newbie26

This would be a good place to start. http://php.net/manual/en/function.scandir.php This function will let you scan a directory, but you have to create your own methods for determining the difference between files and folders. Those are also PHP standard functions, so please look through the documentation.

Member Avatar for newbie26
0
314
Member Avatar for nexocentric

I have an interesting problem and have searched the internet, but haven't yet found an answer. Consider the following function: function get_setting_values_from_file( $parameter ) { exec("/usr/var/binary --options $parameter", $output, $return); $settings = file( $output[0] ); } I need to unit test a similar function. I am currently using phpUnit for …

Member Avatar for nexocentric
0
956
Member Avatar for nexocentric

My network card doesn't have any UNIX drivers, but it does have windows drivers, so I'm trying to install ndiswrapper. It seems like the default installation of Ubuntu server doesn't have python installed, so I can't dpkg niswrapper in. Is there any resource to help me learn how to hunt …

Member Avatar for nexocentric
0
268
Member Avatar for nexocentric

I'm having a small problem with a variable in one of my PHP scripts. The variable is `$isSubMenu`. It gets set using a function that runs recursively called createNavigationMenu. However, even though I have set it, the interpreter keeps telling me that the variable is undefined. I really don't know …

Member Avatar for nexocentric
0
570
Member Avatar for nexocentric

Before I post my problem I would like you in advance for taking the time to read this. I've been using simpletest to help me develop and test my php scripts. I'm currently working on a session class and when I go to test it I get the following exception …

Member Avatar for nexocentric
0
235
Member Avatar for nexocentric

I'd like to start by thanking whoever reads this for their help. I've been trying to learn Test Driven Development (TDD) in a php environment. I've read a lot about it and stumbled upon both PHPUnit and simpletest. I've spent the past 8 hours searching the internet for tutorials and …

Member Avatar for nexocentric
1
247
Member Avatar for nexocentric

How do I represent a use case that has no actor? I'm doing the preliminary work for an IT system. I'm trying to list up all the actors so that I can create all the use cases that I need; however, there are things like background processes that must run …

Member Avatar for nexocentric
0
243
Member Avatar for NRaf
Member Avatar for jephthah
0
120
Member Avatar for csurage

Before we can solve that problem there are a few questions that you may need to answer. 1. What exactly to do mean by "when the gui isn't doing anything?" do you mean "when the user hasn't put input anything for 30 seconds" or "when there hasn't been any mouse …

Member Avatar for csurage
0
249
Member Avatar for Sam_Surrey
Member Avatar for hydravien
Member Avatar for nexocentric
0
188
Member Avatar for asmsycool

From what I'm seeing here your problem maybe with this. [CODE=VB]If EnterDestination.ToUpper = Destinations(index) Then[/CODE] Using the ToUpper method makes the whole string uppercase. So if the user entered "hello" the string would become "HELLO" after calling ToUpper. Take a look at the MSDN explaination of ToUpper function [url]http://msdn.microsoft.com/en-us/library/system.string.toupper(VS.71).aspx[/url] One …

Member Avatar for nexocentric
0
96
Member Avatar for bobos051

I don't quite understand your question. Do you mean, you have 3 radio buttons. For example Rdbut1 Rdbut2 Rdbut3 When a user selects Rdbut1, the value 1 is displayed in a text box?

Member Avatar for bobos051
0
75
Member Avatar for kadamati

Could you post the command you are using to compile your program when it is in the jdk\bin folder?

Member Avatar for abbie
0
102
Member Avatar for Seamus McCarthy

First things first, you might want to clean things up by moving your struct and function declarations to a header file. Next if you change the function prototype [CODE=C]int insert(struct queue * the_Queue, int item)[/CODE] to [CODE=C]int insert(struct queue * the_Queue, struct product * item)[/CODE] the function declaration from [CODE=C]int …

Member Avatar for Seamus McCarthy
0
159
Member Avatar for ongpong

What you might want to do is use two loops. One loop for storing each number, and another for printing each number. [CODE=C]#include <iostream> using namespace std; int main() { int y, s[100]; for ( y = 0 ; y < sizeof(s); y++ ) { cout << "Enter a Number: …

Member Avatar for Ancient Dragon
0
114
Member Avatar for esesili

I assume that when you ran the code after you set the text with setText it ran just fine? A really quick way to debug this code would be to use a try catch block to find out what is going on when you parse your string. [CODE=JAVA]public double getLatEntered() …

Member Avatar for JamesCherrill
0
143
Member Avatar for mem81

Like you said, if you pass it a real value then you have no problems, so the problem would be in these two lines. Did you check the value that's coming back from Mid(RichTextBox1.Text, 1, 800) ? If this isn't returning a value then that's the problem. Otherwise check the …

Member Avatar for nexocentric
0
71
Member Avatar for gretty

For the first part of your question you can use sscanf(). [url]http://www.cplusplus.com/reference/clibrary/cstdio/sscanf/[/url] I'll back to you on the second part in just a second.

Member Avatar for nexocentric
0
159
Member Avatar for mpete16

A lot of times when you have a linker error, it means that one of your functions is looking for a function prototype ( the things that you usually put in a header file so that other functions can call each other ). That's what we use #include for. In …

Member Avatar for nexocentric
0
146
Member Avatar for AntonioMG

Would it be possible for you to post the code for your class declaration, the function for getEngineIds(), and your main?

Member Avatar for nexocentric
0
520
Member Avatar for ryan311
Re: help

I don't quite understand your question. Could you rephrase it once again in a little more detail?

Member Avatar for ryan311
0
123
Member Avatar for alexms

When you use "%s" specifier for fscanf it reads until a white space character is found. White space characters would be a space, newline character, or a tab. You can check out details on fscanf here. [url]http://www.cplusplus.com/reference/clibrary/cstdio/fscanf/[/url] I also took a quick look at your structs. Since you're a linking …

Member Avatar for nexocentric
0
2K
Member Avatar for Rahul8389

Are you talking about an exe file that made to install a program? In which case the thing that you would be talking about doing is making an installer?

Member Avatar for nexocentric
0
58
Member Avatar for claytonl

The solution to your problem isn't that difficult... well not for someone with some programming experience. If you are looking to program a solution to this problem the steps that I would take would be the following. 1. Generate a list of numbers from 1 - 999999 because you want …

Member Avatar for nexocentric
0
159
Member Avatar for threat

I just glanced through this really quick, but on line 148 you have [CODE=C]if((temp->pri>pr)&&(temp->state!=2)) { pr=temp->pri; }[/CODE] You also have the declaration [CODE=C]int pr = -1;[/CODE]. Does temp->pri ever get set to -1? From what I saw it doesn't, so might that be part or your problem?

Member Avatar for nexocentric
0
159
Member Avatar for Cardboard Box

Would it be possible for you to post the code for the class in question and the function that should be getting the value of the resources?

Member Avatar for nexocentric
0
91
Member Avatar for nexocentric

This i the background to my problem, which is stated in bold text. I am currently working with a SAFEARRAY. I've declared a two dimensional array in VB6 and I'm trying to store data from a C++ dll in it. I have used the resources listed below to learn how …

Member Avatar for nexocentric
0
415
Member Avatar for nexocentric

Before I state my problem, which is in bold text, I need to give you a little bit of background. I'm working with 3 binary log files of about 35mb each. Each one holds approximately 65000 records. Each record, which is about 400 bytes, holds information containing the date, transmission …

0
62