199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Hikari123

This program runs very smoothly, except that it doesn't print the value of i and is obviously not running the second loop to calculate the margin of error but I don't understand why. Any help? [CODE] // This program was designed to calculate the value of pi import java.util.Scanner; public …

Member Avatar for Hikari123
0
442
Member Avatar for moshe12007

hi im doing program that capture image and send the image for my email the only way that this code work - when i doing Button and click - and that send for my email but when i write all the code in the Form1_Load - that give me eror/ …

Member Avatar for Mitja Bonca
0
215
Member Avatar for johnnyboyslim
Member Avatar for johnnyboyslim
0
108
Member Avatar for aFg3

Ok I just need an idea or a source code to start my project. I need to read a text file with fstream or any other thing. This will be my txt file (nothing the same, just an example) [CODE]a = 6 b = 3 c = 7 a - …

Member Avatar for Narue
0
192
Member Avatar for eriger777

Hello, I'm trying to compile my client, For a video game. But I get this error [CODE]c:\drsource stuff\46022362clientlatest\clientlatest\filemgr.h(18) : error C2275: 'std::iterator' : illegal use of this type as an expression [/CODE] [CODE]{ typedef map<int, T*> hash; typedef map<int, int> check; typedef map<int, T*>::iterator index;[/CODE] And here is another one …

Member Avatar for raptr_dflo
0
367
Member Avatar for ZeroEddy

Hey, I have been studying Java for a year in college and this year we started Object Oriented Programming. We have been givin some assignments and stuff but they all include creating Objects and Classes. Does anyone know of any good resources for Creating these as I am slowing down …

Member Avatar for ZeroEddy
0
239
Member Avatar for Behseini

Hi Guys I am trying to make the windows Form BackColor Transparent but each time I try to set the BackColor to Transparent property I am encountering with following error message [COLOR="Orange"]Property Value is not Valid Control does not support transparent background colors.[/COLOR] I also tried to add following code …

Member Avatar for skatamatic
0
6K
Member Avatar for skydivekrazy

I am new to programming. So new that I am in my first semester of college. Intro to programming... I have an idea for a program I would like to build in C# because it is the language I am learning first. But I don't have any idea where to …

Member Avatar for skatamatic
0
197
Member Avatar for TylerVo

Is there a htm, html, or php code that I can add to a htm or html file on my website that runs a c# program when I visit it? I want to do this because I have a phone application that I want to run automatically when users visit …

Member Avatar for skatamatic
0
99
Member Avatar for lelejau

I have already downloaded the latest DX SDK (June 2010) and still, this error remains. error C2065: 'IID_IDirect3D3' : undeclared identifier I already included the headers below but it seems not to work, what am I missing? #include <d3d9.h> #include <ddraw.h>

Member Avatar for lelejau
0
210
Member Avatar for neveragn

HI, I'm writing a code for the very first time, and I'm completely stuck. Some guidance would be great. I'm writing a C program that reads integars from file "integars.dat". The program should show how many numbers you have entered, how many among them were even, and how many were …

Member Avatar for neveragn
0
139
Member Avatar for ZedChu

Hi, I have stupid question. I have array like this. [CODE]float *numbers[] = {5; 6; 9; 10};[/CODE] I need to use for example float = 5 for arrays numbers[0], numbers[1], numbers[2], numbers[3]. Then array float = 6 for numbers[4] and numbers[5] etc. Hope you undestand. Is there some syntax like …

Member Avatar for WaltP
0
148
Member Avatar for IanArcher

Hi i'm trying to successfully get this PHP code to search MySQL database called test2 that has a table called questions, in that table there are columns called ID, Question, Category and Answer. This code is an excerpt from a tutorial that allows you to search the mysql database for …

Member Avatar for IanArcher
0
197
Member Avatar for cummings15

I am trying to get my code below to display what high school the students are from from the .txt file the text file below will work but i want to add school to txt file and confused on what to change in my code [QUOTE]Alphy Beta 85 83 77 …

Member Avatar for raptr_dflo
0
151
Member Avatar for Robert955

Hey, I've stumbled upon a small problem with my game. I have 10 wasps that have some AI, just wandering around and whenever a wasp gets close to the queen wasp it starts chasing it. the queen just wanders around aswell. I can also move with my character and if …

Member Avatar for Ketsuekiame
0
182
Member Avatar for mydreamgirl

Xuggle can handle many different video formats. What I am thinking about is to wrap the Xuggle into Swing component, and make a start/pause button and a progress bar on the top of it. Any suggestions? Sample codes would be great. MyDreamGirl

Member Avatar for mydreamgirl
0
412
Member Avatar for New4lyfe

Consider the following selection statement where X is an integer test score between 0 and 100 Declare X as an integer Write “Please enter a number between 0 and 100.” Input X If (0 <= X and X < 49) Write "You fail" Else If (50 <= X and X …

Member Avatar for New4lyfe
0
188
Member Avatar for Majestics

SOrry guys to disturb you all... I just need a little help , can some one please give me a brief introduction to pointer... also i have some question, what does these mean [code] int i; cout<<i (mean to print i) cout<<*i (what does it mean) cout<<**i (what does this …

Member Avatar for Narue
0
118
Member Avatar for desired

I want to display messagebox asp page while clicking on some controls...how can i get this?

Member Avatar for icedome
0
80
Member Avatar for danthevan

Hello, I'm trying to make a chatting app just for educational purposes, to improve my skills and I got a question, or maybe a problem. Look at the Code first: [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* …

Member Avatar for danthevan
0
162
Member Avatar for Panathinaikos22

Who will spend little time to Create a guide about [code] HWND hw = CreateWindowEx( params ) [/code] in C/C++ That i want is a guide were you will have examples for all controls (Ritchtb, tb, button, tree, nodes, Listview, contextmenu, toolstrip menu, label... etc) PS: as i know CreateWindowEx …

Member Avatar for Ancient Dragon
0
173
Member Avatar for bangla

Hi, Someone pls correct the error. [CODE]SELECT orderid, merchant, buyprice, commission, refund, (buyprice - refund) as expenseOrder , (commission - expenseOrder ) as profitt FROM business WHERE merchant LIKE "GO%"[/CODE] error: MySQL said: Documentation #1054 - Unknown column 'expenseOrder' in 'field list' Thanks.

Member Avatar for pritaeas
0
75
Member Avatar for cypherscouter13

I am trying to create a vector of objects that can have pointers to functions. I would appreciate some help with this as I don't really know what to do [CODE]#include <stdlib.h> #include <windows.h> #include <ctime> #include <cstdlib> #include <iostream> #include <vector> #include <string> using namespace std; class Card { …

Member Avatar for raptr_dflo
0
224
Member Avatar for great_learner

Hi guys, I am trying to create a table in SQL Server 2005 through simple query which is as follows: [CODE]create table Appointment { Doc_ID numeric(4,0) references Patient(Pat_ID), Pat_ID numeric(4,0) references Doctor(Doc_ID), _Day day, Date datetime, Consultant_Name varchar(40), primary key(Doc_ID,Pat_ID) };[/CODE] but i am getting the error: Msg 102, Level …

Member Avatar for BitBlt
0
694
Member Avatar for dhija22

hi all ! i want to uninstall java java (TM)SE Developement kid 6...so i try to uninstall it but i cant i take a message like this [COLOR="Red"][B]Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. …

Member Avatar for stultuske
0
80
Member Avatar for dandeliondream

Hi, I would like to enquire about web crawler. I have a sch assignment whereby i need to crawl websites but it has to be specific. Display first 10 urls of websites with keyowrds such as IT products around a shopping street/district. I manage to find tutorials to crawl a …

Member Avatar for Taywin
0
128
Member Avatar for ali11

I did it without using GUI because i am not sure how to do in GUI.I need help to put these code in GUI. [code]import java.util.Scanner; import java.util.Stack; /** This calculator uses the reverse polish notation. */ public class Calculator { public static void main(String[] args) { Scanner in = …

Member Avatar for stultuske
0
277
Member Avatar for Elmo_loves_you

Hi Guys, Surely this shouldnt be such a complex task! I have done this before for a desktop application where I typed in data on the UI clicked a button and a new text file was created on the C: drive and the data added. Ive been googling and googling …

Member Avatar for martinopresnik
0
237
Member Avatar for Damon999

I am writing an audio program in VB.net 2005 and I am having a bit of trouble with WMP. I can get media added to the playlist and I can play it from there, but it doesn't load until I press play, which gives a slight delay while the media …

Member Avatar for OwaisKhan772
0
2K
Member Avatar for effBlam

Im trying to change this modified blackjack game to where there is no computer. A choice of either two or three players is asked with three cards dealt instead. How can I i change this current code to 1) prompt user for either 2 or 3 players(no computer), 2) have …

Member Avatar for TrustyTony
0
216
Member Avatar for MargateSteve

I have found a fairly generic script for refreshing the content of a div without refreshing the whole page and although it works fine, there are a few things I would like to improve on if they are possible. [CODE]<script src="http://code.jquery.com/jquery-latest.js"></script> <script> $(document).ready(function() { $("#refreshdiv").load("activity.php"); var refreshId = setInterval(function() { …

Member Avatar for MargateSteve
0
364
Member Avatar for BlueCharge

Hi Everyone, I have built my own forums and currently they are displayed in the order of newest posted (id DESC). What I want to do is keep this order however, if there was a topic which was created months ago that is not on the first page for example, …

Member Avatar for BlueCharge
0
104
Member Avatar for ultimo1

Hi, as part of my project, i need to write code that actually implements the tcp layer functions. Could anyone tell me where i could get some idea on how to code the functions of tcp layer (i.e. I need to manage the transfer of data between the network and …

Member Avatar for L7Sqr
0
211
Member Avatar for hhagood

Using a Single-Array, create a program that asks the user to input a day of the week, the high temperature, and the low temperature. Calculate the Average High and Low.

Member Avatar for Ezzaral
0
451
Member Avatar for effBlam

Im having a main function issue. My program is a text analyzer of more than several lines and then input 'END' to stop taking input. It analyzes input text based on the chosen options 1 through 2, relooping for invalid choice. Im having an issue having it properly work in …

Member Avatar for Greeky
0
224
Member Avatar for dbuckle

Hey guys, I'm just trying to get to grasp with structs and I have written a small test program to print out a persons name and age. Currently I am getting nothing when the program runs. Help :( [CODE]#include <stdio.h> struct person { char *name; int age; }; struct person …

Member Avatar for gerard4143
0
101
Member Avatar for #blessy#

[CODE=c++]#include<iostream> #include<fstream> #include<string> #include<ctime> #include<conio.h> using namespace std; class log_on{ public: void displaylogtime(); }; void log_on::displaylogtime(){ char d [9]; char w [9]; _strdate(d); _strtime(w); cout<<"\nThe current time :"<<w; cout<<"\nThe current Date :"<<d; } class clothes_selector{ string happy; string sick; string confused; string sexy; string grumpy; string winter; string summer; string …

Member Avatar for MonsieurPointer
0
114
Member Avatar for lovelyrockrchic

I'm trying to make a Tic Tac Toe game for my Java class. I am not able to use JButtons only JPanels. I'm stuck on the part where my program determines if there are 3 x's or o's in a row. [CODE] public void winner() { if(3 = tictactoe[0].turn + …

Member Avatar for hiddepolen
0
278
Member Avatar for cgen

Can someone please help me go over these codes? There are no bugs in all except LinkedListBinary.java and I have no idea why. The lines that are causing me problems are: [CODE] /** Returns an iterator of the elements stored at the nodes */ public Iterator<E> iterator() { Iterable<Position<E>> positions …

Member Avatar for hiddepolen
0
490
Member Avatar for rahman86

i have done my application that uses crystal report and access database. I try to publish the application but when install on client machine, it wont work. the access database wont load and so the reports. What should i do? can anyone help me?

Member Avatar for rahman86
0
151
Member Avatar for Hardosh Kumar

Please Help me to solve that i just wana to search Data feilds from SQL Database and to show on different TExtboxes of VB.net forms..... [CODE] Dim Bio As New DataSet Dim Marks As New DataSet Dim Disp As New SqlDataAdapter Dim Dispp As New SqlDataAdapter Dim Bind As New …

Member Avatar for Hardosh Kumar
0
262
Member Avatar for Tunnleram

I'm pull gaming stats from a database, but I'm having issues with one of the cases and I can't seem to figure out why. The first two cases work fine, but the last one just returns null. What's strange is when I replace the third case with one of the …

Member Avatar for k1robert
0
281
Member Avatar for ganil_22

Hi, I am new to C# and looking for the below helpful links, which contains 1. All the C# builtin classes and their description Example: string : to perform operations on string Convert : To convert from one type to another type 2. Tutorial on Visual studio development environment 2010 …

Member Avatar for Mitja Bonca
0
146
Member Avatar for ppenguin

Trying to figure out why a script that worked perfectly well on Linux is not working on Windows server now after I moved it. It has the latest version of PHP installed and there is no reason it should not work on both. I have posted the code snippet, however …

Member Avatar for ppenguin
0
161
Member Avatar for Cifale

I'm querying a SQL DB and sometimes the result is Null, so I thought I would test this but my code results in an error "Data is Null. This method or property cannot be called on Null values." Here is a snipet of my code: For i = 5 To …

Member Avatar for Cifale
0
736
Member Avatar for cgen

Assuming that the values 1 to 7 are equally likely (if chosen randomly): Draw a 7-node binary search tree containing these values that would, on average, give the fewest number of comparisons. I'm not exactly sure how to answer this question

Member Avatar for Taywin
0
326
Member Avatar for drogba123

Hi, Anyone know what is the math for manhattan distance vs travelling distance? and which one is faster? thanks. Regards, Anthony

Member Avatar for Taywin
0
102
Member Avatar for nchy13

[COLOR="Red"][B]this is what compiler shows[/B][/COLOR] tree.cpp: In member function ‘void redblacktree<T>::insert(T) [with T = int]’: tree.cpp:187:12: instantiated from here tree.cpp:103:9: error: lvalue required as left operand of assignment tree.cpp:140:9: error: lvalue required as left operand of assignment [COLOR="Red"][B]if u don't want 2 go thru' d code then kindly just tell …

Member Avatar for Narue
0
577
Member Avatar for desmond_ckl

Hi experts, im new to coding and i really need help for this. i have done a shopping cart calculation using javascript my question now is, HOW TO SEND JAVASCRIPT VALUE INTO DATABASE (MYSQL) ?? [CODE] <?php require_once 'library/config.php'; require_once 'library/cart-functions.php'; $action = (isset($_GET['action']) && $_GET['action'] != '') ? $_GET['action'] …

Member Avatar for stbuchok
0
178
Member Avatar for icedome

Hi guys, I'm having some trouble finding a control... that is because this control is on gridview witch is inside repeater (let's call it rpt1) and this repeater is inside another repeater (this one, rpt2).. I have an ItemCommand on rpt1 witch I need to catch a dropdownlist item value …

Member Avatar for icedome
0
277

The End.