132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Khoanyneosr

I'm REALLY angry! I've been trying to get this stupid code to compile for way too long now. I've spent 30 bucks on this book and the first code it tells you compile doesn't work! Here's a link to the code... [url]http://d3dcoder.net/d3d10.htm[/url] I'm sorry that you have to download that …

Software Development c++ pdf
Member Avatar for Khoanyneosr
0
157
Member Avatar for Climber Ty

So this is my final project for my class. The idea is to use my RationalNum class (which is complete and works fine... I just didn't attach the .cpp since it was only the driver) and use it to add, sub, & multi polynomials (RationalNum being the coefficients i.e. 1/4x^3 …

Software Development c++ mathematics
Member Avatar for Climber Ty
0
477
Member Avatar for davewillis

Below is an assignment that i did but i didnt do good on it. It is/was never meant to be ran the teacher was just asking for the code to be written based off of her A-D. Can you please let me know what is right and wrong with this. …

Software Development vbscript
Member Avatar for Momerath
0
102
Member Avatar for Banf

so im starting in C++ programming and im working out of a textbook. At the moment im stuck on the question asking me to determine using an input(cin) whether an input is a lowercase or uppercase letter. I am particularly confused on how to determine if an input is upper …

Software Development c++
Member Avatar for frogboy77
0
294
Member Avatar for cNew

Hi! What could be the best algorithm for "Merge Sort" where the memory must be used "most effectively"? I just know the standard way to do this, but that's not the most effective way how to use the memory. This is the only variant which I know: [CODE=c] #include <iostream> …

Software Development algorithm c++ programming-construct
Member Avatar for Narue
0
211
Member Avatar for JJHT7439

Alright, I admit that I'm struggling a bit with Java but for the project that I'm trying to do I need to create a bunch of bank accounts and then calculate the interest and return the names of the account holders and their balance and interest, as well as the …

Software Development java
Member Avatar for JJHT7439
0
3K
Member Avatar for waleed.makarem

Dear All , I need to backup the sql server 2005 express database . It works fine if I make backup to specific folder"C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup" . But if I change the path to any other path . I got an error "Backup failed for Server 'server name'. " …

Software Development client-server seo sql vb.net
Member Avatar for S.R.SENTHUJAN
0
758
Member Avatar for stow19

Hey all, I have created a group of player using a list within a list method. But now I'm stuck on dealing out the cards. Here is the code for setting up the players: [CODE] static Random r = new Random(); static int numPlayers; static List<List<string>> playersHands = new List<List<string>>(); …

Software Development
Member Avatar for ddanbe
0
87
Member Avatar for chetanbasuray

I have an Antivirus as my project and will like to learn about an antivirus. Please help me out by posting links which will help me learn and also let me know if you have done anything regarding an antivirus and if there is something that will help me in …

Software Development
Member Avatar for omkarpardeshi
0
103
Member Avatar for sha11e

I sometimes see people code like std::cin and stuff and say that it's bad to use "using namespace std;" Why?.....

Software Development c++
Member Avatar for Fbody
0
173
Member Avatar for CrazyProgrammer

Hi, how does one end a thread when it is done eg i have a program the when u press a button it starts a thread, this thread performs a set of instructions and then when it is done it it finished how do you end a thread then when …

Software Development
Member Avatar for Venjense
0
94
Member Avatar for pooran.c

I need to implement gregorian calendar in java Please give me ideas how to start and what to use?

Software Development java
Member Avatar for mKorbel
0
111
Member Avatar for plasticfood

[CODE]if(count == 4){ qFinal.enqueue(q.peek()); if(count3 == 0){ System.out.println(qFinal); break; } else{ sort(qFinal); } } [/CODE] this code is inside a while loop, and with the break statement, it should break out of the loop right? instead i think the program also executes the sort(qFinal) method b/c after it prints qFinal …

Software Development java
Member Avatar for masijade
0
193
Member Avatar for lianpiau

who can help?? I want display window form when user double click node in treeview.

Software Development c c# c++
Member Avatar for lianpiau
0
420
Member Avatar for bahed121

Hi For my interface i don't want to use the typical rectangle buttons instead i want to use buttons of different shapes can any one help me in this regard

Software Development
Member Avatar for bahed121
0
136
Member Avatar for parijat24

hi, The problem is that i have one list like [l1 l2 l3 l4 l5 l6 l7 l8 ] no i want to compare l1 with l2 and get some score then l1 with l3.... and then l1 with l3 , l4 , l5.......... so on when i am compareing …

Software Development python
Member Avatar for Gribouillis
0
323
Member Avatar for stephenk291

Basically I need to setup a conditional loop to have the game run up to 10 times and then have it display the results for both the computer and user. I have my display function in the works but how could i setup the loop or counter to run the …

Software Development java
Member Avatar for JamesCherrill
0
239
Member Avatar for TrustyTony

Here is experiment of how VM and Swing UI manage the sort test posted previously, instead of CPython and Tkinter. The timing is not so sweet, but at least no Java required! [CODE]K:\jython2.5.2>java -jar jython.jar swing_test.py 256000 words generated in 10.93 s Sorted in 1.68 s List prepared in 22.71 …

Software Development java-swing python tkinter
Member Avatar for TrustyTony
0
506
Member Avatar for michael0101

Hi everyone! First i am a beginner so please dont be too angry if i make mistakes, I am willing to learn. Thanks. My problem: I am learning VB.Net 2003, I am creating a program to save daily customer numbers with the date(now). I attach code! I have problem to …

Software Development vb.net
Member Avatar for codeorder
0
230
Member Avatar for tony75

Hi I have a folder and its contain 5 text files. My question is How can I navigate to folder and read two first line of the txt files in folder with python scripts? I will be very greatful for your help. Reagards Tony

Software Development python shell-scripting
Member Avatar for TrustyTony
0
268
Member Avatar for lukemuller

Hey guys, I've been having a bit of trouble with my c++ program i'm trying to create for an assignment. I'm still learning, but array's seem to give me the most trouble. I've been reading and searching google alot to try and find examples to help my situation, but i'm …

Software Development c++ data-structure visual-studio
Member Avatar for lukemuller
0
2K
Member Avatar for Suzie999

Hi I'm wondering if anyone can think of a generic reason why visual studio 2010 would act in the following mannor. If I run my code using ctrl + F5 (run without debugging option) it works fine and as expected. However if I run it in debug mode it acts …

Software Development visual-studio
Member Avatar for Suzie999
0
57
Member Avatar for tcl76

hi, i'm using Element Tree API to generate XML. But I'm getting error when opening the xml output. I tried to generate to a file and it worked. No error when running the Python code. Pls advise me why is not workin when i generate to an xml. fyi i'm …

Software Development data-structure python xml
Member Avatar for tcl76
0
228
Member Avatar for rookanga

Im suppose to make an application that tracks electric motors in a manufacturing plant. It needs to have MotorID: Five-digit string, such as "02340" Description: String RPM: Integer, values in the range of 10 to 10000 Voltage: Integer, values in the range of 1 to 500 Status: String, three characters …

Software Development vb.net
Member Avatar for codeorder
0
578
Member Avatar for twigan1015

I need to make a string for a description textbox so later it can be added into a listbox and I dont know how to do this and this is all I got, which isnt much [CODE] Dim desripition As String Private Sub textbox2_TextChanged(ByVal sender As System.Object, ByVal e As …

Software Development vb.net
Member Avatar for codeorder
0
123
Member Avatar for bahed121

I have a combobox which contains the different values from database. However, if the user types another name into the combobox, it is accepted. I want to allow only the names already associated with the control. But there is no readonly property form a combobox in VS 2010

Software Development
Member Avatar for bahed121
0
85
Member Avatar for cblue

i know how to find prime numbers of several numbers, does anyone know hoew to find a prime sumber of a single number inputed by the ser using the following function and printing out if the number is prime int mai()//asks for input { int num; cout << "enter number:"; …

Software Development c++
Member Avatar for pseudorandom21
0
216
Member Avatar for acpr

i'm working on this program to 'read an array(int and float values) from a file and then print it out on the screen'....the i/p data file is looks like this #lat lon B s date X v 60.97 56.10 26.50 33.389 03 07 02 24.00 4 60.36 53.58 28.90 35.731 …

Software Development c ubuntu
Member Avatar for acpr
0
212
Member Avatar for niketakapoor

hello everyone i have a "text box" in which i have to put" member_id" and fetch records as number of books issued to that particular "member_id".... database tables are lib_member_details and issue_detIails... issue_details=tag_id,member_id,book_issue_on,due date... suggest me the code for this problem in c# with sql also help me that can …

Software Development
Member Avatar for abelLazm
0
91
Member Avatar for ashley11

i have a problem to sum up the value. for example: in my richtextbox1: 0.94 0.83 1.67 0.50 0.67 1.25 0.98 now i wan to total up the value. if the value is less than 1 , then total is 5. if the value is greater than 1, then total …

Software Development
Member Avatar for ashley11
0
119
Member Avatar for JakeA

hi! i am on an ojt and assigned to create a project that generates report. the report should be saved in different file formats(word document, excel, pdf)i don't know what to do first. can someone help me with this? thank you.

Software Development pdf
Member Avatar for Saikalyankumar
0
109
Member Avatar for bahed121

Hi I want to create a c# program where i have to check processes which are currently running and close a particular of them can any one help me Thanks.

Software Development
Member Avatar for bahed121
0
141
Member Avatar for jackmaverick1

Hi! My problem is that i have an object that needs to be in an array however the array must not be the same size each time I create an array. I know that you would use the [ICODE]classType[] objectName={new classType(),new classType(),new classType(),etc};[/ICODE] That would only work if I had …

Software Development java
Member Avatar for masijade
0
118
Member Avatar for ashley11

i have a problem to do calculation part. i need to do 3 calculation part. Now my problem is , my answer for conf and lift loop many times. may i know how to correct it? below are my coding: [CODE] string b = txtTotalItems.Text; double e = Double.Parse(b); double …

Software Development c#
Member Avatar for Saikalyankumar
0
149
Member Avatar for mas51

I have put together a program using a class AbstractSort that can be used to analyze the number of comparisons performed by a sorting algorithm. Anyway, I built the programs( I have 2 here) and the first one counts the passes but does not order the array created and the …

Software Development algorithm c++
Member Avatar for mas51
0
409
Member Avatar for computerbear

Requirements are listed throughout. I have tried with and without the converter. prefix. Please help. [CODE] namespace Assignment_4b_Moon_money { //program that contains a method that calculates the conversion of any amount of money into the fewest bills; it calculates //the number of 20s, 10s, 5s, and 1s needed. This assignment …

Software Development
Member Avatar for computerbear
0
196
Member Avatar for salty11

You are the manager of a travel agency with 20 employees. You have announced a promotional campaign for your agents to sell vacation packages. Each day you will enter the ID number of the agent (#1-#20), the number of packages sold, and the dollar value of the package. Entries will …

Software Development c++ file-stream
Member Avatar for salty11
0
429
Member Avatar for shyla

i am trying to solve this problem i dont know which object i need to refer to in my main method [CODE]using System; namespace ShapesDemo { abstract class GeometricFigure { static void Main(string[] args) { } public int height; public int width; public readonly double area; public int height { …

Software Development c#
Member Avatar for shyla
0
258
Member Avatar for babbu

Visual studio 2005 and access 2007. Autocomplte textbox is not displaying results. Here is my code [CODE] txtname.AutoCompleteCustomSource = m_namesCollection; m_namesCollection.Clear(); if (!String.IsNullOrEmpty(txtname.Text.Trim().ToString())) { m_search = txtname.Text.Trim().ToString(); foreach (DataRow cust_dr_autoloop in m_dt_Customer.Rows) { if (cust_dr_autoloop["cust_name"].ToString().StartsWith(m_search)) { m_namesCollection.Add(cust_dr_autoloop["cust_name"].ToString()); } } } [/CODE] I have set the autocomplete mode to suggest and …

Software Development visual-studio
Member Avatar for sandeepparekh9
0
117
Member Avatar for nadleeh

how can i parse between blank lines in a file to separate paragraphs between the white lines?

Software Development c
Member Avatar for abhimanipal
0
77
Member Avatar for kazekagerandy

hello there, i want to put my images saved as byte from the database to crystal reports. please give me code to do this, thanks :)

Software Development image vb.net
Member Avatar for sandeepparekh9
0
108
Member Avatar for chad33

My homework assignment is to do the following steps below. I am able to write steps 1,2,3, and 5. I am stuck on how to go about writing code for step 4. Can I include this step into one of my for loops or do I need to write another …

Software Development java
Member Avatar for Slyvr
0
317
Member Avatar for rjdelight

I have a simple text file that I am reading the contents of in a GUI. It's a simple program that enables a user to browse the file and add to it if needed. I have this part running fine, but I'm having some difficulty reading just the first word …

Software Development gui java
Member Avatar for Slyvr
0
2K
Member Avatar for aamira_s

This program is to count the number of words,vowels and consonants of a string.Here is my code.Please post your comment.I do not know whether I need to change anything. [CODE]#include <stdio.h> int main() { char a,b =' '; int vowel=0,c=0,count=0; printf("Please press '*' to terminate.\n\n"); while(scanf("%c",&a)==1) { if(a=='*') break; else …

Software Development c
Member Avatar for abhimanipal
0
167
Member Avatar for ecko21

Need to make a dtd for this xml code. There seems to be errors that come up, tryed it on w3 xml validator and it gives an error message. [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE Timetable [ <!ELEMENT Timetable (week, timecode)> <!ELEMENT week (day)> <!ELEMENT timecode (time)> <!ELEMENT time (#PCDATA)> <!ELEMENT day …

Software Development xml
Member Avatar for xml_looser
0
152
Member Avatar for dlazzeri

I am trying to make a script in Python to recursively list all the files in a folder recursively. This code only shows some of the files in the directory I run it in, and I can't figure out why. Any help you can give me is much appreciated. [CODE] …

Software Development python
Member Avatar for dlazzeri
0
163
Member Avatar for fadi_1234

this game is between a player and computer can you make it between two player please ?

Software Development c++
Member Avatar for VernonDozier
0
337
Member Avatar for w1mark

Hi. I've been working with linked lists for a bit, but I've been having some trouble with them. My programming book does a good job in helping you make a linked list, but it does a bad job of showing you how to use them. What I am trying to …

Software Development c++ linked-list
Member Avatar for w1mark
0
280
Member Avatar for lalala423

Hey all, So i created a program that performs matrix addition and subtraction. It compiles but when I try to run it, it shows "SEGMENTATION FAULT" Help Please! Here are my codes: Matrix.h [code] #ifndef MATRIX_H #define MATRIX_H class Matrix { private: const int numRows, numCols; int **data; public: //constructors …

Software Development c++
Member Avatar for lalala423
0
163
Member Avatar for thecoolman5

hey, I use DEV-C++ and I want to know how to display text in a new windows project. this code that i used from an example doesnt work. [CODE]#include <windows.h> #include<iostream> #include<string.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into …

Software Development c++ data-structure microsoft queue
Member Avatar for thecoolman5
0
300

The End.