199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sarafuddin

Can I get the question's solution? Define a structure called Toy with the following members: . Name of Toy . Price of Toy . Made in (the place where the toy is made) . Manufactured date (define as a structure with date, month, year) Using the structure defined above, write …

Member Avatar for Despairy
0
178
Member Avatar for System Networks

I am sick of putting resources and coding them all the time and I don't want to always repeat them. I'm using slick2d in java. It is a game library. I cannot find and game engine tutorials either. How do I create a game engine?

Member Avatar for System Networks
0
279
Member Avatar for getnit

I need a suggestion on the scenario I have, multiple application sharing same data. -I have a set of tools which is developed independetly, but there is a set of data they share. -Its around 7 Applications sharing some of the basic data and few data are specific to the …

Member Avatar for tpunt
0
159
Member Avatar for hwoarang69

note i am working on eclipse, java, xml and anroid. i have a activity_right_sub_menu.xml file <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/I_ABOUT" android:title="About Us" android:numericShortcut="1" android:alphabticShortcut="a" android:orderInCategory="100" android:showAsAction="never"/> <item android:id="@+id/I_PREFERENCE" android:title="Preferences" android:numericShortcut="2" android:alphabticShortcut="b" android:orderInCategory="100" android:showAsAction="never" /> </menu> than i have a Menu.java file public class Menu extends ListActivity { …

Member Avatar for jalpesh_007
0
3K
Member Avatar for FUTURECompEng

I am trying to input an int into the end of a singly linked list. I have already created the code to put a number at the end of the list but when I go to print it out, it only prints out (in my test class) the int that …

Member Avatar for jalpesh_007
0
307
Member Avatar for daino

I'm trying to install podofo (pdf library) for use with MingW in Windows XP. It requires zlib. I'm using CMAKE to generate the makefile. For some reason, CMAKE, no matter how many times i redirect the ZLIB_LIBRARY to the zlib directory an error in CMAKE occurs telling me that it …

Member Avatar for BobS0327
0
1K
Member Avatar for nyfan68

I was wondering if anyone could give me some help on this homework assignment. I have done all the tasks asks of me, but when I try to run the program to test it out, my IDE says the thread exits with a code 0 (whatever that means). I am …

Member Avatar for Ancient Dragon
0
194
Member Avatar for FreddyGIraheta

How do i input an if else statement inside an already existing if else statement?

Member Avatar for MandrewP
0
110
Member Avatar for rayden150

I am practicing my C++ programming just making an Health Care related program, I cant seem to access my data that is stored on a .txt file, All I get is that f is not declared in this scope Heres the code: [CODE] #include <iostream> #include <stdlib.h> #include "structr.h" using …

Member Avatar for anilnepal1111
0
1K
Member Avatar for master-tech

Hi y'all, I've done a number of searches and haven't been able to find this question already asked... I have a simple, (in a single php file) URL Redirect in the form of a Wordpress plugin. I already have a simple "define->function->echo" code for displaying the total hits/visits count for …

Member Avatar for LastMitch
0
123
Member Avatar for tapuwa2002

I have a csv file with data I would like the data to be filled in the empty spaces. then export to excel file or into a database for example. I would like the first column to copy the first Product A to fill the other spaces For example Type …

Member Avatar for LastMitch
0
928
Member Avatar for tboctavan

I have NO idea why C# is so difficult for me when C++ is a breeze. I want to preface this post with this: Yes, this is for a class still. But I'm only coming to people more knowledgable than I because... I just don't get it. I've read my …

Member Avatar for nmaillet
0
238
Member Avatar for randomkid73

As stated in the title, I'm trying to load a single row of user information into an array, preferrably associative. Here's what I have so far: function load_User_Info($id) { $parameters = array(); $results = array(); $query = "SELECT * FROM users WHERE User_ID=$id"; $stmt = $this->conn->prepare($query) or die('Error preparing query'); …

Member Avatar for randomkid73
0
2K
Member Avatar for jnewman3

I'm applying the peterson solution for protecting memory of the critcal section. Each child process should contain a local variable that keeps track of the number of times it interrupts the other child while it is in its critical section. The process should display this value before terminating. I'm having …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for yalda.zand.35

Hi can someone help me with this question please? 1. In "setup" Create an array of 1000 random integers between 0 and 100. Also, in "setup" declare an array of bins or counters to find out how many integers fall into one of the 10 "bins" 0-9, 10-19, 20 -29, …

Member Avatar for Taywin
0
157
Member Avatar for eburlea

Hi. In March current year I started learning html, css, php, mysql, and a month ago started with Javascript. I have a webpage that I am working on to have practical tasks for finding solutions to them. I have created a Javascript code that colores the rows of a table …

Member Avatar for eburlea
0
252
Member Avatar for Stuugie

Hi all, I'm about to get a little long winded here and I'm sorry for that but I have a couple of issues that I need guidance with. I have assembled a procedure that basically performs a bunch of web browser clicks to query Statistics Canada (SC). The query itself …

Member Avatar for Stuugie
0
533
Member Avatar for JeniF

Hello to all! I have an online manual (developed in php)that my company would like to revise for printing purposes. What I need to do is have this manual setup to include page numbering on the printed version so the instructor can reference pages during training sessions. They have expressed …

Member Avatar for caroleesuserid
0
838
Member Avatar for eburlea

Hi. I have a javascript code inserted before closing tag </body> that is meant to change the color of a table row when the mouse is placed over it. It works only when I remove the css file. Please advise what is the problem, I need them working together. The …

Member Avatar for eburlea
0
221
Member Avatar for Stuugie

Hi all, I have the following procedure that connects to my database. Sub getDateModified() Dim fileCreatedDate As DateTime = File.GetCreationTime(strFilePath + "\CPI1.csv") Dim stmt As String SQLConn.ConnectionString = ConnString SQLConn.Open() stmt = "select Table_Numbers From tblRelease_Dates Where (Release_Date Between '" + fileCreatedDate + "' And GETDATE())" SQLCmd.Connection = SQLConn SQLCmd.CommandText …

Member Avatar for Reverend Jim
0
166
Member Avatar for amadkhalil

hye... guys i m new one in C++ and i have a matrix of size 96x48 (which is a non square matrix) i want to take inverse of this matrix .... please guide me ...thanks

Member Avatar for mike_2000_17
0
1K
Member Avatar for NYCRAVEN

I have written a VB reservations program that writes back to a SQL 2008 database. When I write the reservation event back to the data base, I also write the reservation 'end time' back to the database as reservationtime + 4 hours in order to block off the event resource. …

Member Avatar for NYCRAVEN
0
371
Member Avatar for schippi

Hello, My son is taking a java course in Hawaii. His text book is "Java Solutions by Lewis & Loftus 6th edition. He copied several text book examples and tried to compile them with JCreator and NetBeans 6.8, each compiler gave pages of errors. The question is " What is …

Member Avatar for JamesCherrill
0
344
Member Avatar for Sneaky Pete

Dear all, I hope that you can help me with a vb.net problem. In my program the user chooses multiple options. When a group of options is given, than the program wil check if the user has give the right start and end value. See the code below If Me.cboA.SelectedIndex …

Member Avatar for Sneaky Pete
0
151
Member Avatar for nah094020

Ok cant seem to find the null pointer exception error on my code one moment its working fine the next when i add the 20 i get an error, and i dont know if this is what messing my find method. Between my tree is supposed to be a binary …

Member Avatar for Taywin
0
217
Member Avatar for pavitrakannan

# whenevr i execute ne "select *"for any database the error belo is shown,is there any setting in phpadmin....coz this problem occured 1 fine day.....pls help. # <html> <head></head> <body><html> <head> </head> <body> <?php $con = mysql_connect("localhost"); if (!$con){ die("Can not connect: " . mysql_error()); } mysql_select_db("snippets",$con); if(isset($_POST['update'])){ $UpdateQuery = …

Member Avatar for Will Gresham
0
136
Member Avatar for razorsky

After much searching I cannot find a particular way to get a datafile into my structure. I understand how to create and manipulate the structure. C does not play nicely with strings is another thing I have noticed. I have tried many examples of how to do this but none …

Member Avatar for j.c.
0
9K
Member Avatar for getnit

Hello, I am trying to have a numeric box in WPF toolbox, I have the following code which is giving me the control in the tool box, but I am unable make it accept only the numeric input. protected override void OnKeyDown(KeyEventArgs e) { short val; if (!Int16.TryParse(e.key.ToString(), out val)) …

Member Avatar for Sahil89
0
624
Member Avatar for mpc123

Hi hope you can help with this. Fields have spaces in the fields being echoed, how would I use the replace to change those spaces to a dash. 'Make' field will be something like blar blar blar and I need it to be blar-blar-blar <h4><a href="">'. $row['Make'].'</a></h4> Hope you can …

Member Avatar for LastMitch
0
159
Member Avatar for mpc123

Hi I am trying to echo this info with the different rows in the database but when I try the following code only the first result shows up. Please can someone help <?php $con = mysql_connect("localhost","blar","blar"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("blar", $con); $result = …

Member Avatar for LastMitch
0
210
Member Avatar for sgeep

Hey guys, I'm in an introductory computer science class that deals with Python. We're assigned to create a dice-rolling program using Tkinter, and I have the interface pretty much down, but I'm having trouble linking it to the dice-roller. Here it is. import random import Tkinter win = Tkinter.Tk() win.title("Die …

Member Avatar for TrustyTony
0
838
Member Avatar for andigirlsc

I have am either missing a brace or have an extra brace somewhere. This code is also incomplete as I'm still working on the program. The "else" error is a squiggly red line underneath the "else" for the customer does not have a discount coupon. Thanks! #include <iostream> #include <string> …

Member Avatar for mike_2000_17
0
273
Member Avatar for dancks

code: I am trying to debug the code, I can't understand why (or how) the same error is being thrown despite the if statements, dies, and different mysql_queries. I don't get it. <?php session_start(); $_SESSION['msg'] = ""; $con = mysql_connect('localhost','me','omglol'); if(!$con) { die("The connection to mysql server is not being …

Member Avatar for LastMitch
0
113
Member Avatar for bguild

I want to create a word processor. It seems like a useful project because I have strong feelings about how modern big word processors like MS Word and Open Office don't do things right, so my solution is to make one with more modest features but with the huge advantage …

Member Avatar for mike_2000_17
0
1K
Member Avatar for mogaka

Consider the following code: while($row=mysql_fetch_assoc($result)){ echo '<tr> '; echo '<td><a href="#?id='.$row['id'].'" class="dep_link"><img src="images/icn_edit.png" title="Edit"></a>&nbsp;<a href="#"><img src="images/icn_trash.png" title="Trash"></a></td>'; In my php form, i have created a jquery dialog link such that when the user clicks the 'icn_edit.png' image , a new iframe is loaded with fields for update. i want to …

Member Avatar for adam.adamski.96155
0
106
Member Avatar for hadas.beja

hello everybody, can you do something like this: dim x as integer=1 button_x.visibility=Windows.Visibility.Hidden i have about 24 buttons on my form that i need to change the visibility for. which buttons need to be changes - is a variable i get from database query. so i'll get several rows of …

Member Avatar for hadas.beja
0
157
Member Avatar for PF2G

Hi, I'm developing an APP for android which requires a database, i'm using mySQL, but haven't had any luck with it's connection, this is my code: connection class: public class MySQLConnect extends Activity{ public void onCreate(Bundle savedInstanceState) { } public static void connection(String[] args ) throws Exception{ Class.forName("com.mysql.jdbc.Driver"); Connection con=(Connection) …

Member Avatar for peter_budo
0
461
Member Avatar for chamnab

This is my designed form in VB.NET . What do you think about it ? Please give me some idea. [Click Here](https://www.dropbox.com/s/9ugkng13tz407k6/Untitled.png)

Member Avatar for <M/>
0
130
Member Avatar for NinjaMediaD

I forgot the way to write a query where you can psuedo name a table, for instance I have a table named user but I have to access it twice in one query and I want the results to be different. something like select user(a).f_name, user(a).l_name, user(b).f_name, user(b).l_name from user(a), …

Member Avatar for NinjaMediaD
0
203
Member Avatar for rubai

hi, I am new to javascript learning. I just want to know the detail explanation of this code given in w3schools. http://www.w3schools.com/js/tryit.asp?filename=tryjs_lightbulb I know method match() works for finding match. But I can not understand the function. I have knowlege of C. Know if...else, while loop, for loop and the …

Member Avatar for Taywin
0
568
Member Avatar for Khav

Greetz to you all Well i have an array that contain some characters and i want to check if they form part of a string.If yes then they should be deleted How to do this via php For e.g $string = 'Dani.web'; $charRemove = array('.','-','~','#','!','(',')','+',','); I want to get a …

Member Avatar for diafol
0
2K
Member Avatar for kamran.j

hello everybody; i have a problem, i want to convert a string which is an Equation to double, in order to use each part which is seprate by + or - ; how can i do that? thanks a lot for your helps.

Member Avatar for kamran.j
0
223
Member Avatar for anisha.silva

hi how do i do this problem how do i put this in to an array p.assign(p1, A); p.assign(p1, B); p.assign(p2, _A); p.assign(p2, _B); so that it display as p1 A B p2 _A _B because everytim i call the assign method the array index are going to be 0,0 …

Member Avatar for anisha.silva
0
153
Member Avatar for Inshu

I have a little problem to solve .. i have a array with x, y, z co-ordinates in it as a tuple. I am trying to find the distance between each point and sorting the points according to the min distance. Can soemone help me with the algorithm ??

Member Avatar for woooee
0
222
Member Avatar for warlord902

I have developed a application in java that connects to facebook on the basis of access token. I can produce access token manually by feeding in urls in browser. But I need something that automatically give me an access token. I am getting no idea, whether I can do it …

Member Avatar for psychman
0
1K
Member Avatar for qajaq49

In MS Access2007, I want to query ([I]q_Notes[/I]) a table ([I]t_Notes[/I]) in which one of the fields ([I]t_Notes.Topic[/I]) is populated from a Combo Box based on a field in another table ([I]t_Topics.Topic[/I]). I will have a table of several hundred records. I want to use the q_Notes query as the …

Member Avatar for wafs
0
511
Member Avatar for Learningvinit

A piece of C code was creating core dump. When i simply added a few fprintf statement and printed the value of variales used in code to a file, surprisingly the code ran successfully. I tried the scenario number of times and the result was same "when fprintf was present …

Member Avatar for Learningvinit
0
874
Member Avatar for HunainHafeez

this code is working for a counter of 6 bit and i need a counter of 48 bit ... if u have time kindly try it..... i try alot but not succeed #include<stdio.h> #include<stdlib.h> #include<float.h> #include<math.h> #include <time.h> #include <cstdlib> #include <iostream> #include<stdint.h> #include<conio.h> int main() { int a[64][6]; int …

Member Avatar for HunainHafeez
0
270
Member Avatar for Elixir42

Hi I can't seem to adjust the D3DXFONT_DESC properties. Sometimes it breaks at getDesc(...). I want to be able to have **each text row have their own font description and be able to change it**. Why is it not working??? Maybe I setting it in the wrong place or maybe …

Member Avatar for Elixir42
0
370
Member Avatar for Szabi Zsoldos

Hi guys, A quick problem that I'm facing with a return method. I've created a page for a friend with a questionnaire and i am validating all the radio buttons, this works nicely. When i want to verify the input fields of text type, it alerts me but the return …

Member Avatar for Szabi Zsoldos
0
144

The End.