132,726 Archived Topics
Remove Filter ![]() | |
I want to do work with a machine(any). like: Id card punch(machine) or other. the software collect data form the machine. Here I want to how the software work with the machine? how a software give a command to the machine? I want to know details. plz help need. Software Development visual-basic | |
does anyone know how to convert c program code into c++ program code? I have program written in c code, but need the same program and its functions in c++. I can post code if needed. Thanks. Software Development c++ | |
I don't know how to write a c++ program to execute the following operations. could anyone help me?? Write a C++ program that opens a comma-separated values file and performs various functions on it. The first line is a header containing the names of the fields. The available fields are … Software Development c c# c++ file-system | |
I am developing a application in which i need to get images from a search engine. there are many choices to do that google,yahoo, bing etc. I chose bing simply because microsoft provides tight integration with bing and it offers more functionality to developers. So after searching some more i … Software Development api seo vb.net web-browser | |
Hi2all! What better use for working with databases in C + + and win32api? (static lib with source code, classes or simple source code, examples) Software Development c++ visual-studio windows-api | |
How do I run an applet in the BlueJ terminal window? Please provide a code for the solution or an alternate method to do this as soon as possible. [code=Java] package applets; import java.awt.event.*; import java.awt.Graphics; import java.awt.Font; import java.applet.Applet; public class NervousText extends Applet implements Runnable, MouseListener { String … Software Development java | |
I need to read from a file and be able to split it into columns and ignore a line if it starts with ' . '. the text file is made of 3 columns but at some lines there are no words in the first column here is an example … Software Development file-system perl | |
Hello Guys. I need a help here. I am doing a system using Java with GUI. SO im curious how to add a value that i have extracted from a JTextField and display it as a List in the Jlist. Here is my coding [CODE] //function for collecting data from … | |
I have created the output for a program that allows a user to input their employee name and number and then their hourly wage and their total number of regular hours and overtime hours. This is my first time working with this type of program in java and I'm having … Software Development java java-swing | |
I need to change the font size after I click. How can I do that - Thanks! here is the code [code=java]import java.applet.*; import java.awt.*; import java .awt.event.*; import javax.swing.*; import java.util.*; public class JChangeFont extends JApplet implements ActionListener { JLabel question = new JLabel("Who's number one?"); JButton click = … Software Development java java-swing | |
Now I must explain that I am a noob. I would like to write my own header file, and use the functions from it in a program. When I get Dev-C++ to compile, it says that it is an invalid function, and I need to put that before the main. … Software Development c++ | |
I would like to know if is it possilbe to disable a menuStrip on windows forms? But not whole, I would like to disable only one specific menu. I know I can disable whole with: [CODE]this.menuStrip1.Enabled = false;[/CODE] Look at this [URL="http://www.file.si/files/i81oold7vofces8vea47.jpg"]image[/URL] - I would like to disable menus: - … Software Development | |
Hi, I am writing this code for a class I am taking. It works fine as long as i do not use more 9 digits in length, but my teacher wants the user to be able to be able to input a number of any length. The warning when i … Software Development c++ | |
I'm taking a beginning C++ class right now, and we're supposed to make a program that allows the user to enter as many numbers as they like and when they're done, display the largest and smallest of the numbers entered. However, I can't figure out how to make it display … Software Development c++ | |
[B]Hi everyone,[/B] I’m working on a public transport card system which records the no. of stops of the journey and then calculates the costs. I’m a bit lost with this program and I hope you can help me... Features; the fare for up to 3 stops is charged £4, after … Software Development java | |
[code=c++] /*I have coded this but it is not working fine it kept saying "Segmentation fault" and i can't track it down, can someone help me on this i want it badly!*/ #include<iostream> using namespace std; int k=0; void gcd(int a, int b); void gcd(int a, int b) { static … Software Development c++ | |
How do I get this output to a file.....I can get it to print on the screen, but I can't figure it out for the life of me.... [code] #include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std; void abc(ifstream&); void main() { ifstream inFile; ofstream outFile; double … Software Development c++ | |
I'm also working on a game project, and I'm stuck. I guess I'll have to post the specs so you guys can see what I have to do. Here are the specs: [quote] The valley floor can be viewed as a 10 by 10 grid. The northwest corner (upper left … Software Development c++ first-post | |
I have a file reg.txt which has 32 bit binary values like below 00000000000000000000000000001000 00000000000000000000010100100000 00000000000000000010000000000000 00000000000000000000000000000000 00000001000000000001000010010000 00000000010001000010000100100100 00000000001001000100010000000000 is there a way to read the 32bit binary value and store in an int? Software Development c++ | |
The question ask: Write a program that asks the user to enter one of the following state abbreviations: NC, SC, GA, FL, or AL. The program should then display the name of the state that corresponds with the abbreviation entered (North Carolina, South Carolina, Georgia, Florida, or Alabama). This is … Software Development java | |
I need a bit of clarifaction here. When you allocate memory in a dynamic memory it is depending on however you decide to increment your max of your array, so if my objective was to delete a single object in the array I would do the same as a static … Software Development c++ | |
For the life of me I cant figure out this simple task I know with a static array you just simple shift over one element and decrease the size in variable pertaining the length of the array as such [code] for(i = 0; i < n; i++) if(key == array[i]) … Software Development c++ | |
Hello there, I am curious as to whether there's any 'easy' way of creating 3D models (e.g. animals, Humans etc) via a Java applet? I know in a full-blown application one could use Java 3D (with the Java 3D libraries being installed with the application), but is there an 'easy' … | |
When I use OnTimer() in Visual C++ 6.0 using MFC Library the application screen starts blinking(flashing). Is there any solution about this problem? Thanks. Software Development c++ | |
Hey guys, I'm struggling with yet another problem. The goal is to run 1000 "draws" of three numbers but the catch is, the three numbers can't be repeating. So, no 4 1 4 or 7 7 7 or 8 1 8 and so on and so forth. Every line of … Software Development c++ | |
Hi - I'm having a problem converting a couple of things that work fine spelled out in function main, but not when I try to define them as functions. One is a process of filling in a one-dimensional array. I'd like to just be able to say "here's the array; … Software Development c++ | |
Hello all, I have a small question here. Let's say I want to tokenize a string(or multiple strings) from input. For example, my input file has the following: 1 2 3 And this is my tokenizing code: [CODE] char line[256]; vector < char *>tokenize(FILE * in) { vector <char*>tlist; char* … Software Development c++ | |
Hi, I made a new topic so it will not confusing. I want to ask how to unload sub menu ? for example, usually if we had sub subname() then we can just call it by subname() But then how to unload/not load that subname() is it possible ? Because … Software Development vb.net | |
Well, I don't think I can make this any simpler. I hope newbies in the C# language can learn from it. Software Development | |
Hello. Here I go again. I tried to create a computer enemy for my connect 4 game: [CODE] def turn_comp(): import random print 'Computer ist am Zug!' playchip = random.randint(0, columns) board[0][playchip] = 'O' print_board() [/CODE] Even though I limited the range of randint with 0 and columns (in a … Software Development python | |
Hello. Here I am again with my Connect 4 project and another board problem. This is my code: [CODE] fielda = [] fieldb = [] rows = int(raw_input('Height: ')) columns = int(raw_input('Width: ')) if rows < 4: rows = 4 if columns < 4: columns = 4 def print_board(): for … Software Development python | |
I need help converting this code that is using Linear Probing to Quadratic Probing. I am not sue how to accomplish that. Can someone help me? Thanks so much... import java.util.*; // A HashMap class which uses linear probing public class HashMap383<K, V> { // array-based; this is the array's … Software Development java | |
Hi, I need your help for my program. My code is : [CODE] void user() { char str[15]; int i=0; do{ printf("\nPrint str.\n"); fgets(str,15,stdin); i = strlen(str); }while(i>15); } void menu() { printf("Press :\n"); printf("0. \n"); printf("1. \n"); printf("2. \n"); } int get_choice() { int choice = 0 ; const … Software Development c | |
Hi I have been searching the net for information on backing up files to cd from vb.net application cannot find anything any help appretiated. Software Development vb.net | |
First..Im very beginner with winsock and network programing.. Im doing a simple app that can act or as server or as client. What Im doing is that I open the app twice in the same computer, in one I choose server, and in the other client. With the server part, … Software Development c++ client-server windows-api | |
Hi, While running my Python Script I am getting "org.python.core.PyInstance" ERROR. I am not getting why this ERROR is coming. Please help...... Software Development python | |
[CODE]#include <iostream> #include <string> using namespace std; struct Employee { //Data string name; int id; string residance; int salary; }; class Node { public: // Data Employee data; // The Next Pointer Node * next; // Constructor Node(Employee Object ,Node * ptr = NULL ); }; class List { int … Software Development c++ data-structure linked-list visual-studio | |
HI i am using this syntax to store arraylist to inventory.dat file.When i store, it give a scattered output on the .dat file like this..... ¬í sr Carsguimainexecution.SaleinfoÕE£ñWfö L productsalest Ljava/util/ArrayList;xpsr java.util.ArrayListxÒ™Ça I sizexp w sr Carsguimainexecution.SalesubZã¾ÓÅ xr Carsguimainexecution.SaleProductøié>‘2q I CarnumberD pricesoldI productNumberD stockD unitsoldL Carbuyert Ljava/lang/String;L Carnameq ~ xp … Software Development java | |
//Code Written By S Barratt i would like my button display to - out put all the values of the arrayList. ------------------------------------------------------------------------------------------ i would very much like some information about key pressing so when the use presses the key enter return ( char 13). i did try - but my … Software Development | |
Hi im trying to use an equals method to check if two bargraphs are equal, but when I run the method, it always says that they are not equal. Could you please tell me how to fix this? Thanks My code for the method [CODE] // equals method public boolean … Software Development java | |
Hi.. I want to know that how to create a program using VISUALSTUDIO2005 and creating some windows application in layers .. I basically want to know the steps that at first i hav to creat which file nand after that which one and so on.. I reall need help of … Software Development c# | |
hi I wanna find out the number of integers from an input number. For example if i enter 84075, the output should be 5. this is what i came up with.....im new to c++ still>.< [code=cpp]#include <iostream> using namespace std; int main() { int numCount, number; bool integer; cout << … Software Development c++ | |
hi all using ubuntu here, and the default setup (straight from synaptic) of wxwidgets has the wxDB classes disabled. so, how does one rebuild the actual libraries of wxwigets, once ive edited the setup.h files. and which setup.h files do i need to edit. i found what i was looking … | |
Hii every one .... I want to list out directories or folders or files which are in perticular folder or directory ... there is a control in VB 6.0 dirlistbox. Is there any control like that in C#. or open my computer and any drive of my computer.. now see … Software Development | |
Hello all, I have a VB.net application and a C++ DLL. The C++ DLL has an exported function that gets called by the VB.net application. The C++ exported function is as following: [CODE=cpp] STARTUPINFO si; PROCESS_INFORMATION pi; ZeroMemory( &si, sizeof(si) ); si.cb = sizeof(si); ZeroMemory( &pi, sizeof(pi) ); TR::Log( "Starting … Software Development c++ vb.net window-manager | |
I have a couple of issues with my lab assignment for this week. I was wondering if you guys could help. I will post the assignment and then post my code thus far. Thank you. )Write a program that will display the menu below until user decide the quit the … Software Development python | |
I am using BeautifulSoup for my project and I don't know how the object returned by the Soup is organized, so I don't know how to access it, except using only print I can only do this: [CODE]link = soup.find(attrs={'class' : re.compile("util2$")}) print link [/CODE] it print out the whole … Software Development python | |
hello; i've been programming with c++ for about 2 months, BRAND new at this, im currently making a text based RPG for one of my programming classes. im having trouble with a error that comes up, and no one in my class can find out what exactly is the problem... … Software Development c++ | |
Can u suggest any better link for datastructure that explains with diagrams?It would be good,if any basic level explanation with algorithms. Software Development java |
The End.