199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for th3learner

[icode]a = int.Parse(textBox1.Text); b = int.Parse(textBox2.Text); c = a(int.Parse(comboBox1.Text)); textBox3.Text = c.ToString(); [/icode] I am inputing 2 values in a and b ....and through combox1 I am doing calculations Thanks

Member Avatar for ddanbe
0
111
Member Avatar for bufospro

Hi, I would like to make a database with users. But I take errors in the function Could someone help me please? My code is : [CODE]typedef struct user user; int id2=0; struct user { char name[20]; char last[20]; int id; }; int function(user* users, int id, char name[], char …

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

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.

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 …

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 …

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)

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 …

Member Avatar for spiderpratik
0
104
Member Avatar for nsr

hi all. I have created a java web project to make a servlet in NetBeans6.7.1, using Tomcat 6.0.16 App Server. The Web Service reference doesnt not show the operations and gives the following error. The web service works fine though. A solution is to add xerces file to the runtime …

0
140
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 …

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 …

Member Avatar for javaAddict
0
533
Member Avatar for sleign

ok laugh at me if you will, call my code sloppy or retarded or not very secure (I'm self-taught and think I do pretty good for where I'm at) but I'm pretty proud of myself for having figured this out. I've been trying to validate a form for the past …

Member Avatar for Devoted Hosting
0
215
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 …

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

Member Avatar for peter_budo
0
93
Member Avatar for RAMAN2233

How to add a tooltip over a textbox in asp.net or javascript? If given in javascript then please explain perfectly because i dont know javascript. Please help..................

Member Avatar for Dani
0
95
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. …

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

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...

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 …

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 …

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 …

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 …

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 …

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 …

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?

Member Avatar for donaldw
0
384
Member Avatar for Benjip

I'm building a simple PHP 'shopping cart' (which is actually just a "My Favourites list" kind of function - no payments etc.) and it's been going pretty well so far. I've been modifying code that I found on a tutorial about creating a simple shopping cart, and it's serving its …

Member Avatar for Benjip
0
194
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 …

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 …

Member Avatar for power_computer
0
106
Member Avatar for mekmiotek

Hello Everyone, Quick history....Im a systems engineer, total newbie to web dev. Ive been trying to maintain a memorial website that we had created when my sister passed away. It was hosted somewhere but the person who made it couldn't maintain it anymore, so I downloaded all of the pages …

Member Avatar for mekmiotek
0
345
Member Avatar for gedas

hi everyone, im trying to create a little form that would simply keep the count of people that have voted and the score of the votes . here is my form in static html [CODE]<form name = "contestants" method="POST"> <font size = "3" face="Arial" color="#dddddd"> <input type="radio" name ="contestant" value …

Member Avatar for Atli
0
149
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]) …

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

Member Avatar for Devoted Hosting
0
110
Member Avatar for dsmush

Hi, I'm doing an assignment for University that requires us to make a servlet. I haven't been able to start it yet as I am having trouble compiling the java files. I started of in Linux but could not get Tomcat working so I've resorted to Windows XP. I now …

Member Avatar for peter_budo
0
139
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.

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 …

Member Avatar for godsgift2dagame
0
102
Member Avatar for bibiki

hey there. I am new to php and just out of curiosity I am trying to build an html table using nested while loops. I expect the following code to produce a table, but it is not doing so. [CODE]<html> <table border="1"> <?php $r=1; $rows = 5; $c = 1; …

Member Avatar for bibiki
0
800
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; …

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

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 …

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.

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 …

Member Avatar for pythopian
0
149
Member Avatar for enzo420

Hi all, i've recently made a friends script that adds the id of user who requested the friend (user) and the requestee (req), with a confirmed column, 0 if pending, 1 if accepted. i was looking for a way to search through the friends table for all friends of a …

Member Avatar for diafol
0
180
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 …

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 …

0
72
Member Avatar for web3

How to make something like spry tabs in dreamweaver with jquery or something. I don't have dreamweaver and i don't want to download a trial.

Member Avatar for Atli
0
135
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 …

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.

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

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......

Member Avatar for jlm699
0
84
Member Avatar for arcticM

hey everyone.. I need to find an algorithm that runs a search in a rundomly made binary tree that holds the keys 1 to n and looks for a [B]subdomain[/B]..let's say I'm looking for nodes between the keys 4-30. I can't find any example codes on the web or explanations..even …

Member Avatar for arcticM
0
81

The End.