43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Raptoricus

Hi there, I've been writing in c++ for a little while now and am starting to feel more confident, I've noticed a possible error in a game I've been making, it is that when the player is inputting a character name, it is a possibility that they may put in …

Software Development c++
Member Avatar for Radical Edward
0
171
Member Avatar for Dell XPS

I need to prevent the user from changing tab in a tab control until it clicks on the "Finish" button on the current tab. Thats all

Software Development vb.net
Member Avatar for Dell XPS
0
229
Member Avatar for computers08

[code] double two( double, double); [/code] if the parameters are 17.5 and 18.3, what will it return? Please help

Software Development c++
Member Avatar for Ancient Dragon
0
90
Member Avatar for vegaseat

This was a comment from ee_programmer in reference to one of the Python code snippets. [code=python]""" I was expecting the first class instance to only have one dictionary entry {'person0': 0} rather than two dictionary entries. Similar expectation with second class instance. How do I create and assign value to …

Software Development python
Member Avatar for a1eio
0
212
Member Avatar for computers08

[code] int test(int, char, double, int); double two(double, double) char three (int, int char, double); [/code] I need a statement for the function test with the actual parameters 5, 5,7.3, and 'z' please help

Software Development c++
Member Avatar for Prabakar
0
94
Member Avatar for swapna7999

i m doin a project in which i need to use ftp for that i need to include the modJPEG.bas anyone know how? thank u very much

Software Development visual-basic
Member Avatar for swapna7999
0
73
Member Avatar for Run.[it]

Im trying to figure out how to utilise a program that uses Aggregation of Classes, Im having trouble calling the operations of the Classes in my main. Could anyone assist where Im going wrong?! horse.h [code=cpp] #include <iostream> #include "distance.h" using namespace std; class Distance; class Horse { private : …

Software Development c++
Member Avatar for Run.[it]
0
152
Member Avatar for HugoRocha

I need a way to convert a variable to an int or to ascii code, tried atoi, static_cast, didnt work very well... The objective is to detect if the user inserted any character other than a number, a number smaller than 0 or larger than 5, and send a message …

Software Development c++
Member Avatar for HugoRocha
0
102
Member Avatar for ceyesuma

I am having trouble setting a query property for searchQuery1 I must be a return from a getter() (getSearchQuery()) Is it possible to set this query property using a return from a method? init: deps-jar: compile: run: [TopLink Info]: 2008.05.06 07:54:48.192--ServerSession(17548445)--TopLink, version: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007)) …

Software Development java oracle
Member Avatar for ceyesuma
0
136
Member Avatar for Squeeker

I am studying for a C++ exam and the study guide says "Be able to initialize arrays using literal arrays." Ok then, so I think well yeah that is easy, a literal array is something like.....Wait, I have no idea what a literal array is! From what I can find …

Software Development c++
Member Avatar for Squeeker
0
185
Member Avatar for scarface3288

I have succesfully done this but with one error. using ... ifstream input("infile.txt",ios::in) while(input.good()) { input.getline(file,100); outputfile<<file<<endl; } then I have some new code that writes this into another file. You may laugh when you hear this but the problem is that it add an extra line to the output …

Software Development c++ ios
Member Avatar for scarface3288
0
87
Member Avatar for tones1986

Hi all. I am having a hard time trying to properly declare a header for my assignment overload operator function. My prototype for the function is: [code] const BSTree<T>& operator=(const BSTree<T>&); [/code] And my attempt to write the header for the method is as follows: [code] template <class T> const …

Software Development c++
Member Avatar for tones1986
0
93
Member Avatar for ceyesuma

Using java and netbeans to write a query How does the (:) colon change this String? [ICODE]String partial=("SELECT c FROM content c WHERE c.artist LIKE \"%" + like + "%\""); String partial=("SELECT c FROM content c WHERE c.artist LIKE \"%" + :like + "%\"");[/ICODE]

Software Development java java-netbeans
0
69
Member Avatar for Jennifer84

I have a CheckedListBox1 that contains checked and unchecked Items. What I am trying to do is to save everything into a vector. Like below, I can save all Items Text into vector<string> TextInfo but what I am trying to do is also for each Item save if that specific …

Software Development c++
Member Avatar for Jennifer84
0
153
Member Avatar for danielgee

Hi, When I execute queries which have a lot of data returned in the recordset my VB app seems to hang (IE: This program is not responding) I'm using ODBC to connect to the database and am using Postgres DB [CODE] Public db_name As String Public db_username As String Public …

Software Development postgresql vb.net
Member Avatar for Oxiegen
0
166
Member Avatar for Oxiegen

Hi! It's been a while since i last posted, and now I'm in need of some expert assistance. I've found this Control written in C# with .NET 1.0 on vbAccelerator and wanted to use it with my current project. I decided to convert the entire code to VB.NET but one …

Software Development asp.net c# vb.net
Member Avatar for Oxiegen
0
224
Member Avatar for Jennifer84

I have a CheckedListBox with 95 Checked Items and 5 Unchecked Items. Every Checked and Unchecked Item has a "string" name. What I am trying to do is to locate All the Unchecked Items in this box and put these strings into my vector with the pushback method: Unchecked.push_back(); The …

Software Development c++
Member Avatar for Jennifer84
0
649
Member Avatar for fishsqzr

The Microsoft write-ups for Visual Studio 2008 said that it can target various version of .NET. However, it seems to set up all projects to target NET 3.5. Does anyone know how to make it target earlier NET versions?

Software Development visual-studio
Member Avatar for scru
0
104
Member Avatar for inamabilis

Hi, Not sure if I'm doing something stupid here or not, I want a map of integers and objects (Rooms) which I've done, but whenever I create a new room to add to the map it appears to use the same memory location as the previous Room(s). The upshot being …

Software Development c++
Member Avatar for inamabilis
0
99
Member Avatar for joanam

I am having the following problem: I have written a console application that needs to allocate memory. I am now debugging the program. I do not have any problems the first time I debug. Bu then, when I find an error or the program crashes and the debugging terminates, I …

Software Development c++ visual-studio
Member Avatar for eng16danbo
0
128
Member Avatar for nguerrero03

I have an assignment ... but it's really unnecessary to post all the details up. Basically, I have a header file and an implementation file (and I'm supposed to include an application file, but I don't have the slightest clue by what the professor means by that?). I have the …

Software Development c++ display
Member Avatar for Ancient Dragon
0
88
Member Avatar for Linda1

My homework requires me to write a program for a matrix that bubble sorts in descending order, then multiply by two and output results Tried doing these in different ways, maybe, someone out there can help.. #include <iostream> #include <iomanip> #include < cmath> using namespace std; const int NO_OF_ROWS = …

Software Development c++
Member Avatar for Prabakar
0
179
Member Avatar for gabanxx

here are some changes i made to the code.. as always the problem still the same nothing happen... can you figured it out what seems to be the problem....i really appreciate the help Private Sub btnNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNext.Click Dim varConnection As New SqlConnection …

Software Development dataset vb.net
0
63
Member Avatar for MJFiggs

I have been working on this problem so much, I have started to think in Binary. what I am supposed to do is put User defined numbers in acending order. Here is what I tried. (please dont laugh) [CODE]#include <iostream> #include <iomanip> #include <vector> using namespace std; void testSort(int [], …

Software Development c++
Member Avatar for MJFiggs
0
117
Member Avatar for WalkmanXD

how to delete objects to free memory ????????????? and when did Garbage Collector work to delete unused objects ????????

Software Development java
Member Avatar for WalkmanXD
0
106
Member Avatar for anbuninja

well im writing a program where the user enters a number from 2 to 1000 and it displays the prime numbers. Its in a loop and i want it to stop when the users enters 'n' or 'N' well when i type n or N the program goes crazy haha. …

Software Development c++
Member Avatar for anbuninja
0
118
Member Avatar for javauser215

My program compiles and runs okay, but is not displaying my restocking fee and I am not sure why. Attached is my printout of how it displays. [CODE]//Product.java works with Inventory4.java file import java.util.Scanner; // program uses class Scanner public class Product4 { //Private Variables private String name; //Product name …

Software Development java
Member Avatar for javauser215
0
113
Member Avatar for daviddoria

I ran this: [code] cout << "has nan q?" << numeric_limits<int>::has_quiet_NaN << endl; cout << "has nan s?" << numeric_limits<int>::has_signaling_NaN << endl; cout << "has nan q?" << numeric_limits<double>::has_quiet_NaN << endl; cout << "has nan s?" << numeric_limits<double>::has_signaling_NaN << endl; [/code] and I get 0 0 1 1 why would …

Software Development c++
Member Avatar for Salem
0
186
Member Avatar for En1ro

This code is in Unit1.h [CODE=C++] struct gydytojas { int gydid, amzius, specialyb, telefonas, asmkod; String vardas[25]; String pavarde[35]; String adresas[50]; friend ostream& operator<<(ostream& os, const gydytojas& obj) { return os; }; friend fstream& operator>>(fstream& os, const gydytojas& obj) { return os; }; }; gydytojas gydmas[100]; [/CODE] And this code …

Software Development c++
Member Avatar for En1ro
0
181
Member Avatar for knowledgelover

Hi there, I need to create an INFO file in the setup of an application, and within the application I need to write on that file , actually I did some google, but I did not find article that discuss what I need , specifically if the writing operation , …

Software Development c#
Member Avatar for knowledgelover
0
169
Member Avatar for TheWhite

I have a JButton with both an ActionListener and a MouseListener: [code=Java] b.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae){ performLeftClickAction((JButton)ae.getSource()); } }); b.addMouseListener(new MouseAdapter() { public void mouseReleased(MouseEvent me){ if(SwingUtilities.isRightMouseButton(me)){ performRightClickAction((JButton)me.getSource()); } } }); [/code] Here are the 2 actions for right clicking and left clicking: [code=Java] performLeftClickAction(JButton b){ //problem …

Software Development java
Member Avatar for TheWhite
0
1K
Member Avatar for Jennifer84

I have a textBox that I with help of a Button turning to a Gray BackColor like this. textBox1->BackColor = Color::Gray; Under this textBox I have a checkBox. *(with default "checked").* What I am trying to do here is that when I "uncheck" this checkBox, the textBox will turn "Red" …

Software Development c++
Member Avatar for Jennifer84
0
144
Member Avatar for leroi green

hey guys. i've got this code where i've gotta separate a full name and tell the user which is which (meaning "this name is first, this name is middle, and this is your last name" type stuff). Well i've got the first part working where the program tells you what …

Software Development vb.net
Member Avatar for danielgee
0
87
Member Avatar for williamrojas78

Hi I am trying to count the rows that has been selected by the user - either with CTRL or SHIFT. The only property that i see is 'CurrentRowIndex' or 'Currentcell' but it only gives me the last selected row even though there are several rows selected. Other than that …

Software Development vb.net
Member Avatar for williamrojas78
0
152
Member Avatar for CodeBoy101

How do I convert text in upper case to lower case? :?:

Software Development c++
Member Avatar for Radical Edward
0
112
Member Avatar for Taker

Hi Everybody I am in need for help. I have a program which is surppose to allow the user to input a boat and a time and date of hire for that boat. Problem is that the button wont work and i dont know how to get the time in …

Software Development gui java java-swing
0
74
Member Avatar for zwench

Can anyone tell me in simple terms how to create a class Library in VS 2003. It does not have that as an option when you go to add it. Any info would be appreciated. I went in and changed this : <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName …

Software Development vb.net
Member Avatar for zwench
0
124
Member Avatar for welles

Hello, all, I am pretty new to C++ and I need to write a program for calculating radio propagation path loss based on ray tracing, C++ is used for its faster processing rather than MATLAB. I have a question about passing 2D arrays between functions. One of the files looks …

Member Avatar for welles
0
101
Member Avatar for Pgmer

Hi all. im using Textcontrol version14. im able to add pagenumber to the Left top of the page and leftbottom of the page but i want to give the two more options like center of the document and right top and bottomright of the document. but im not getting how …

Software Development vb.net
0
78
Member Avatar for loeto

[code=cplusplus] #include <iostream> using namespace std; int main( ) { float rand, cent, pounds, shillings; cout << "Enter Pounds " << endl; cin >> pounds; cout << "Enter Shillings " << endl; cin >> shillings; pounds =1; shillings =1; // enter amount while both pounds and shillings is not equal …

Software Development c++
Member Avatar for loeto
0
171
Member Avatar for gabanxx

i manage to use the next and previous button in my program..the problem is it only show the last data on my my database that is when i click the next button..same as the previous button... i used the code that was given and fix all the mistake.... but it …

Software Development dataset vb.net
0
71
Member Avatar for gator6688

[CODE]import java.text.DecimalFormat; import javax.swing.JOptionPane; public class PayrollSystemTest { public static void main( String[] args ) { String workerType; String first; String last; String ssn; int month; int day; int year; float salary; float rate; float hourlyWage=0; float hours; float wage; float sales; DecimalFormat twoDigits = new DecimalFormat( "0.00" ); // …

Software Development java java-swing
Member Avatar for javaAddict
0
130
Member Avatar for SiPexTBC

Hello, everyone. I'm making a program that will get the install directory for the game world of warcraft. I think it has something to do with the registry, but i'm not sure how to use it. Its located at HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\World of Warcraft . How could I turn that into …

Software Development
Member Avatar for Jx_Man
0
112
Member Avatar for alkeshtech

Hey Guys, I want to read from a file. And store the string in a string class array. Number of strings in the file is unknown. How could this be done? [code=C++] int n=0; while(!inFile2.eof()) { string tempStr = getWord(inFile2,n); if(tempStr.length() >=1) { wordCount++; } } inFile2.close(); inFile2.open(inFileName2.c_str()); string wordStr[wordCount]; …

Software Development c++
Member Avatar for Ancient Dragon
0
130
Member Avatar for Spagett912

Hey I had notice that my same problem was posted about 6 months ago but remained unsolved so I'm hoping that someone has the answer to my problem. I'm writing a tax program that does the following: For single people, the standard exemption is $4,000; for married people, the standard …

Software Development c++
Member Avatar for VernonDozier
0
285
Member Avatar for 4ukh

[COLOR="Green"][B]How is your experience with java handling databases? very simple please post your Feedback? thank you[/B][/COLOR] actually i am going to build a library database application; but don't have any idea of handling database with the java!!! and is it possible if you create database table in ms access and …

Software Development java
Member Avatar for 4ukh
0
290
Member Avatar for Jennifer84

I am trying to convert the std::string Number3 = "0.31" to a double in the code below. I have used a MessageBox to show the result. What happens is that double Convert is returning the value of: 0 What I have discovered is that if I instead would have written …

Software Development c++
Member Avatar for Jennifer84
0
110
Member Avatar for Soundgarden

Howdy all and anyone who cares to read this. I was hoping you could help me with one small issue I am having. OK to cut a long story short... I need to be able to search through all running process.id and then sendmessage(hwnd, blah,blah, MIN_WINDOW); In other words I …

Software Development
Member Avatar for Soundgarden
0
254
Member Avatar for leroi green

Hey all, I've got this program where I have to translate a word from English to Pig Latin. I'm sorta on the brink but I'm missing something. the test words are "ant" and "chair" but they should then turn to "ant-WAY" and "air-chay" but i'm ending up with "ant-anAY" and …

Software Development vb.net
Member Avatar for poguemahone
0
233
Member Avatar for Demonoid2008

Hi guys i need to write a program that reads a line from the user and then searches and counts the number of alphabet letters in it and the number of any one punctuation. i figured out how to go through the list of all uppercase and lowercase letters and …

Software Development assembly
Member Avatar for Demonoid2008
0
280

The End.