Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~22.4K People Reached
Favorite Tags
java x 20
php x 19
c x 19
c++ x 14
Member Avatar for brandon66

#include <iostream> #include <iomanip> #include <stack> #include <queue> #include <vector> #include <fstream> using namespace std; class graph { public: graph(); graph(int); //graph(int, int); void setEdge(int src, int dst); void printGraph();//print graph void bfs(int);//Breadth First Search void dfs(int);//Depth First Search void bfsSpan(int);//Breadth First Search Spanning Tree void dfsSpan(int);//DepthFirt Search Spanning Tree …

Member Avatar for brandon66
0
514
Member Avatar for brandon66

Hey everyone, i've got myself stuck on a problem of determining a winner. While doing a battle if a player runs out of cards it will use the last card(card that started the battle). I cant seem to get all the bugs out of it; and i think im overlooking …

Member Avatar for brandon66
-1
282
Member Avatar for brandon66

Im trying to implement queue with a linked list i think i have the enqueue function correct but im having problems with the dequeue. I can get it to delete the first number but then the rest of the list is empty can someone point me in the right direction? …

Member Avatar for brandon66
0
242
Member Avatar for brandon66

Hell everyone i have datatables set up right now and i want to convert it over to server-side processing [Link to Script](http://www.datatables.net/development/server-side/php_mysql) right now i am using this code which seems to be very inefficient now that the database is getting larger. Would anyone want to help me convert this …

Member Avatar for Sijeveux
0
2K
Member Avatar for brandon66

Hello everyone~! I have a text file with integers on every line like: 2397 4013 9382 5995 4961 9961 1535 146 8153 3877 5872 2690 9731 8060 8452 7873 1109 4152 7256 2437 6815 2032 2473 1090 5674 6096 7868 422 My problem is: Im not sure how to store …

Member Avatar for brandon66
0
188
Member Avatar for brandon66

Alright can you guys tell me why the first call to printOcean prints out the memory address of the arrays rows/cols and the second one prints like its suppossed to with 0's which the array is filled with #include <stdio.h> #include <string.h> //macro #define FLUSH_STDIN(x) {if(x[strlen(x)-1]!='\n'){do fgets(Junk,16,stdin);while(Junk[strlen(Junk)-1]!='\n');}else x[strlen(x)-1]='\0';} //define constants …

Member Avatar for brandon66
0
191
Member Avatar for brandon66

Hey guys, seems like im doing something wrong here 2 occurs 4198861 times* in an array of size 100, i need another set of eyes if anyone can point me in the right direction #include <stdio.h> //proto void printOccurrence(int countArray[], int countSize); //main int main(void) { //variables int arraySize = …

Member Avatar for Moschops
0
195
Member Avatar for brandon66

Hey everyone, i was suppossed to convert my array notation over to pointer notation in my functions, but am i missing something? i though this would be correct. Can someone point me in the right direction #include <iostream> #include <iomanip> #include <fstream> #include <cstdlib> using namespace std; //function prototypes void …

Member Avatar for Ancient Dragon
0
154
Member Avatar for brandon66

Hello everyone im not very good with using pointers, maybe just need more explanation of using them/how i would change my code. Well i have to update this program i have to read in item number cost and qusantity from a file instead of getting it from the user. the …

Member Avatar for brandon66
0
261
Member Avatar for brandon66

I have a text file i want to read data from the first line of the test file is ow many lines are in it then on each line seperated by a space is itemnumber itemprice itemquantity. 3 39284 5.75 12 18372 4.50 23 27649 12.99 81 how would i …

Member Avatar for cgeier
0
312
Member Avatar for brandon66

Hey everyone, Im creating a Tic-Tac-Toe game and i was wondering if i would need to hard code my function in order to get "pretty" output. Like underscores between the rows and a line between the columns. Pretty much have the game in a table labeled columns/rows with the column …

Member Avatar for L7Sqr
0
224
Member Avatar for brandon66

Hey guys, im building a Tic Tac Toe game and im checking for a winner via this function(code below), Im juct wondering if there is a better way of doing this then how im doing it. if so could you point me in the right direction thanks :) The array …

Member Avatar for brandon66
0
216
Member Avatar for freely.willy.3

I want to create in html textbox named **b** and php code which gets email from it with $_POST. Unfortunately as setBcc is used as an array and I cannot convince php to get emails from this textbox. This is the code of php: <?php require_once 'lib/swift_required.php'; $transport = Swift_MailTransport::newInstance(); …

Member Avatar for brandon66
0
3K
Member Avatar for Eagle.Avik

hi, can anyone point out why is this script not working?? it does not inserting data into mysql.. here is the script: if ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['form_name'] == 'signupform') { $newpassword = $_POST['password']; $confirmpassword = $_POST['confirmpassword']; $code = 'NA'; $active = '1'; if ($newpassword != $confirmpassword) { $error_message = …

Member Avatar for brandon66
0
337
Member Avatar for brandon66

Hey guys i have a table made and when a value changes i want to update the table to the new value so other can see it on their screen. example ( if i update the status dropdown too unavailable i want other users to see that change) Anyone have …

Member Avatar for brandon66
0
205
Member Avatar for brandon66

I have an array like so: $array = array(value1,value2,value3,value4,value5,value6,value7,value8,value9,value10,value11,value12); What i need to do is insert the array value into a database row one would have value1,value2,value3,value4 row two would have value5,value6,value7,value8 row three would have value9,value10,value11,value12 I was thinking i would need a for loop. Can anyone help on …

Member Avatar for broj1
0
157
Member Avatar for brandon66

This is whats returned from a print r in php how would I work with this? SimpleXMLElement Object ( [@attributes] => Array ( [version] => B000 ) [ReturnMessage] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => 1825050393 ) ) [1] => SimpleXMLElement Object ( …

Member Avatar for brandon66
0
131
Member Avatar for brandon66

Hello everyone, im trying to implement select 2 with jquery validation engine pos-absolute but i cant seem to get it right does anyone know how i would get this working correctly? When an option is selected in the select box the validation engine will still say its required. not allowing …

Member Avatar for hag++
0
576
Member Avatar for brandon66

Hello everyone i have two forms that are similiar the only difference is the rma number. One RMA number will get typed in by the user which will add it to the database and the second one, the user will select an rma number from the database(dropdown menu). What i …

Member Avatar for brandon66
0
244
Member Avatar for brandon66

User fills out certain values in a form and hits the submit button. The values the user filled out will be submitted to the database. The user needs to come back to that form and be able to update the values he did not enter the first time. How would …

Member Avatar for brandon66
0
194
Member Avatar for brandon66

I was wondering if their is an easier way to do this; I want to select a number one through twelve from a dropdown and display that many textboxes and their labels this is how im setting it up. <script> $(document).ready(function() { $('#one').hide(); $('#two').hide(); $('#three').hide(); $('#four').hide(); $('#five').hide(); $('#six').hide(); $('#seven').hide(); $('#eight').hide(); …

Member Avatar for brandon66
0
277
Member Avatar for brandon66

Hey everyone having some troubles here with an update statement. I want to update a value(scanISN) if it exists and show information updated and if it doesn't exist show an error right now it show information updated even if it doesn't exist. How would I do that? <?php if(!isset($_POST['addMe'])){ //show …

Member Avatar for brandon66
0
205
Member Avatar for brandon66

Hello, I am wondering how i would connect PHP to Microsoft Exchange? I have a form set up that when it gets submitted i want it to be emailed to a certain person the problem im having is im not sure how i would get the connection to exchange.

Member Avatar for brandon66
0
11K
Member Avatar for brandon66

Hello, I was wondering how i would create the Units table for this. Would i just set both Unit_ID and Customer_ID in the Units table as foreign keys or do i need to have a primary key like Customer_Unit_ID then have the two foreign keys? Customers Customer_ID Customer_Full_Name Contact_Name Address_1 …

Member Avatar for brandon66
0
161
Member Avatar for brandon66

There are two products Harmony Field Unit, and Tuner. The Harmony Field Unit has a Test Date, Test Station, and Test Results that need to be tracked. The Tuner has a Serial Number, Firmware version, and Hardware Version that needs to be tracked. The Harmony Field Unit is made up …

Member Avatar for brandon66
0
155
Member Avatar for brandon66

How would i create the tables for this information; the dmr and tuner are products but there is going to be like 200 dmrs 50 tuners they each have different serial numbers how would i track each tuner and dmr with different serial numbers? Products DMR dmr id ISN dmr …

Member Avatar for brandon66
0
183
Member Avatar for brandon66

Hey guys i was just wonder how i would do this; i need to supply a value for Counts() in the triples function how would i do this to check all values in the array? Private Counts() As Integer = {two, three, four, five, six, seven, eight, nine, ten, eleven, …

Member Avatar for brandon66
0
93
Member Avatar for brandon66

Problem: How many times must I will I need to throw two dice to get three 2’s, three 3’s, three 4’s, three 5’s, three 6’s, three 7’s, three 8’s, three 9’s, three 10’s, three 11’s and three 12’s. Write a program that will roll two dice over and over until …

Member Avatar for Reverend Jim
0
206
Member Avatar for brandon66

Hey guys having some troubles here with screen scraping just wondering whats causing it not to pick up the string from the webpage it throws an error. package com.lati.latifoodmenu; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection; import android.os.Bundle; import android.app.Activity; import android.view.Menu; import android.webkit.WebView; public …

0
72
Member Avatar for brandon66

![WidgetRunning2](/attachments/large/3/WidgetRunning2.jpg "WidgetRunning2") hey everyone, need some help here im trying to create this(in the picture shown) but the problem im having is when i select the item from the combobox i want to show the price in the text field as shown but im not sure how i would go …

Member Avatar for NormR1
0
194