132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shanki himanshu

cant we compare two for inequality? i mean if i have a char array 'a' and i want to know the number of digits in an array which is not '4' or not '7' i.e if my array has value 4567778 the output should be 3 as there are three …

Software Development c
Member Avatar for DJSAN10
0
75
Member Avatar for tanvirraj91

hi this is my first thread i am learning c++. it is my first language that i am learning. it seems difficult because it is my first programming language. i follow the book tittle "PROGRAMMING WITH C++" by "D RAVICHANDRAN" . please suggest me how i learn language very easily

Software Development c c# c++
Member Avatar for jwenting
0
136
Member Avatar for TheWayEnd

Hi I want to make a url contol program. url list in the listbox and search button if vocabulary in the url then listbox 2 add item example: url:[url]http://example.com[/url] vocabulary : "car" search: The car vocabulary in the documenttext ("source code") add listbox1 to listbox2 but I don't want slowly.I …

Software Development vb.net
Member Avatar for TheWayEnd
0
188
Member Avatar for zios007

I need to put the number of cycles for each assembly instruction in the comment field and then calculate the total number of cycles for the entire 10 second timing interval. Need to calculate the processor clock frequency (MCLK) by dividing the total number of cycles per interval by the …

Software Development assembly
0
73
Member Avatar for ee_persian

hi all i want have a one form to always return columns[0] of selected row . intermediate method is ReturnAllCode...s i writed a public method ReturnAllCodes that I want always return Columns[0] Of selected Rows form form that i want ... public int ReturnAllCodes(string WinTitle, string Query, string[] Fields, string …

Software Development dataset
Member Avatar for pritesh2010
0
158
Member Avatar for gynmd

i'm studying file processing. when i execute the second code that Reading Data from a Sequential Access File something goes wrong with it. i couldn't find what is wrong. is there anyone who can help me? [CODE] /*creating a sequential file*/ #include<stdio.h> int main() { int account; char name [30]; …

Software Development c file-system
Member Avatar for nairulhadri
0
227
Member Avatar for Mike_

I am attempting to create a global temp table to be used between two sessions being called from a webservice. When I attempt to access the temp table from the second session it can not be found. The reason I am using a global temp table is because the initial …

Software Development session sql
Member Avatar for thines01
0
190
Member Avatar for MasterGberry

Title may be a bit off, but I am having issues trying to form this last function. I created a simple sorting algorithm for a list of ints I have for a project, now the ints are from the min to max. I know the size and have a pointer …

Software Development algorithm c++
Member Avatar for mrnutty
0
199
Member Avatar for m4_prashanth

Hi there, I was trying to edit a excel document and save under different name and my coding for this is as follows. [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Open Dim MyExcel As New Excel.Application MyExcel.Workbooks.Open("C:\Test\WalkAir.xlsx") 'Extract MyExcel.Sheets("sheet1").Activate() MyExcel.Range("A99").Activate() MyExcel.ActiveCell.Value = TextBox1.Text MyExcel.SaveAs("C:\Test\alkAir.xlsx") MyExcel.Workbooks.Close() …

Software Development microsoft-office vb.net
Member Avatar for Reverend Jim
0
612
Member Avatar for thedonedeal

I currently have two stopwatches ( running in a VB 2010 program. What I would like to do is combine their values together and have their results outputted in a string formatted as 0:00:00. I tried the Add method and the + method but this fails. This is in short …

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
174
Member Avatar for nairulhadri

When i try to input this data: 11 jack 90 22 mike 99 the result will be on the attachment. [CODE]/*Create a sequential file*/ /*"w" is a made for creating a file for writing*/ /*if the file already exists, it will discard the current contents*/ /*%s stands for string is …

Software Development c file-system
Member Avatar for WaltP
0
226
Member Avatar for khizer03

Hi Every body by seeing this video i tried but it is not working [url]http://www.youtube.com/watch?v=kg-z8JfOIKw[/url] i used shockwaveflash to play a movie but when i execute only a blank screen will be their it is not playing the movie guide through the code really i am confused totally

Software Development vb.net
Member Avatar for codeorder
0
121
Member Avatar for thedonedeal

I figured I'd ask this here before I go back to other sites. I'm trying to dynamically create a set of stopwatches and buttons. Each stopwatch will be controlled by a button which is also dynamically created. However, each time I code it, I always ended wiring both buttons to …

Software Development vb.net visual-basic
Member Avatar for thedonedeal
0
399
Member Avatar for ddm

Write a program to accomplish the following tasks: 1. Generate arbitrary number of random integer numbers between [0-100] 2. Save or load the numbers from/to a text file based on user option 3. Search the generated list for an arbitrary number entered by a user 4. Use Linear and Binary …

Software Development algorithm c c# c++ file-system
Member Avatar for WaltP
0
698
Member Avatar for Gsterminator

Hey everybody! So my problem is the very last part, getting the results of my calculation. So what i've done is created a stack with my very own stack class. The = button is suppose to display the result but i get a runtime error. Please help me out. Oh …

Software Development gui java java-swing
Member Avatar for Gsterminator
0
2K
Member Avatar for Dexxta27

I have to make a small paint program using the GUI. I need to know how to use the combo box. I know I have to make an array with the list of colors but I don't know how to add it to an action listener and choose the items. …

Software Development gui java java-netbeans
Member Avatar for Dexxta27
0
2K
Member Avatar for vic s

hi, my name is vic...i got one problem cannot fix....output for the number of times each of the tasks has been invoked...i run 3 times each of the tasks but the output always is this program has run 1 times..... #include<stdio.h> #include<stdlib.h> void doTaskA(){ printf("Start of Task A\n\n"); int input_1, …

Software Development c++
Member Avatar for vic s
0
188
Member Avatar for Yarra

[B]Ok so i have a program using JFrame when ever i add more than 2 classes in the frame one disappears? How can i add more than 1 class with one of them to dissappear?[/B] [B][I][U]Tester Class[/U][/I][/B] [CODE]public class TestYourFace { public static void main(String args[]) { JFrame frame = …

Software Development java
Member Avatar for mKorbel
0
177
Member Avatar for slbreaul

Hi all- I'm working on an assignment for class and I would like some help. I have to create a calculator. In order to do the calculation, when the math operator is entered, there is a space on either side, so that I can split by the white spaces. [code] …

Software Development vb.net
Member Avatar for Reverend Jim
0
148
Member Avatar for shibuvarghese

I created on Employee master form. The details which i enter in this form is saving to sql table. But if i use Wild characters example in Name field if i enter "Varghese D'Costa", then the following error comes : Line 1: Incorrect syntax near 'Costa' Unclosed quotation mark before …

Software Development sql vb.net
Member Avatar for Reverend Jim
0
2K
Member Avatar for Ajantis

Hello :) I am creating a simple client/server file sharing application which I run on same computer. Mine. :) I wish to make the client be able to get a certain file by letting user type "get filename" in the console. When they do, and the server responds, the server …

Software Development client-server file-system java
Member Avatar for NormR1
0
314
Member Avatar for Rimojenkins

Hello. I am working on a data structures program that should be quite easy, but after programming in assembly language using mips, I forgot a little bit of C++ and can't remember how to do this. I've used my googlefu for at least 2 hours and still have this problem. …

Software Development c++ data-structure linked-list
Member Avatar for Rimojenkins
0
176
Member Avatar for Stefano Mtangoo

Hello all, I need some help to get all wxpython methods that associate widgates. I mean ALL methods for wx.Button, wx.Frame etc. I will appreciate if I will get something like pdf version but anything or Idea is welcomed Thanks and regards Steve

Software Development pdf python
Member Avatar for joryrferrell
0
124
Member Avatar for inspire_all

[CODE]#include<iostream.h> #include<conio.h> struct marks { int a:3; int b:3; int c:2; }; int main() { clrscr(); marks m={2,12,5}; cout<<m.a<<m.b<<m.c; getch(); return(0); }[/CODE] o/p is 2-41 i got how 2 and 1 came but didnt get how -4 came. according to me it should have been binary for 12=1100 b can …

Software Development c++
Member Avatar for MandrewP
0
121
Member Avatar for arson09

Can anyone help me get a more clear understanding for what it is exactly that the assignment is asking me to do?? For example, what exactly is supposed to be in the first function, am i doing the testing in the first function or the generator? It's not clear to …

Software Development python
Member Avatar for woooee
0
238
Member Avatar for SaimaAsif

Hi, I have a program which is almost working now further implementation wants a records to store different entities and to create their relationship. I don't want to create the new forms what would be the best and easiest way of doing this. Any help would be highly appreciated. Best …

Software Development c++
Member Avatar for SaimaAsif
0
148
Member Avatar for joryrferrell

It starts off fine, after starting the countdown function and pressing the Action button, it causes the program to freeze. [CODE] import wx import time class LeftPanel(wx.Panel): def __init__(self, parent, id): wx.Panel.__init__(self, parent, id, style=wx.BORDER_SUNKEN) self.text = parent.GetParent().rightPanel.text self.text_2 = parent.GetParent().rightPanel.text_2 button1 = wx.Button(self, -1, 'Count', (10, 10)) button2 = …

Software Development python
Member Avatar for joryrferrell
0
160
Member Avatar for freakybeavis

I'm having trouble figuring this out. I have 3 jlists and each one has a textbox and a "add" button so the user can enter text to be added to the list. I have read probably a dozen webpages or forum posts on this and all have pretty much the …

Software Development java
Member Avatar for freakybeavis
0
237
Member Avatar for sagarnarasgonde

Please help me for creating C libraries

Software Development c c# c++
Member Avatar for Moschops
0
168
Member Avatar for Abysinian

Hi there, I have an assignment for University that requires me to use a grid of buttons in any way I want to create some sort of game. I've chosen to make mine like a Bandit machine: [LIST=1] [*]Press "Spin!" Button [*]3x3 Grid Of Buttons Randomize Their Colours (Either Red, …

Software Development
Member Avatar for Abysinian
0
127
Member Avatar for honeybee2090

i i have a listbox and 1 button in my application thing i want is when i click on some listbox item auto press that button or when i click on some item in list box it remove selected items from list box just with mouse click

Software Development vb.net
Member Avatar for honeybee2090
0
87
Member Avatar for ringo_tech

hi there, i want to implement a server that receives voice packets from many clients then send these packets to all the clients so that the clients are communicated to each other through the server. how i can send the received packets to all the clients? any good tutorials or …

Software Development java
Member Avatar for DavidKroukamp
0
2K
Member Avatar for ndrichim

hello there. i have a two dimensional vector. int numbers[][]=new int[5][4]; i want to find if elements of row numbers[1] are equal to elements of row numbers[2]; i wrotted this code; for(int i=0;i<5;i++){ for(int j=0;j<4;j++){ if(numbers[i][j]==numbers[(i+1)][j]{ System.out.print(numbers[i][j]); } } }

Software Development java
Member Avatar for NormR1
0
519
Member Avatar for kalcio

hi i have a problem with my interface,i want to I want when I hit the button, the progress bar goes off, so I have not found where is the problem in my code is that any one can help me and thank you. import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JProgressBar; …

Software Development java java-swing oracle user-interface
Member Avatar for kalcio
0
140
Member Avatar for javalover

Am programming in java to create a game for snake and ladders.. I decided to keep the numbers in grid and now i want to place the snakes and ladders on the design .. I dono how to do that .. Can any one help please .... Thanks in advance..

Software Development java
Member Avatar for NormR1
0
332
Member Avatar for bkribbs

I've looked, but I'm sure I am missing this. But I have two files. I have a python one, and a bash command? (I think thats right? Its a file that I can execute and makes changes but isn't a script?) But I want to launch it from the python …

Software Development python
Member Avatar for ihatehippies
0
139
Member Avatar for kmlila

#include<stdio.h> #include<stdlib.h> void main() { double count = 0; int input = 0; int sum = 0; float average=0; while ( count < 20) { printf("Please enter integer number : "); scanf_s("%d" , &input); sum = sum + input; count = count++; } average = sum / count; printf("The total …

Software Development c++
Member Avatar for kmlila
0
133
Member Avatar for Alex_2011

Hi, I am learning about the search capability in an array. I wrote a code that stores three names (first & last) and I want to: - Make the user select a number (from 1-3) by using a (combobox) - If the user select the proper number then a message …

Software Development vb.net visual-basic
Member Avatar for Alex_2011
0
331
Member Avatar for swy

I'm trying to read in the following text file: Jim Nasium mgr Fitness & Leisure 45000 Lazy Susan mgr Home Furnishings 55000 Gene Theory mgr Fine Jewelry 10000 And I have the following code: public abstract class Employee { private String name; private double grossPay; private double netPay; private final …

Software Development java oop
Member Avatar for NormR1
0
227
Member Avatar for razakhan

Hello. I was writing a java code for class and I was unable to figure out how strings and sub-strings work. Can anyone provide some insight on the program. Here is the problem: Given a bit string expression, such as 10110 OR 11101, evaluate it. Input: Each string represents a …

Software Development java
Member Avatar for NormR1
0
336
Member Avatar for DaniFollower

help me with this please Write a program that thoroughly tests the robustness of a bank account class, which must have the following attributes: • Account Number • Account Name • Balance You must produce the account class with its associated attributes, constructors, destructor, accessors and mutators. You could start …

Software Development c++
Member Avatar for DaniFollower
0
96
Member Avatar for sharathg.satya

which one cannot be considered as a counter variable? [CODE] counter = counter +1 counter = counter -1 counter = counter +3 counter = counter *2 [/CODE]

Software Development vb.net
Member Avatar for sharathg.satya
0
90
Member Avatar for jackbauer24

I know this is a pretty silly question, but what is exactly an object instance variable? To explain what I mean, take two classes:- [CODE=Java]public class Duck { boolean hasAtail; double height; public void go() { System.out.println(hasAtail + " " + height); } } public class DuckTestDrive { public static …

Software Development java
Member Avatar for DavidKroukamp
0
231
Member Avatar for 47pirates

i have a username and password login box when i send data to the socket its fine but when i print the same data from socket then extra bit is added a head of username. why is it so...please suggest

Software Development java
Member Avatar for JamesCherrill
0
105
Member Avatar for rushikesh jadha

how to include database files into my source code package.

Software Development java
Member Avatar for peter_budo
0
113
Member Avatar for rushikesh jadha

when i run my code using IDE it run fine but when i run it using command prompt it show following errors Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Administrator>cd\ C:\>cd bank2 C:\bank2>javac *.java CurrentTransaction.java:2: error: package com.mysql.jdbc does not exist import com.mysql.jdbc.Connection; ^ CurrentTransaction.java:3: …

Software Development api ide java microsoft-windows windows-api
Member Avatar for rushikesh jadha
0
264
Member Avatar for mr_noname

Hey. I'm pretty new in Python. I'm trying to read from my file all the content and put it in a string. My file looks: 1 string1 2 string2 10 string 3 and I want to obtain: ["1", "string1", "2", "string 2", "10", "string3"] using this: [CODE] def read(self): file …

Software Development python
Member Avatar for snippsat
0
269
Member Avatar for toferdagofer

import javax.swing.*; import java.awt.*; import java.awt.event.*; public class TheatreRevenue extends JFrame { /** * */ final double percent = .20; double adultCost; private JTextField label2; private JTextField label4; private JTextField label6; private JTextField label8; private JButton button1; private final int WINDOW_WIDTH = 400; private final int WINDOW_HEIGHT = 200; /** …

Software Development gui java java-swing
Member Avatar for DavidKroukamp
0
1K
Member Avatar for harinath_2007

Hi , I have speech synthesizer java program. It is running fine when i run it from netbeans. But when i build the project and run the jar file , it's not working. The entire program is running fine in the jar file (i.e displaying window , doing stuff etc) …

Software Development java java-netbeans
Member Avatar for DavidKroukamp
0
784
Member Avatar for inspire_all

i am a c++ beginner and i did not get the concept of virtual functions in polymorphism i am not getting the following lines [QUOTE]virtual function has an important advantage over simple overloading .if a particular member function is not defined for any derived class but is called through derived …

Software Development c++
Member Avatar for inspire_all
0
141

The End.