132,726 Archived Topics
Remove Filter ![]() | |
I have been running the program but it quits in the end on pressing alt+f5 it says BGI Error:- Graphics not Initialized(Use Initgraph) but i have sphecified the graphics driver properly and also egavga.bgi is also there in the folder bin Software Development c++ | |
Hello, I have two arrays that contain different numbers that I need to compare with another array.. e.g. Array 1: 10 20 40 70 Array 2: 5 3 10 18 2 Basically, I want to write a program that calculates the highest value each array and then swops the values.. … Software Development c++ | |
I'm trying to login to Valve's Steam website, but without any luck my 2 different scripts aren't working. Help please!? Any script I find on the web appears to be outdated. [CODE] import urllib, urllib2, cookielib, webbrowser data = urllib.urlencode({ 'action': 'doLogin', 'goto': '', 'steamAccountName': "****", 'steamPassword': "****", }) # … Software Development open-source python web-browser | |
Please tell me how can I master Shell Scripting or check many amazing shell script applications as wherever i search i find the same things. Now i am getting bored and want to learn something new. Isn't there any book or link which has advanced applications of shell scripts ? Software Development shell-scripting | |
Guys I need some help in my activity, I'm making a calculator using NetBeans but I dont know what codes to use be in 0,1,2,3,4,5,6,7,8,9,+,-,*,/,=,(. decimal) all i know is the clear button code[CODE]private void jButton1ActionPerformed(java.awt.event.ActionEvent evt){ jTextField1.setText(""); } [/CODE] My calculator lack of functionality...:( Software Development java java-netbeans | |
please help me using C++ to create the following hierarchy of classes; (1). a [B]Person[/B] class with fields for name (type String) and an email address (type String). it should contain two constructors: one without input , a second one with input name of type string and email of type … Software Development c++ | |
I have been asked to create to check if a word is palindrome or not. But I am facing some problems. After the code you can see the messages that I received from the compiler. [CODE] import java.util.*; public class Palindrome { public static void main(String[] args) { [B]Stack<String> stack … | |
I was given a task of creating a lucky draw program. 1.Total numbers of accounts are 00001 to 99999. 2.But only 131 accounts will be chosen. 3.3 sections - 1 account for 1 car, 20 accounts for 20 iPhone, 10 accounts for 10 Samsung 4.Galaxy & 100 accounts for $100 … Software Development iphone visual-basic | |
Hi there, I have a very simple schema where each node requiring HTML output contains 7 possible numerical variables (all within nodes N1 - N13). I need to output text and image content according to the number within each node. Below is a sample of my schema: [CODE] <?xml version="1.0" … Software Development xml | |
Hi, I am facing OutOfMemory exception in Java, Kindly help me to resolve this issue, really appreciate your help [U][B]ERROR: [/B][/U]java.lang.OutOfMemoryError: Java heap space [B][U]CODE:[/U][/B] [CODE] public Blob getBlob(String databaseInstance, InputStream inputStream) throws SQLException, Exception { applog.info("Entering getBlob"); InputStream stream = null; applog.info("inputStream : " + inputStream); stream = inputStream; … Software Development java motherboards-cpu-ram oracle | |
im creating a custom button . when user select a image file for button image i want to add it to the project resource (in design time) . how to do this?? im currently drawing image using image location but its not a good solution. | |
I'm trying to make my first real project: A calculator, but when I press the "clear" button (the only button i've done so far) the JLabel doesn't go from two to zero, any help would be really appreciated :) code: [CODE]import java.awt.Color; import java.awt.GridLayout; import java.awt.event.*; import javax.swing.*; public class … Software Development java java-swing | |
Hey guys. I'm trying to create a program which adds, searches & removes items from an array & i've been messing around with the code, trying to find answers on the internet but so far no dice. Could any of you help out? [CODE] void removeString(List& s, string strKey, const … | |
Hey i have no idea whats goin wrong with this i think its to do with the fact that its in private but i have an error with calling weapon in the monster class (Monster.cpp) the error states that it is inaccessable :S here is my code: [CODE] //Monster.h #ifndef … | |
Hi, I am wondering if it is possible to "transfer" a Socket connection to another ServerSocket? So, say I listen for a connection on ServerSocket with port 1111. A connection is established, I know want to use a ServerSocket with port 2222 to handle this connection. Is he possible without … Software Development java | |
Can some one help with this please. I need to update a Passengers Name, im using Strings not Char. [CODE] if (choice == 2) // Updates Record.. { merge_sort(0,N_PASSENGER-1); cout << "\n\t Enter the Seat Number:"; cin >> key k=binarySearch(passenger, 0, N_PASSENGER, key); // Search Array if(k>=0) cout << " … Software Development c++ | |
Hey Im currently working on a application server written in Java but to use information from a C++ program. The company seems to agree that rewriting thousands of lines of code would be time consuming and simply making libraries of key functions of the C++ program and then passing them … | |
Hi guys I am trying to declare a array within a structure, and it is not working. I'll paste the code below and if anyone can help it would be greatly appreciated. [CODE]Structure league Dim id As String Dim name As String Dim players(20) As String End Structure Dim leagues(100) … Software Development vb.net | |
Hello, I joined here desperately asking for your help I have an assignment about creating a program that loads a text file given. the text file contains many lines and those lines are questions and answers it is on this sequence question answer question answer and so on so we … Software Development c++ file-system | |
I need to pass some parameters to button_click is that possible and if so how can I do it?? Software Development | |
In part of my program, i have to insert Equation.DSMT4 into the richtextbox control. I found that there is no methods in richtextbox to insert ole objects. If anybody knows, pls help me to get solution for this problem Software Development vb.net | |
I accidentally hit Source->Externalize Strings... on eclipse and now hundreds of string literals are stored in a properties file. I want them back scattered about my code. How can I do this without re-entering them? Software Development java | |
I want detect duplicate row for certain column in datagridview and highlight the row. Software Development | |
I need a help to understand what condition can be applied to the below requirement: If suppose we have 2 species name eg. dog and cat... and we have few breed name for the above mentioned species.... so what condition can be applied in such a way that the user … Software Development java | |
hi everyone I'm new to c# and working with file currently I need to read some string from the file but not the whole file so what functions can I use to read the file string by string ? Software Development file-system | |
![]() | Soo last year, if im not mistaken , i asked for help with the random numbers generator. I didn't do C++ for quite some time, but i started again. So here is what i have : [CODE]#include "stdafx.h" #include <iostream> #include <fstream> #include <ctime> using namespace std; int main(){ srand(time(NULL)); … ![]() |
I have to complete a project about employees and their jobs. Here are the requirements: 1 Must be able to add new employees 2 Must be able to add new jobs 3 Must be able to attach a registered employee to registered jobs (several jobs to the same employee) Since … Software Development java | |
hey frnz... can any1 tel me how to create a simple software in c#? i need to create a software n connect another system to my system (which acts as a server) n make d other system to download d created software setup... plsss help Software Development client-server | |
how to enter the date in the masked text box and how to validate it Software Development vb.net | |
I know that this is a c++ forum but im a college student and i cant practice the programs without clearing this problem coz most of the programs require "resource.h" this program is to attach a menu to a window [code=c++] #include<afxwin.h> #include"resource.h" class myframe:public CFrameWnd { public: myframe() { … Software Development c++ | |
Write a program that converts upper case to lower or lower case to upper, depending on the name it is invoked with, as found in argv[0]. Software Development c | |
Hello everyone, I'm working on a little project that use c#, Oracle ODT and asp.net, so, my problem is that i dont know how to convert or store the data retrieved from a sql that is a sequential and then use in other query in the same project. This is … Software Development open-source oracle sql | |
Hi, I am very new to c# and I toying with the idea of using stored procedures to insert values from two textboxes in to two related tables. Table 1 Model (ModelID PK, ModelName, ManufacturerID FK) - Table 2 Manufacturer (ManufacturerID PK, ManufacturerName) both tables are related by the ManufacturerID. … Software Development open-source | |
I'm having difficulty getting graphics into my C++ program. using Ubuntu 11.10 I /think/ my problem is simply my inability to download and install graphics libraries. Basically at the #include ... section of code i get an error every time about being unable to find xyz which i haven't managed … | |
Hey guys! I have limited experience with Visual Studio and have a question about Querying an Access database. I have created a Visual Studio application that displays and modifies an access database. I have use datagridview and detailed view to insert data and view data in the Access database. I … Software Development vb.net visual-studio | |
[CODE]int numdigits(int num){ int len = 0; while(num >= 10){ num = num/10; len++; } return len; } [/CODE] This algorithm is used to count the number of digits but I can't understand it. Someone explain it to me please :D Thanks Software Development java ![]() | |
I am working on the tic tac toe problem and i need help with the AI part i got it to work for 1v1 but it needs to be 1vAI I was thinking that easiest was to to program something like "when player clicks this squaure, AI will click anything" … Software Development | |
For a program I'm writing, I'm trying to get rid of doubles in my string (which is a concatenation of a keyword and the alphabet). My code was compiling fine until I added the code about concatenating the substrings before and after the character I'm trying to get rid of. … Software Development java | |
hi guys, sorry to disturb but I'm looking for the instructor's manual to 'C by a modern approach' written by KN king. Software Development c | |
I have an assignment where I have to write a program to prompt the user for a file name and location (it is a text file), once the user has entered that, a menu pops up and gives the user 4 options and asks which one they would like to … Software Development c++ file-system | |
is there a warior i can do the following: lets say i have [CODE]string userChoice;[/CODE] assume i have a Warrior class with move function in it is it possible to define : [CODE]#define WARRIOR "Warrior"[/CODE] and than use [CODE]userChoice=WARRIOR;[/CODE] and call the function [CODE]userChoice.move()[/CODE]? [CODE]void play(char gameWorld[][BOARD_SIZE]) { Warrior War(1,1); … Software Development c++ | |
Hello everyone I am trying to code an address book in C#, the program should be a console application and should stores names address etc in a string. The menu should loop and continue wish I have done using a do loop, at the moment I am stuck on the … | |
Hi Guys, I am making a board game, where there is a 3x3 grid and the user enters a row and column and it should put an x in that spot on the grid and ask for the user for another location, until they enter 0 to quit. Here is … Software Development python | |
Can you guys run this program, I'm having issues running it. [ICODE]import java.io.*; import java.util.*; //class definition public class NumberAdder { //The main function public static void main(String args[]) { //This declares a file to open. File outFile = new File("numbers.dat"); int sumEven = 0; int sumOdd = 0; //File … Software Development java | |
Hi everyone :) Title says it all... I'm trying to bind events to a wx.GenericDirCtrl. I've visited more than 20 web sites but i haven't found how to do it. I've tried different manners but it doesn't work as i expect it to. In some case my control is seen … | |
So here I am, having a difficult time figuring out what's the problem, first of here's the code: [COLOR="red"]Preke.H[/COLOR] [CODE]#include <string> #include <sstream> #include <iomanip> using namespace std; class Preke { private: string pav; // prekės pavadinimas int atdata; // atvežimo į parduotuvę data int pardata; // pardavimo data int … | |
I am confused about composition in java. I am able to write code using inheritance...but have no idea how to turn it into composition...from what my textbook said the two are quite similar has a is a relationship and all. I ultimately would like to write the cylinder code using … Software Development java | |
Hi guys, I am implementing a singly linked list. The thing is whenever my str_temp goes above 12-15 elements, i get this error malloc: *** error for object 0x1099008b8: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug … Software Development c++ linked-list | |
Hi guys, I have been given a task in my C++ course to develop an application that will ask the names of the students and store the entered values into a string type array. Considering each student has participated in four exams, the program should ask the points received and … |
The End.