Our Software Development forum encompasses topics related to native application programming design and development.

133,593 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for exekiel101

uhm sir... the program must be like this... ..awwwhelp me plsss the rows and columns must input numbers manually ...and the result will be like multiplication table... the outcome must be like this: number of rows?: 5 number of columns: 6 input rows: 2 3 5 1 0 input columns: …

Software Development c++
Member Avatar for prvnkmr449
0
148
Member Avatar for cnmsg007

[CODE]#include<iostream> #include<string> #define MAXnominees 3 using namespace std; class MemberData { protected: int ID ; char Name[20]; char Add[20] ; char Tel[15] ; public: void enterData(); void showData(void); }; void MemberData::enterData() //allow user enter member's particular { cout << "Please enter your Membership number: " << endl; cin >>ID; cout …

Software Development c++
Member Avatar for Software guy
0
186
Member Avatar for GMSI

I have windows XP version 5.1, SP 2. Tried installing Turbo C, on ruuning the install.exe, it does not take any input from keyboard. e.g. it says press Enter to continue. When I press Enter nothing happens. CAnt even close the install window. Have to kill it to close.

Software Development c microsoft:windows-nt-2000-xp
Member Avatar for Adak
0
814
Member Avatar for fat0ali0ma

hi guys!:) ....first I'm new friend for u :$:$:$:$ and for first time I wanna to tell u that I wanna some help ....:S ..In the programming java... I have a game and I want to finish it....who can help me ???:S:S:S:S thx alot u r friend touma

Software Development java
Member Avatar for fat0ali0ma
0
209
Member Avatar for PixelExchange

Hi everyone. I already know how to create a program using just one window.. but I'm having trouble creating a program with 2 windows. I used CreateWindow() to create my second window, however, my second window displays exactly what is on my main window! I figured the reason was because …

Software Development c++ microsoft:windows-api-win32
Member Avatar for PixelExchange
0
331
Member Avatar for eniine

How can i display unique number in a matrice . For example the matrice : 16483 23870 14509 26901 And this display : Nr: 0 -> 3 1 -> 3 2 -> 2 3 -> 2 4 -> 2 5 -> 1 6 -> 1 ......... . Plesae helo me

Software Development c++
Member Avatar for Nick Evan
0
268
Member Avatar for gudads

DEAR FRIENDS, I M NEW TO JAVA, PLEASE ANSWER MY QUESTIONS: 1. I am trying to use float and double in java? can u tell me how to use it? 2. I am trying to calculate simple interest in java ? please fix my code: public class simple { public …

Software Development java
Member Avatar for gudads
0
205
Member Avatar for Krs13

Hi, In vb i used data form wizard to create Master/Details form from a database. When i run that code i get a error in the below line: Private Sub Form_Load() [COLOR="red"]Set grdDataGrid.DataSource = datPrimaryRS.Recordset("ChildCMD").UnderlyingValue[/COLOR] End Sub It says Data error event hit err:[ADODC]: Unknown error. [ADO] then it says …

Software Development visual-basic
Member Avatar for AndreRet
0
304
Member Avatar for perryg30313

I have a program that I would like to implement using Threading. I wand to load a form that takes a couple of minutes to open using threading. Here is my code [CODE] Imports System.Threading Public Class frmAdjustments Function LaunchForm() As Integer frmNewAdjustment.SetReceive(CurrentUser) frmNewAdjustment.Show() frmNewAdjustment.Hide() LaunchForm = Nothing End Function …

Software Development .net:vb.net multithreading
Member Avatar for GeekByChoiCe
0
179
Member Avatar for James0l9l

Could someone help me write code for the game of life in python 2.6. I am a beginner to programming, and I know how to use lists and have functions from a function library that include: setupgame()- which creates a grid,state=isAlive(cell), num=countNeighboursAlive(cell)in the neighbourhood, newState=decideState(state,num) stating whether the cell should …

Software Development python
Member Avatar for TrustyTony
0
296
Member Avatar for xirosen

HI, can anyone help me pls on how to set the paper size of my datareport on printing. here is my code but it doesn't work. I don't know the reason why it does not work on me. Printer.PaperSize = 5 'SET TO LEGAL PAPER SIZE dr1.Orientation = rptOrientLandscape dr1.Show …

Software Development pc-peripheral:printer visual-basic
Member Avatar for AndreRet
0
275
Member Avatar for Agita

I have got a very simple video player wrote using Visual Basic 2010. I have embedded the windows media player into the app without the controls. Right now it has simple play, pause and open buttons that work with wmp . Can anyone explain how to make a slider that …

Software Development .net:vb.net video visual-basic
Member Avatar for trpsjt2008
0
145
Member Avatar for pythonbegin

Dear all, I have two columns in a tab-delimited text file. I want to randomly generate a pair of entries from column1 and column2. Example - Want to randomise following pairs so that each value will have different partner after randomisation. Actually I have a very big file with 5000 …

Software Development python
Member Avatar for pythonbegin
0
1K
Member Avatar for ROGENATOR

Greetings: That`s my question, until know i`ve been doing it by a batch file that i execute then read, is there a way to do it without the batch?, what i need is to list all of the Word (.doc) files of a given directory Thanks in advance

Software Development c
Member Avatar for prvnkmr449
0
221
Member Avatar for authi

import javax.swing.JOptionPane; class homework{ public static void main(string[]args) { String ipt,n,h,r,r2,h2,b1,b2; Double iptipt; JOptionPane.showMessageDialog(null,"1… of a Circle\n" + "2.Area of a Trapezoid\n" + "3.Volume of a Sphere\n" + "4.Volume of a Cylinder"); ipt = JOptionPane.showInputDialog(null,"Input your desired choice(1,2,3,4)"); iptipt = Double.parseDouble(ipt); if (iptipt == 1) ------ IF ELSE STATEMENTS WILL …

Software Development java:swing
Member Avatar for jon.kiparsky
0
133
Member Avatar for exekiel101

i cannot get the logic of this thing... i will input the number of rows example "rows=5" then "input the numbers = 2 3 8 9 7" what codes could i use???

Software Development c++
Member Avatar for VernonDozier
0
89
Member Avatar for AutoC

Hi, Here's my scenario. I am given records and the datastructure of each column in the records at runtime. A sample looks like this, [code] char[] | int16 | int32 | double abcd | 2 | 96 | 1024 ghi | 3 | 104 | 2048 [/code] I cannot predefine …

Software Development c++ data-structure
Member Avatar for Member #800963
0
139
Member Avatar for hag++

Hi All, I have been programming for a while, currently a junior CS student. Programming has always felt very natural to me and I pick up new concepts quickly and I generally retain most of what I learn. However, when it comes to converting between Dec/Bin/Hex as well as performing …

Software Development c c++
Member Avatar for Member #800963
0
200
Member Avatar for pleasecompile

Hello, can someone please assist with my application... An automation system collects 512 measurement points per sensor. Each measurement point has dedicated OPC tag which I can read using OpenOPC for Python. However, with multiple sensors, the OPC server can lag. So, the automation system programmer created an "array of …

Software Development c++ python
Member Avatar for pleasecompile
0
491
Member Avatar for NewAndClueless

Hi, I am new. I did my my best to read the rules first so please pardon me if i missed any. My qestion is in regards to filling up a matrix diagonally: "Write a method that accepts a square matrix. Assume that the size of the matrix is declared …

Software Development java
Member Avatar for jon.kiparsky
0
1K
Member Avatar for caribedude

Hi, I'm having some problems with this bit of code. I need to randomly open some files that have numbers as their filenames. i came up with this snippet to be able to open them from numbers 0 to 99. The code should randomly pick a number and try to …

Software Development c++ microsoft:windows-vista-7-8
Member Avatar for caribedude
0
302
Member Avatar for alonso_siang

hi i had develop a simple program using vb.net with ms access it run with no error on my local but if i put it on a share network i face a problem throw out by the system stating the error below "request for the permission of type 'system.data.oledbpermission,system.data,version=2.0.0.0, culture=neutral,publickeytoken=b77a5c561934e089'failed." …

Software Development .net:vb.net database-design
Member Avatar for alonso_siang
0
128
Member Avatar for blax00

hello I'm beginner on c#. I'm getting this error: System.NullReferenceException was unhandled and my code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using GittiGidiyor; using GittiGidiyor.City; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { [B]CityService cityservice = ServiceProvider.getCityService();[/B] cityServiceResponse response = cityservice.getCities(1, 3, "", "tr"); if …

Software Development .net:c#
Member Avatar for blax00
0
173
Member Avatar for JSpudMonkey

Can someone help me with my code? It compiles fine but when i run it it crashes after i input my lottery numbers. Im supposed to write a program that takes a input file with names and 6 numbers 1-50 and then the user is asked to input 6 random …

Software Development c
Member Avatar for Ancient Dragon
0
187
Member Avatar for Member #545322

I got the Segmentation fault error with the following code to concatenate two strings without using string library functions. [CODE] void string_concat() { int len1,len2,i,j; char inpt_str1[30],inpt_str2[30],concat_str[60]; /*Input string1 and calculate its length */ printf("\nEnter the String 1 : \n"); scanf("%s",inpt_str1); for(i=0;inpt_str1[i]!='\n';i++) { len1+=1; concat_str[i]=inpt_str1[i]; } /*Input string2 and calculate …

Software Development c
Member Avatar for Member #545322
0
138
Member Avatar for slingblade

I'm trying to mod a python script that reads the OS X Dock plist. I've never seen python code before this and I can't seem to figure out if I'm encountering a formatting error or a syntax error or both... Here is the original code snippet, which returns a formatted …

Software Development mac-software:macos python
Member Avatar for slingblade
0
186
Member Avatar for tron_thomas

I have a situation whereby I need to copy the contents of an STL vector into a memory buffer provided by the system. One might think that given: [CODE]std::vector<ObjectType> source; // Initalized to hold the objects ObjectType* target = reinterpret_cast<ObjectType*>(buffer); // Points to system provided memory buffer[/CODE] someone could do …

Software Development algorithm-pseudocode c++
Member Avatar for tron_thomas
0
664
Member Avatar for sutanu_halder

How to import Xml file into a table in MS-ACCESS database using Visual Basic 6.0? Please Help Me.....

Software Development visual-basic xml
Member Avatar for DWOffutt
0
2K
Member Avatar for mommabear

Hello again. For the current lab, we're working with strings and pointers. I'm trying to keep this one simple and get one step working right before I move on to the next. However, if I have subsequent issues with this lab, I'll just use this same thread rather and make …

Software Development c++
Member Avatar for mommabear
0
123
Member Avatar for falconwise

Original Problem I have an existing 2D array that is already filled with data for a matrix. I also have a structure that has a pointer looking like this double ** pointer. That being said. Here's a miniature version of the problem [CODE]#include <stdio.h> int main (){ int stuff [2][2]; …

Software Development c data-structure
Member Avatar for falconwise
0
146
Member Avatar for rtirak

Here is what I have to do. 1)Read integers from a file 2)If it cannot be opened, display an error message and exit the program. 3) Otherwise, read an integer from the file (there is guaranteed to be at least 1). 4) If that count is 0, display an error …

Software Development c file-system
Member Avatar for rtirak
0
191
Member Avatar for frogboy77

Hey there, this code was supposed to work out th GCD of 2 numbers added cout line in function and code seems to be running fine but it returns 4249024 instead of 29 this is probably a basic error on my part but can anyone tell me why? thanks for …

Software Development c++
Member Avatar for arkoenig
0
115
Member Avatar for Stefano Mtangoo

Hi, I'm trying to develop application with separation of UI/BL/DAL. I have read a lot of theories and I'm trying to develop a blue print for my application. I have no problem in UI thing. But I have problem with designing Data Access Layer. It will basically be a SQLite …

Software Development c++ sqlite xml
Member Avatar for Stefano Mtangoo
0
927
Member Avatar for angel392004

i'm currently working on my thesis e-voting system. and i need to modify my search candidate and search voter form. the data from my database is already loaded in my listview when the system. what i want to do is while i am typing in the search text box, at …

Software Development .net:vb.net listview
Member Avatar for Alexpap
0
2K
Member Avatar for PeDz08

Here's the problem... I want to create a table about the stack like this: [code] ((A+B)-C) Symbol Postfix Stack ( ( ( (( A A (( + A ((+ B AB ((+ ) AB+ ( - AB+ (- C AB+C (- ) AB+C- [/code] But i don't know how to …

Software Development java
Member Avatar for NormR1
0
113
Member Avatar for challarao

Hi! I wrote a program on iteration of numbers means-- if n=10 ---n=10/2=5 5 is odd so 3(n)+1 upto getting 1. Here is program [CODE]#include<stdio.h> main() { int i,n,c=0; printf("n= "); scanf("%d",n); while(n!=1){ if(n%2==0){ n=n/2; } else{ n=3*n+1; } printf("%d\t",n); c++; printf("%d\n",c);/*printing no of iterations of n*/ } }[/CODE] I …

Software Development c c++
Member Avatar for Ancient Dragon
0
160
Member Avatar for qwest21

Hi everyone I have to write client/server client/client chat program for at least three machines(users) connected together to chat using java My questions are 1. Do i need to have a server installed ina one of the machines. 2. Do i have to run the server side onf the application …

Software Development client-server java
Member Avatar for masijade
0
392
Member Avatar for glenak

Hey guys, I have two questions. I have a multithreaded server that is able to process requests from more than one client at a time. However, my server has a habit of shutting down after a while, despite that I have an infinite while loop to keep it accepting connections. …

Software Development client-server java
Member Avatar for glenak
0
207
Member Avatar for xiansen

You are to write a program that plays the game of “Guess the Number”. Your program is to randomly choose a three-digit number, allow the user to guess, provide feedback indicating if the users’ guess was too high or too low, and count the number of guesses the player makes. …

Software Development c++
Member Avatar for Duki
0
313
Member Avatar for MivanF

where i can download the c++ free???? :S

Software Development c++
Member Avatar for Nick Evan
0
125
Member Avatar for Rajkamalwin

//i am writing a code that read from a file and store words in an character array but //in the wriiten by me,it is compiling but not extracting words in the array. [CODE]#include<iostream> #include<fstream> #include<string> #include<string.h> using namespace std; int main() { ifstream fin; char ch; int j=0; string line; …

Software Development c++
Member Avatar for Ancient Dragon
0
107
Member Avatar for D33wakar

I was using winsound module for the first time to use it on one of my small app,and it didn't even gave me a BEEP!. I imported winsound module first. [CODE] >>> import winsound >>> [/CODE] then [CODE]winsound.Beep(37,10)[/CODE]leads to nothing! Any kinda help is appreciated.

Software Development python
Member Avatar for vegaseat
0
9K
Member Avatar for redyugi

I have recently redid an earlier version of my version of Pong. However, I am having a slight issue with it. Whenever the ball hits the opposing paddle and then hits the bottom, the ball travels along the bottom until the player paddle hits it. I have tried for days …

Software Development python:pygame
0
118
Member Avatar for kashy!

I have created a small app in VB.Net, Its was working well, I published it twice or thrice as well but now when I tried to publish it again I got following error, ________________________________________________________________________________________ Error 3 An error occurred while signing: Failed to sign bin\Debug\app.publish\\setup.exe. SignTool Error: ISignedCode::Sign returned error: …

Software Development .net:vb.net
Member Avatar for kashy!
0
683
Member Avatar for Empireryan

I am writing code for a guessing game program. The game is supposed to generate a random number, 3 digit number and let the user guess what it is, providing feedback for every wrong input. It is also supposed to perform 10 iterations, keeping track of the number of guesses. …

Software Development c++ gaming
Member Avatar for Fbody
0
551
Member Avatar for phouse512

Hello, I've looked all over for the solution to this problem, but they all present a similar solution to this one and they all don't work. I've created the JFrame in the constructor for the class that this method is contained in. [CODE] public void print() { JPanel panel = …

Software Development graphics:image java
Member Avatar for phouse512
0
91
Member Avatar for ozlem.a17

So i have to write a program that designs a basic Home CAD System. The user will be able to build a house, add/remove rooms and items, etc. I have began writing the program and all seems gravy, i decided to use an ArrayList for the list of rooms the …

Software Development java
Member Avatar for NormR1
0
155
Member Avatar for yap_1991

Hi all Im experiencing problems whereby my codes can only read one file instead of all files in my directory. Does anyone know anything regarding this? Below are my codes: [CODE]import java.io.*; import java.util.*; public class extractionn { public static void main( String[] args ) { File dir = new …

Software Development java
Member Avatar for NormR1
0
150
Member Avatar for GAME

How can I remove all the items of a list? I do not know any thing about how the items get indexed, thats why I cannot provide a better code except this.. [code] for (int i = 0; i < _Cars.Count; i++) { } [/code]

Software Development .net:c#
Member Avatar for Geekitygeek
0
123
Member Avatar for sabeeh ahmed

hii QUESTION: Take any 4 integers add them and print the first and last digit of the answer the restriction is that i can only use scanf command and data types.. I AM VERY THANK FULL IF SOMEBODY SOLVED MY PROBLEM

Software Development c
Member Avatar for sabeeh ahmed
0
108

The End.