132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Raptoricus

Hi I have been programming for about 3 weeks now and am really starting to get somewhere with it, but I have encountered a problem with this text rpg that I am making, the problem is I have made 3 header files being 1.character(contains character class) 2. monster(another class file …

Software Development c++
Member Avatar for Raptoricus
0
126
Member Avatar for drpaur

Hi, I have made a DataProject in VB6 with Access as back-end. Using Jet OLEDB 4 as provider. Programme is running well on my Computer. When I Installed the project on another Computer where VB6 is no installed on Hard disc, Error comes. When I try to show Report in …

Software Development visual-basic
Member Avatar for wrichardson530
0
166
Member Avatar for Yellowdog428

for some reason I cannot add integers in an array of structures. here is the code. [CODE=c++]#include<iostream> #include<iomanip> using namespace std; const int SIZE = 5; struct playerInfo { char name[30]; //Players name int number; int points; }; int main() { int total = 0; // to hold total points …

Software Development c++
Member Avatar for Ancient Dragon
0
87
Member Avatar for nemag

after i put earch code in my project : Private Sub cmdSearch_Click() Dim search search = InputBox("please enter card no", , "") Data1.RecordSource = "SELECT * FROM waqf WHERE cardno LIKE (""" & "*" & search & "*" & """)" Data1.Refresh End Sub ------------- the search working but appear problem …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
130
Member Avatar for sam1

hi, I am trying to learn winforms, the dropdown is taking its value from database. i want to disable the textbox when the selection is first option, but if it is second i want to enable the textbox.. how would i do this ? thanks

Software Development vb.net
Member Avatar for Jx_Man
0
119
Member Avatar for b04e3ian

Hi there, I'm very new to programming, and I have this assignment where I'm supposed to create a 2D game in python. The character in the game is Homer Simpson, and I'm trying to get him to move within the maze thats already been created for me. I believe I …

Software Development python
Member Avatar for vegaseat
0
397
Member Avatar for Jaganathan

i want to learn VB.NET clearly. how should i follow to learn VB.NET

Software Development vb.net
Member Avatar for Jx_Man
0
56
Member Avatar for hasmiza

i'm using adodc. i want to empty all the text box when form load i already use to reset all that but it cannot work private sub form_load txtname.Text = " " txtIc.Text = " " cboroom.Text = "<choose room type>" cbocheckin.Text = "<choose>" cbocheckout.Text = "<choose>" cbomonth.Text = "<choose>" …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
103
Member Avatar for WalkmanXD

There is no pointers in Java, But how could java solve the problem of Dynamic Memory Allocation ???? [ As we know that pointers in C++ solve this problem ] Is there a solution WHAT is it ? and HOW to use it ? Please, explain with Examples... Thanks in …

Software Development java
Member Avatar for jwenting
0
248
Member Avatar for duongkhangth2

Hello everybody , Im created an Application in java . In that application i have to store data in a web Mysql database.How can i connect ?

Software Development java mysql
Member Avatar for jwenting
0
68
Member Avatar for Genuis Man

i need to know what's the meaning in pattern defintion in c#?

Software Development
Member Avatar for Genuis Man
0
76
Member Avatar for Katherine692008

import java.io.*; public class k { public static void main(String args[])throws IOException { k s1 = new k(); s1.menu(); } public void menu()throws IOException { int input = 0; System.out.println("Pick from 1 of the following Options"); System.out.println("1) Twelve"); System.out.println("5) Exit "); System.out.println("Enter Number: "); BufferedReader br; br = new BufferedReader( …

Software Development java
Member Avatar for Ezzaral
0
133
Member Avatar for peachslasher

Hi, I've question regarding visiting and printing nodes for tree traversal. the main purpose of my program is to create tree for an arithmetic expression and then perform in-order and post-order traversal on the tree. The structure tree need to be hard-coded in the program using linked-list/pointer stored in one …

Software Development c c# c++ data-structure linked-list
Member Avatar for Salem
0
152
Member Avatar for username99

[url]http://www.samair.ru/scripts/[/url] with sockets ?

Software Development c++
Member Avatar for username99
0
160
Member Avatar for only me

hello everybody I need your help please I have Q for u write C++ code to display all emrip numbers between 2 and 1000 and returns their count to the program

Software Development c++
Member Avatar for Salem
0
101
Member Avatar for baker4

I have know solved the syntax error in the FROM clause. I have been trying to solve No value given for one or more required parameters, but have not been able to solve it. Could anyone please give me a suggestion. Error happens on da.Fill(ds, "RoyalYachtingAssociation2") I have tried changing …

Software Development vb.net
Member Avatar for Nick Evan
0
114
Member Avatar for Lei24

:confused: I am doing a project and i need to be able to add, record, search and delete customer bookings. I am using VB.Net 2003 and microsoft access 2003 and i need help on how to do this. Can anybody help me?? PLEASE?!?! Basically i need the information that is …

Software Development microsoft-access vb.net
Member Avatar for Lei24
0
118
Member Avatar for jimmer12

i am new to VB.NET and need to add a e-mail button to my last form. my project is not linked to a database so i' am unsure who to create an e-mail button in my project help would be really helpful

Software Development vb.net
Member Avatar for jimmer12
0
74
Member Avatar for ihtraa

[code] public void addRowsAntGrouping(){ Vector vectorAddRow = new Vector(); vectorAddRow.add(""); vectorAddRow.add(""); ((DefaultTableModel)jTableAntGrouping.getModel()).addRow(vectorAddRow); } [/code] Hi, I am in need of replacing the textfield of a table with combobox. the rows in the table are declared as vectors. there are two fields in the table. the first field is text and …

Software Development java java-swing
Member Avatar for masijade
0
92
Member Avatar for Heli

Hello, I've been Google'ing(?) like crazy for the last hour or so trying to find an answer to my problem, however the problem is simply that I'm not too sure [i]what[/i] to search for :S My basic problem is that I want to change the default way in which the …

Software Development c++
Member Avatar for Nick Evan
0
158
Member Avatar for dpfaff

I am taking a introduction to C++ programming class in college and I am having some issues with my assignment. If anyone can help It would mean a world of diffrence to me. Thanks in advance. Okay the assigenment is to write a program that simulates the lottery, the program …

Software Development c++
Member Avatar for Ancient Dragon
0
269
Member Avatar for Azurea

Well, I couldn't think of a better word than online for a title, but I meant allowing others on other computers to connect to a server to play a game. Right now, I need help in planning my "online" game of Go. I'm moderately new to servers and clients (I …

Software Development client-server python
Member Avatar for Azurea
0
186
Member Avatar for leedsy7

hey Really strugling with Access today so i could do with some help :) I'm attempting to add items to a list box. The Sources are 2 text boxes which have been fed to from a querey. So first I tried... lstReorder.AddItem (ITEM_NUMBER.Text) lstReorder.AddItem (ITEM_DESCRIPTION_1.Text) Which brought up the error …

Software Development visual-basic
Member Avatar for leedsy7
0
252
Member Avatar for shouvik.d

Hi, We, in our office use a remote Matlab License server running FlexLM license manager. Since we have very few floating licenses we end up asking to release the license from the fellow engineers many times a day.This creates confusion as we are not knowing who is actually using the …

Software Development
Member Avatar for shouvik.d
0
133
Member Avatar for nurulshidanoni

Can anybody help me whis this error? in red colour... error C2109: subscript requires array or pointer type error C2109: subscript requires array or pointer type : error C2109: subscript requires array or pointer type error C2664: 'void __cdecl std::swap(int &,int &)' : cannot convert parameter 1 from 'int' to …

Software Development algorithm c++
Member Avatar for Agni
0
958
Member Avatar for SpnIslander

Hi All, pls help i'm new in programming and trying to make one could you pls help me to correct my code below? What s/b my code if i want to display the value of txtPrice to lblVal and txtQty > txtPrice but if not it will multiply? Private Sub …

Software Development visual-basic
Member Avatar for cometburn
0
265
Member Avatar for kalodakilla

my final assignment is about making a program like a TinyGoogle.. But actually, i'm just a Freshman and it's kinda hard to have all the knowledge to make these all through.. Hope u guys can help, thanks a lot [URL="http://kalodakilla.googlepages.com/CS162-Final-Project-TinyGoogle.pdf"]http://kalodakilla.googlepages.com/CS162-Final-Project-TinyGoogle.pdf[/URL] The first problem is that i dont understand what does …

Software Development c++ pdf
Member Avatar for dougy83
0
94
Member Avatar for littlestone

For a singleton class, there is only one instance in a process, so it's not necessary to define a member function as static, am I right? Thanks in advance.

Software Development c++
Member Avatar for dougy83
0
284
Member Avatar for mank

This code counts number of characters in a single line how can I make it count(give total X Y Z) it in multiple lines seperated by ">" [CODE]while(<IN>) { chomp; my @line = split(//, $_); if($line[0] eq ">"){print @line;} elsif (($line[0] eq "X"||"Y"||"Z")||($line[0] ne ">")) { my %cnter; foreach my …

Software Development perl
Member Avatar for KevinADC
0
300
Member Avatar for pythonuser

Hi , I would need to compare two jpg files using python. Could some one help me, how I can do this Thanks

Software Development file-system python
Member Avatar for bodhankaryogesh
0
275
Member Avatar for allialli

[B]hi. can anyone please help me with this assignment?[/B] Write a function called divideMe which takes two integer parameters x and y and returns a double which is the division of these numbers (x / y). If y is zero, print the message "Divisor can not be zero!" and return …

Software Development c++
Member Avatar for allialli
0
321
Member Avatar for torbecire

We are supposed to read data from a file like [COLOR="Green"]2 2 0 0 w d d w 0 1 w w d d 1 0 d w w w 1 1 d w x d[/COLOR] The first two numbers represent the column and rows the rest of next two …

Software Development java
Member Avatar for torbecire
0
102
Member Avatar for Noliving

Here is the preorder: [code=java]private void preOrderTraverse(Node < E > node, int depth, StringBuilder sb) { for (int i = 1; i < depth; i++) { sb.append(" "); } if (node == null) { sb.append("null\n"); } else { sb.append(node.toString()); sb.append("\n"); preOrderTraverse(node.left, depth + 1, sb); preOrderTraverse(node.right, depth + 1, sb); …

Software Development first-post java
Member Avatar for jinternalframe
0
95
Member Avatar for rukshenaa

implementing dijkstra algorithm using fibonacci heap and linked list........... can anybody help me with the coding for this problem.................. i hav implemented using array now i hav to implement it using fibonacci heap and linked list.............

Software Development algorithm linked-list vb.net
Member Avatar for rukshenaa
0
119
Member Avatar for fnbhns

Dear Friend, I am new in Jave. right now I am learning APPLET but When I am trying to use THREAD in applet its giving the following warning after compilation. Note : Java Uses or Overloads a Depricated API. Note : REcompile with -XLint : Deprication for details. Tool Completed …

Software Development api java
Member Avatar for fnbhns
0
80
Member Avatar for Ryano24

I wrote this code to re-create the classic race of the tortoise and the hare and everything compiles fine. Just the logic is messed up. When I run the program all I see is BANG AND THEY'RE OFF and who wins. I should be seeing a T for the Tortoise …

Software Development c c# c++
Member Avatar for vmanes
0
1K
Member Avatar for sohamghosh

My code for address book is as follows: [code=cplusplus] #include <iostream> #include <cstring> using namespace std; struct { char name[101][30]; char telephone[101][8]; char email[101][20]; char address[101][50]; char postal[101][6]; }employee; void enter() { int n; cout << "Number of entries?\n"; cin >> n; for (int i=0; i<n; i++){ gets_s (employee.name[i]); gets( …

Software Development c++
Member Avatar for sohamghosh
0
100
Member Avatar for baku

Being given a text file create a folder that will contain 26 dictionary files as follows:first file contains the words begining with 'A', alphabetically sorted, the second file with 'B' and so on. The way I tried to solve it is attached...pls help!

Software Development shell-scripting
Member Avatar for eggi
0
105
Member Avatar for aquariusdragon2

I have this coded out but it keeps giving me the error message "ifstream" does not have a type. I don't know what to do, sigh. Any help would get appreciated. const int MAXSIZE = 100; double votes[MAXSIZE]; // declaration for array double vote; int count = 0; double total …

Software Development c++
Member Avatar for vmanes
0
143
Member Avatar for stan.joe1

I wants to input a list of day temperatures and count the number of days with temperatures above 20 degrees. The C++ program below is supposed to do this and display the result. A temperature of -100 indicates the end of the data. #include <iostream> using namespace std; int main( …

Software Development c++
Member Avatar for dmanw100
0
327
Member Avatar for Adrian99420

Hi, I created a GUI which contain a few tabpage, I wish to add and name a new tabpage with a single button click. Therefore, I created two window form. With the "add new operator" button, I link to the second form which allow user to key in the name …

Software Development c++ gui
Member Avatar for Adrian99420
0
90
Member Avatar for usiel

PLease can somone check it and give me some feedbacks [CODE]include <iostream> #include<iomanip> using std::cin; using namespace std; int max=100; void general_options(); void input(int A[], int maxValue); void input(int A[], int howMany); int count90 (int A[],int howMany); void add10(int [], int howMany); void printGrades(int [], int howMany); main() { //variables …

Software Development c++
Member Avatar for usiel
0
95
Member Avatar for cbrown153

Hi everyone, I'm new to C programming and I'm trying to write a program that can print text in columnar format with a maximum width. I've been trying with this but I get a seg fault. Am I going about this the right way? Any help would be really appreciated. …

Software Development c
Member Avatar for Aia
0
69
Member Avatar for CE Student

This is my assignment I have to send it today and this week I have many test and I did not any time for solve it please please I need help ITCS102 Assignment #5(chapter 12) Create a class called Employee that maintains information about an employee in a company, each …

Software Development c++
Member Avatar for Narue
0
136
Member Avatar for raju123007

i posted a problem here a while back on doing a program, and i got the help i needed... but i'm faced with another problem. this code seems to be working fine but i want it store the values i entered into another text field... i cant seem to figure …

Software Development java
Member Avatar for Ezzaral
0
190
Member Avatar for fusi0n423

Hi all I'm new here I've been working on a project that has a multiset class. I need a function that accepts a integer value and returns the value held there. The multiset is a data[SIZE][2] where everything is stored where data[i][0] is the number and data[i][1] is how many …

Software Development c++
Member Avatar for fusi0n423
0
124
Member Avatar for Xlphos

Hi I was wondering if anyone can help me. I am trying to create a game in visual python and have come to a complete stop. I need to be able to run many while loops at the same time, i have looked into threading but can't get my head …

Software Development python
Member Avatar for woooee
0
143
Member Avatar for TPclan

I am an extreme new comer to C++. Currently I have written a short script in VBscript to delete two specific files on a specific day. This script is set in the start up menu so that it checks for the day of the week. If the day matches the …

Software Development c++ vbscript
Member Avatar for Arne Kristoffer
0
127
Member Avatar for AralX

Hello How are you people doing ? Anyways ... I have a Question ,, I have this assignment and I didn't Understand the Question ... It seems Easy but part three is Diffrecult to Understand .. the problem is they asked Us to do an Editor using an MDI , …

Software Development vb.net
Member Avatar for AralX
0
95
Member Avatar for Genuis Man

i need simple example to make bnf for c# language?

Software Development
Member Avatar for Genuis Man
0
66

The End.