199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for daniel.moore.5099940

Hey everyone, i need help with this program im doing for a class, now i havent used c++ in a while so thats why im considerably fresh in all this. any at all help would be greatly apprecietated. ALso i can NOT spell to save my life. the problem states …

0
147
Member Avatar for foofdude

Okay, so I'm working on a battleship game, and I added these two tables which are throwing all sorts of errors, like: * Illegal Start of Expression, * Not a Statement, * ';' expected, * ']' expected, * <identifier> expected. I have no idea why... Help, please? import java.awt.*; import …

Member Avatar for JamesCherrill
0
448
Member Avatar for Dio1080

Hello, I need help making a table based off my tax code I made, the tax code was a little, but I need help with the table part also. The table should look like this: Income Single Married Joint Married Separate Head of house 50000 9846 7296 10398 8506 50050 …

Member Avatar for JamesCherrill
0
185
Member Avatar for rami sohaill

Hi everyone .. so i'm creating this project for college it's a system for airplane reservation i'm using multi dimensional array of objects i have two classes ticket and passenger .. this is the main /** * Name = Rami sohail Mohammed Jamous * ID = 1324057 * Java 203 …

Member Avatar for JamesCherrill
0
341
Member Avatar for timon.bijl

Hello , I'm very interested in making a game in flash i've done asp.net for a website and i've made a server and database allready for my game in vb;net but now i really want to make a gam esomething like this http://www.youtube.com/watch?v=QKzLS-EeQQM but i can't find a good learning …

Member Avatar for chris.stout
0
242
Member Avatar for deleted1234

[COLOR="Green"][CODE]Private Sub Text1_Change() Text1 = Format(Text1, "#,###") Text1.SelStart = Len(Text1.Text) End Sub[/CODE] This code formats the textbox value to include a comma for every 3 digits to the left. Problem is, it doesn't allow to type decimals like 3,000,000.50 What can I do?[/COLOR]

Member Avatar for AndreRet
0
6K
Member Avatar for mahela

Im using listbox with style = 1-checkbox. "project.mdb" is the database name "goods" is the table name. "tabno" and "tabid" are fields in the table. dim d as database dim table as recordset dim b as integer dim c as integer Private Sub Form_Load() Set d = OpenDatabase(App.Path & "\" …

Member Avatar for AndreRet
0
162
Member Avatar for janskey15

Guys please help.. It always says "Sorry, cannot log you in. Wrong login information". Thank u.. <?php session_start(); include "dbConfig.php"; if ($_GET["op"] == "login") { if (!$_POST["StudentID"] || !$_POST["password"]) { die("You need to provide a username and password."); } $q = "SELECT * FROM `student` " ."WHERE `StudentID`='".$_POST["StudentID"]."' " ."AND …

Member Avatar for NardCake
0
98
Member Avatar for johndohmen1963

how can i tell in php that 01 is not equal to 1 and 1 not equal to 01 so that i can insert it in the data table $startnummer= ($_POST['Startnummer']); $query9 = mysql_query("SELECT werkelijkstartnummer,startnummer,turnier_jaar FROM narr_turnier_".$onlyconsonants." UNION ALL SELECT werkelijkstartnummer,startnummer,turnier_jaar FROM narr_turnier_".$onlyconsonants."_ster WHERE turnier_jaar=".$jaarnu." && startnummer = ".$startnummer." "); …

Member Avatar for johndohmen1963
0
136
Member Avatar for 3.5.0-17

Couldn't find an actionscript section so I hope this is the next best section for such discussion. I'm trying to create an isometric game in adobe builder with AS3 along with the As3IsoLib isometric library. Currently upon clicking a unit you want to move I've got four boxes to popup …

0
108
Member Avatar for Aditya.gtbit

Hi I am trying to make an java application to compress file and folders in .zip format.. i want to add additional functionality of adding password to a zip file,for this i want to use aes-256 algorithm but i am stuck with this,i can't figure it out. if i apply …

Member Avatar for Taywin
0
343
Member Avatar for arslan.haroon

Hey! I am stuck on a problem in which i have to print an isosceles triangle (two sides equal) with any character. It would be really helpful if someone could tell me the code, the triangle should look like this: * *** ***** *******

Member Avatar for hariskhank
0
106
Member Avatar for prathiyus

just writing and testing the code using arrays, int main() { int i,n; int arr[14]; printf("\nEnter the array ",n); scanf("%d",&n); int lastindex = n-1; int *l; l = &lastindex; for(i = 0;i<n;i++) { scanf("%d",&arr[i]); } for(i = 0;i<n;i++) printf("\n%d\n",arr[i]); printf("%d",*l); //arr[i] = lastindex + 2; //printf("\n%d",arr[i]); if(arr[lastindex[arr]] < lastindex) { …

Member Avatar for Ancient Dragon
0
230
Member Avatar for eljainc

Hello, I'm having a problem with the ODBCDataReader Class in C# (Visual Studio 2005). I am able to open the database and query the tables in the code below. The problem is that the .read() loop returns over 7,000 records when in fact there is only one record matching the …

Member Avatar for eljainc
0
284
Member Avatar for mangel.murti

i configure openinviter with Codeigniter. gamil conatact is fetching but yahoo and facebook contacts list are not working.any suggestion will be appre.

Member Avatar for LastMitch
0
178
Member Avatar for vargabbaruah

I have been learning Python for a month now and just finished coding my first Markov chain. def markovmaker(filename): import random fhin = open(filename, 'r') worddict = {} newlist = [] wordlimiter = 0 for line in fhin: wordlist = line.split() for word in wordlist[:-1]: pos = wordlist.index(word) if word …

Member Avatar for woooee
0
161
Member Avatar for shlokka

hi everyone... i have tried creating an auto updater that will reload a certain div just like on facebooks status/wall refresher, when a user moves the mouse it auto refreshes there wall. so far i have the code below...but the problem is its just executing my function over and over …

Member Avatar for shlokka
0
140
Member Avatar for 9tontruck

Here's what I am trying to do: **1. As long as my generic handler gets HttpRequest, push it into a queue and just return empty response so that the request sender does not wait for the long process. 2. A thread keeps checking if there is anything is the queue. …

Member Avatar for 9tontruck
0
445
Member Avatar for SaaDwTk

I remember that I had a code of a multithread that you could start it how many times you want (it had no arrays). And I remember I only had to get the "Dim t1 as....(I dont rembemer)" line and insert t1.start to make it work. Also, it auto-dispose when …

0
93
Member Avatar for primeru333

I am using NetBeans to re-create monopoly board game. I attached my board file into the attachments. I have already gotten the board, dice, players drawn to the screen. My question is how do I get the values from the dice roll so that my images can be moved around …

Member Avatar for JamesCherrill
0
562
Member Avatar for gcclinux

Hello, Here is a snip of my code and although the mysql connection work and even the $num calcullate the numrows work as the tables gets created unfortunately no data gets populated, can any one one advise. 1 - mysql_connect (OK) 2 - mysql_select_db (OK) 3 - mysql_numrows (OK) 4 …

Member Avatar for adam.adamski.96155
0
191
Member Avatar for akashi

hi! can anyone solve this string-array problem or give me just an example about it * Write a program that converts a sentence input by the user into pig latin. You can assume that the sentence contains no punctuation. The rules for pig latin are as follows: a) For words …

Member Avatar for Lucaci Andrew
0
927
Member Avatar for katsmiley

In this program i have put numeric value in char variable. Trying to observe what happens when using %d and %c specifier. void main() { char ch=23; printf("value:%c",ch); getch(); } here when i use %d i get value:23 when i use %c i get some odd char. why the result …

Member Avatar for Tumlee
0
323
Member Avatar for Yoink

Hi, I'm writing a simple program that runs a vending machine. I thought I had everything working fine untill I messed around with the money input some more. In my program I obviously compare money values and check to make sure the values match up exactly to buy an item. …

Member Avatar for Yoink
0
530
Member Avatar for SaaDwTk

How can I unzip an archive using VB.NET? Actually I'm using this method, but it takes too long to extract: http://www.codeproject.com/Tips/257193/Easily-zip-unzip-files-using-Windows-Shell32 Do you know a faster way?

Member Avatar for Reverend Jim
0
121
Member Avatar for SaaDwTk

Why this command wont execute the path properly? The path have spaces, but with the path inside quotes, it was suposed to work. Why it's not reading the fully path? Path: 'C:\Users\Administrador\documents\visual' is not recognized as an internal or external command Dim myProcess As Process = New Process() myProcess.StartInfo.FileName = …

Member Avatar for Reverend Jim
0
673
Member Avatar for PHPGhost

how do i change the text when i login, the "Register" will change into "Control Panel" and "Login" will become "Logout"? when i click logout, the control panel & logout will change back to register & login. But in there have first login after display home page.But I want First …

Member Avatar for eighta
0
218
Member Avatar for newbie26

is there any way i can send a notification to other pc through system tray pop up balloon using javascript? any code samples??thanks.

Member Avatar for noelthefish
0
296
Member Avatar for bennyboy1989

Hi I really need some help! Recently one of my sites have been hit with an iframe injection: `<iframe scrolling="no" frameborder="0" src="the source changes but normally htttp://collegefun4u.com/" width="0" height="1"></iframe>` It happens at random times and gets inserted in random include files. We have clean scanned all computers + server for …

Member Avatar for samh90
0
264
Member Avatar for jaimin4829

Hi i m trying to connect with .mdf database file from vs2005. it gives error failed to create user instance .....i hv installed visual studio managemant express2005

Member Avatar for jaimin4829
0
112
Member Avatar for maraghuram

I am trying to delete the leaf nodes in a bst which i have created non-recursively. The problem is when i am trying to delete the leaf node i hit a segmentation fault and i have no clue as to why its happening. I believe the code which i have …

Member Avatar for Gonbe
0
788
Member Avatar for vavazoom

Hello, In a label, I am displaying the number of characters left in a textbox. Once the user goes into negative characters remaining, the label text turns red. If they try to submit the form, an alert message will popup letting them know they have exceeding the limit of characters. …

Member Avatar for vavazoom
0
235
Member Avatar for Riu 2009

Im new to php and mysql and doing my final year project, i want to ask u ppl that what if i want to display a row of a table after some if condition, i want to diplay offered courses to all the students and if the student whose course …

Member Avatar for Riu 2009
0
185
Member Avatar for nova4005

Hello all, I am working towards a Bachelors degree in computer science and I had planned to get the associates degree first so I would be able to get an entry level job to start gaining some experience. The problem I am having is that the school I am attending …

Member Avatar for L7Sqr
0
214
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to programmatically import a dll containing a form. Example: When i press a button it will open the form from the dll. NOTE: I need to programmatically import the dll. Please help

Member Avatar for Begginnerdev
0
294
Member Avatar for Kronolynx

hi. i got some problems with the dot and the C in th calculator i'm making. 1. when i press the C button it clears the screen but the next number i enter is also ignored even though it appears on the screen. 2. the dot is not working as …

Member Avatar for JamesCherrill
0
263
Member Avatar for rajeshyadav6382

program to read list of words in randomly and displays them in alphabetical order using function and comparison operator.

Member Avatar for Lucaci Andrew
0
45
Member Avatar for krystosan

I have downloaded [PyDev](http://nchc.dl.sourceforge.net/project/pydev/pydev/PyDev%202.7.1/PyDev%202.7.1.zip) But I dont understand how to or what file to run...I know its a basic question but I am windows ga; used to run apps by clicking on icons...

Member Avatar for krystosan
0
161
Member Avatar for ZER09

I have a simple php library that i am using, now i wnat to upgrade it. I want to create namespace on it so my class will be inside on the namespaces bu t i got an error when i i tried to use namespace. here a sample <?php defined('protect')||(header("HTTP/1.0 …

Member Avatar for ZER09
0
165
Member Avatar for techyworld

Can someone tell me what is the difference between while(1) and while (true) in python?

Member Avatar for TrustyTony
0
141
Member Avatar for King1010

Inline Code Example Here package mariabakeshop; import java.text.Numb * @param message * the prompt string to display * @return a String input value */ public static String prompt(String message) { String value = ""; Scanner in = new Scanner(System.in); System.out.print(message); value = in.nextLine(); return value; } /** * Convert a …

Member Avatar for King1010
0
300
Member Avatar for vaiiibhav

` Inline Code Example Here ` <%@ page language="java" contentType="text/html; charset=ISO-8859-1"%> <html> <head> <%@ page import="java.io.*" %> <%@ page import="java.io.*" %> <%@ page import ="net.sf.mpxj.MPXJException " %> <%@ page import=" net.sf.mpxj.ProjectFile" %> <%@ page import=" net.sf.mpxj.Resource" %> <%@ page import=" net.sf.mpxj.Task" %> <%@ page import=" net.sf.mpxj.mpp.MPPReader" %> <%@ page import …

Member Avatar for jalpesh_007
0
147
Member Avatar for jamesmadison43

The goal of the program is to make a sparse matrix using circularly linked lists. basically its a matix what only has values at the locations entered, and the rest of the lactions are not defined. the question i have is the logic for the code. how would i go …

Member Avatar for jalpesh_007
0
274
Member Avatar for RozenKristal

import java.util.*; public class List { public static INode head; public List() { head = new INode(8); } public static void main (String[] args) { INode a = new INode(8); int data = a.getValue(); System.out.println(data); System.out.println(head.getValue()); } } And my Node class: public class INode { private int value; private …

Member Avatar for jalpesh_007
0
226
Member Avatar for jeeter19

Hi, I am trying to copy all contents from one directory over to another directory. This is the code I have so far: [CODE] #include <dirent.h> #include <errno.h> #include <fcntl.h> #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #define MAXNAME 80 #define R_FLAGS O_RDONLY #define W_FLAGS (O_WRONLY | …

Member Avatar for fkjhadslf
0
2K
Member Avatar for engrjawad
Member Avatar for ctclements

public class StringSet { public static void main(String[] args){ StringSet ss1 = new StringSet(); ss1.insert("the"); System.out.println(ss1); } /** * Creates an empty StringSet object. */ private String[] data; public StringSet () { data = new String[0]; } /** * If e is null, throws an IllegalArgumentException. * Else, if there …

Member Avatar for jalpesh_007
0
120
Member Avatar for Frensi

Hi all, I'm trying to do this challenge from the book I'm following, but I'm so confused. I need to get a variable from one class, and use it as data in another class. As you see in my code, in the Shuttle class, I need to get the score …

Member Avatar for TrustyTony
0
262
Member Avatar for Amr87

Hello Everyone , I`m using an Jquery accordion effect that you can download from here [url]http://www.marghoobsuleman.com/jQuery-common-accordion[/url] The Author of this script does not respond to my complains , and I hope u can help me here the problem happens only in webkit based browsers (Chrome,Safari) where when trying to re-play …

Member Avatar for nits18
0
197
Member Avatar for Riu 2009

heloo everyone, i am new to mysql and php. here i am diplaying my data by joining 3 tables.what this query is doing 1) displaying course name 2) displaying subject name 3) displaying status if any there are three statuses (applied, accepted, rejected) what i want to display is 1) …

Member Avatar for urtrivedi
0
127

The End.