132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for abu taher

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
Member Avatar for AndreRet
0
161
Member Avatar for dinamit875

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++
Member Avatar for dinamit875
0
294
Member Avatar for roger.hungchan

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
Member Avatar for Ancient Dragon
0
128
Member Avatar for Damon88

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
Member Avatar for Damon88
0
685
Member Avatar for Rudolfovich

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
Member Avatar for Ancient Dragon
0
170
Member Avatar for spiderpratik

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
Member Avatar for spiderpratik
0
104
Member Avatar for notuserfriendly

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
Member Avatar for 7stud
0
398
Member Avatar for Bheeman89

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 …

Software Development display gui java
Member Avatar for javaAddict
0
533
Member Avatar for Ryujin89

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
Member Avatar for Ryujin89
0
209
Member Avatar for pwk064

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
Member Avatar for peter_budo
0
93
Member Avatar for SgtMe

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++
Member Avatar for SgtMe
0
255
Member Avatar for Mitja Bonca

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
Member Avatar for ddanbe
0
106
Member Avatar for sidd.

hi, i have some values in a notepad (.dat file). i want to store the values one by one in an variable. i dont know how to read the file and store the vaues. can u help plz...

Software Development
Member Avatar for sanch01r
0
337
Member Avatar for Jannelle5

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++
Member Avatar for jbennet
0
347
Member Avatar for LadyZombie

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++
Member Avatar for LadyZombie
0
91
Member Avatar for JavaStudent23

[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
Member Avatar for javaAddict
0
125
Member Avatar for book_worm

[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++
Member Avatar for jonsca
0
114
Member Avatar for PDB1982

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++
Member Avatar for DavidB
0
213
Member Avatar for aznballerlee

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
Member Avatar for zuser
0
176
Member Avatar for yatman

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++
Member Avatar for donaldw
0
384
Member Avatar for triplea_2005

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
Member Avatar for thines01
0
102
Member Avatar for power_computer

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++
Member Avatar for power_computer
0
106
Member Avatar for power_computer

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++
Member Avatar for power_computer
0
3K
Member Avatar for Devoted Hosting

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' …

Software Development image java
Member Avatar for Devoted Hosting
0
110
Member Avatar for ge6a93

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++
Member Avatar for ge6a93
0
105
Member Avatar for godsgift2dagame

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++
Member Avatar for godsgift2dagame
0
102
Member Avatar for richman0829

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++
Member Avatar for richman0829
0
153
Member Avatar for Deadmon

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++
0
59
Member Avatar for Dorayaki

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
Member Avatar for TomW
0
105
Member Avatar for ddanbe

Well, I don't think I can make this any simpler. I hope newbies in the C# language can learn from it.

Software Development
0
1K
Member Avatar for sentinel123

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
Member Avatar for pythopian
0
149
Member Avatar for sentinel123

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
Member Avatar for sentinel123
0
132
Member Avatar for obautista

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
0
72
Member Avatar for bufospro

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
Member Avatar for bufospro
0
133
Member Avatar for zakben1

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
Member Avatar for zakben1
0
156
Member Avatar for Icebone1000

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
Member Avatar for lashatt2
0
845
Member Avatar for krishna_sicsr

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
Member Avatar for jlm699
0
84
Member Avatar for hla3mi

[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 …

Member Avatar for hla3mi
0
199
Member Avatar for frankycool

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
Member Avatar for javaAddict
0
219
Member Avatar for brightsolar

//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
Member Avatar for brightsolar
0
159
Member Avatar for ninjaelves

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
Member Avatar for javaAddict
0
133
Member Avatar for rutaba

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#
Member Avatar for DdoubleD
0
187
Member Avatar for number87

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++
Member Avatar for taepodong1101
0
203
Member Avatar for mevkurray

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 …

Software Development c++ ubuntu
Member Avatar for mevkurray
0
192
Member Avatar for crazyboy

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
Member Avatar for sanch01r
0
155
Member Avatar for thelamb

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
Member Avatar for thelamb
0
2K
Member Avatar for hockfan86

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
Member Avatar for hockfan86
0
122
Member Avatar for gunbuster363

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
Member Avatar for gunbuster363
0
2K
Member Avatar for jonathanYoung

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++
Member Avatar for jonathanYoung
0
109
Member Avatar for ramjeev

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
Member Avatar for ramjeev
0
76

The End.