132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jatinder_44

How to copy data from serial port to notepad,by the save button on the form without calling notead to write it in ,can we directly place the data to notepad from textbox which receving data. thank u wating for reply

Software Development visual-basic
Member Avatar for QVeen72
0
1K
Member Avatar for shaqnolysis

Lemme first greet all my beloved fellows and i would love to give you all credits for helping each other with problems concerning java!!! I have a problem with listening methods in my code.the only respond i get is the exit part of my buttons....please i would be happy to …

Software Development assembly gui java java-swing
Member Avatar for shaqnolysis
0
151
Member Avatar for jackskell26

Hello All. This program lets the user select any three points within the applet window and draw a triangle. It then prints out the perimeter of the triangle and the area of the triangle. After the user has selected three points, you should then be able to click a fourth …

Software Development java
Member Avatar for jwenting
0
205
Member Avatar for Benimaru025

Hi This is how my input file looks like and i while loop is sorta messed up, i'm a newbie, can someone give me a lil help? Input file: Iron Man 90 80 70 -1 Captain American 90 80 70 60 -1 Spider Man -90 Phil O'Sophy 72 81 63 …

Software Development c++
Member Avatar for WaltP
0
144
Member Avatar for inflex

Hi Everybody, I wrote below codes which check textfiled and comco box for equals. But i want write a integer in textfiled and check it with combobox; For example When i write in texfiled 10 in the 10. on combobox is Balıkesir so if i select Balıkesir it's true but …

Software Development java java-swing
Member Avatar for jwenting
0
167
Member Avatar for toko

Okay, i am very new to Visual C++ and i understand the design and stuff but what i don't get is where do you put the actual c++ code to tell each thing what to do? And by the way does anybody know a good visual c++ tutorial??

Software Development c++ microsoft
Member Avatar for sagedavis
0
116
Member Avatar for Koldsoul

I am now writing a new program, a modification of a program I have done before but now with arrays. It is a currency conversion program that converts four currencies. User inputs the starting currency and the program will display all four of the currency conversions for the amount the …

Software Development c++
Member Avatar for Ancient Dragon
0
164
Member Avatar for dblbac

i received some help but when i implimented it into the program it came up with an error. if anyone could help me fix this problem i will greatly appreciate it. here is the program. it is a guessing game. the error message says: error C2064: term does not evaluate …

Software Development c++
Member Avatar for Ancient Dragon
0
126
Member Avatar for SergioQ

Well, am new here, so I really hope I am in the correct forum. My question is both simple and confusing at the same time, but please humor me. It goes like this: My website is mostly Perl and when someone logs in, I record the session in a database, …

Software Development perl session
Member Avatar for KevinADC
0
117
Member Avatar for megan-smith

Hey, I've written a tic tac toe program. Computer makes some random moves, but i want it to be smarter and make some intellegent moves. any idea how to approach it? here's the code i've written. Although it's not that high-level, it's working fine. [CODE]#include<stdio.h> #define BOARDSIZE 9 #define USER …

Software Development c
Member Avatar for WaltP
0
175
Member Avatar for sean25hun

Create array for which each object can hold integers in the range 0-100. You input a few numbers say 1 3 5 they are displayed as 0 1 0 1 0 1 0 0 0 0 up to 100.I can do a simple loop of zeros up to 100 but …

Software Development c++
Member Avatar for Lerner
0
81
Member Avatar for chris53825

A friend of mine wanted to see if I could figure this out.. and it's driving me crazy!! Maybe I'm just over thinking it? Anyways, can anyone figure this out? Design an algorithm to sort a deck of cards with the restriction that the cards must be kept stacked in …

Software Development algorithm c++
Member Avatar for Salem
0
129
Member Avatar for Artmann

Hello. I'm studying Pascal in school atm and have come over a bit of a problem with a program I've been asked to write. The task is too make a calendar. My calendar uses an array with records too store data about the different days. The program uses a procedure …

Software Development pascal
Member Avatar for Artmann
0
1K
Member Avatar for mickinator

First of all, here's my codes: [code=java] public class SLLNode { protected Object element; protected SLLNode succ; protected SLLNode( Object elem, SLLNode successor ) { element = elem; succ = successor; } } [/code] [code=java] public class LinkedStack { private SLLNode top; public LinkedStack( ) { top = null; } …

Software Development java
Member Avatar for mickinator
0
200
Member Avatar for aclogics

Hi, I need to create multiple TXT files from splitting 1 single TXT file that should look something like this: xyz;0;12345;data;data;data;data xyz;0;12345;data;data;data;data xyz;0;67890;data;data;data;data xyz;0;67890;data;data;data;data xyz;0;54321;data;data;data;data xyz;0;54321;data;data;data;data Let's say the original file was like above, and named original.txt, I would like the resulting files to be like so with the program …

Software Development visual-basic
Member Avatar for NoobertGames
0
176
Member Avatar for eleonora

I am a python newbie and i have trouble with those 2 exercises: 1.A date of the form "8-MAR-85" includes the name of the month, which must be translated to a number. Create a dictionary suitable for decoding month names to numbers. I have to create a function which uses …

Software Development python
Member Avatar for eleonora
0
209
Member Avatar for sunrise2007

hi every body... i have problem in my project,and i need help to solve it the problem is :: i have string variable and i want to store two values in it one value is string that insert it by the user and another value is integer that is generated …

Software Development c++
Member Avatar for sunrise2007
0
158
Member Avatar for claudiu_is

Hello, first you need to know that this is my first Win Application made in C#!! I`m trying to draw some circles based on mouse left click coordinates but the circles disappear when I minimize the window, Solutions found on the internet didn`t helped me too much :(. Here is …

Software Development
Member Avatar for InfiNate
0
106
Member Avatar for Elektro

:o does anyone know how to write this for me i have no idea i need help Outline: Java is a powerful Object Oriented Programming (OOP) language specifically designed for use with the internet. However, this makes learning Java fairly difficult. So we will start with a simple (text-based) program. …

Software Development display java oop
Member Avatar for masijade
0
366
Member Avatar for cl3m0ns

I have int x I would like to fill it with a randomly generated number between lets say 6 and 10 I know that x = 1 + rand() % maxRange; will limit the maximum range but i would also like to limit the minimum range. How do i put …

Software Development c++
Member Avatar for joshua.tilson
0
151
Member Avatar for pukepuke

I need a program that generates a nxn matrix with random numbers, but they're not completely random. They must be delimited in -20,0 < x < 20,0, for example, but all i searched for the Random functions in pascal says that it produce numbers in a interval starting in zero...so, …

Software Development pascal
Member Avatar for Artmann
0
182
Member Avatar for guitarrick

Hello, I am new to C++. I have read the warnings about homework and do TRY.... I am an older student and have been trying to get this project going to no avail.... My first part of this code is attempting to create a grid of 16 playing cards laid …

Software Development c++
Member Avatar for guitarrick
0
197
Member Avatar for nosa2008

i need to write a C++ program to determine the real root of Ln X^2= 0.7 (A) using three iteration of the bisection method with initial guess of Xl=0.5 and Xu=2 (B)using three iteration of the false-position method with intial guess of Xl=0.5 and Xu=2. ANY KIND OF HELP WILL …

Software Development c++
Member Avatar for Ancient Dragon
0
101
Member Avatar for princestasnley
Member Avatar for princestasnley
0
92
Member Avatar for nathanrt

I'm trying to create a piece of C++ code which will only allow a user to enter odd numbers. If an even number is entered, the program must tell the user to enter only an odd number. Im comfortable with the whole output bit in the 2nd line above, but …

Software Development c c# c++
Member Avatar for Narue
0
3K
Member Avatar for 7233trebor

I am getting an error message "Exception in thread "main" java.lang.NoClassDefFoundError:Projectta import javax.swing.*; import java.awt.*; import java.awt.event.*; public class projectta extends JFrame { private static final int WIDTH = 400; private static final int HEIGHT = 300; private JLabel directionsL; private JtextField textTF, messageTF; private JButton submitB, resetB, exitB; private …

Software Development java java-swing
Member Avatar for masijade
0
340
Member Avatar for Paulville

Hi people! I´m working in a code with a friend! Both employ Linux Platforms, but he works in Suse, and I´m working in Kubuntu. Both distributions suppose to work with the GNU/Linux libraries. We work the code on his machine with Suse. And runs perfectly well! But in my Kubuntu´s …

Software Development bsd c laptop pdf suse
Member Avatar for Paulville
0
746
Member Avatar for nsrivi

Hi, I have a problem while opening a VB application. The error message is [B]The instruction at "0x00409719" referenced memory ay "0x7c80be31". The memory could not be "written".[/B] I have tried debugging this error, rebooting the system and also re-installing VB. But the problem persists. Please help!! Thanks and Regards, …

Software Development visual-basic
Member Avatar for dilip_singh3
0
95
Member Avatar for Ali_110

hello im a new here and also i am a new student of C++ i have to make these programes in next 1 hrs can u help me in making these 3 programes 1: take input from user,check whether the given no. is even or not. 2:take input from user, …

Software Development c++
Member Avatar for Ancient Dragon
0
205
Member Avatar for manzoor

I coded a program its for temperature conversion its still not developed yet and I'm having a problem. Here's the code: [CODE]/* Software Name = Temperature Converter Calculator... Made by Manzoor Ahmed.*/ // Program that helps converting Temperature degrees. // Formulas obtained from wikipedia.org. #include <cstdlib> #include <cctype> #include <iostream> …

Software Development c++
Member Avatar for Ancient Dragon
0
118
Member Avatar for Pačo

Hello, could anyone please help me with this. I have a hardware connected to my PC via serial port. This hardware is sending me data (in HEX format). Now i would like this data save to a .txt file. Please help me. Here is my code so far...if anybody is …

Software Development c c++
Member Avatar for Pačo
0
122
Member Avatar for michael!

Is VB.NET an OOP? Is VB.NET an object oriented language (like its equivalent – c#)? Thanks.

Software Development oop vb.net
Member Avatar for tery
0
119
Member Avatar for people123

So I am learning arrays, and i was given a piece of code in my book here which basically finds the average, min, and max value of a set of numbers, but the thing i don't understand is, when you are finding out the min and the max why you …

Software Development c++
Member Avatar for helixkod
0
94
Member Avatar for Zay

hi; this for circular link list type , its to check whether a word is palindrom or not . it dosen't work ! can you check it this the insert function : [CODE]void InsertLast(const elemtype &Item) { Node <elemtype>*temp; temp=new Node<elemtype>; if ( temp==NULL) { cout<<"Full memory"<<endl; return; } temp …

Software Development c++
Member Avatar for Zay
0
146
Member Avatar for jmasta

Hello folks, I have a program that uses a linked list to implement a stack to convert a string from infix notation to postfix notation, and then to evaluate it. Well, the conversion part works just fine, but I have encountered a problem when trying to evaluate it. In my …

Software Development java java-swing linked-list
Member Avatar for jmasta
0
1K
Member Avatar for saravanarajan

Hi! Everyone I am doing one business project in VB.NET... that every form and controls validation are very important, please help me....I am beginner of the VB.NET, suppose to run the form, after finishing data entry to click EXIT button, to show the msgbox if 'yes' close the form, 'no' …

Software Development vb.net
Member Avatar for samiullah478
0
113
Member Avatar for talk2tisa

Hello, I am new to this board and C++, so I do not even know what encase code in [] means, but I will try. I have an assignment I have been working on for a week. I have consulted my book and the web, but I have been unable …

Software Development c++
Member Avatar for talk2tisa
0
113
Member Avatar for bluepiper

Im going to create a project with vb6 and ms access. I have to set password to open the DB for security. In vb6, how can i connect the database in data environment through data link properties setting the provider,database and the database password?? If I can do this, are …

Software Development visual-basic
Member Avatar for debasisdas
0
118
Member Avatar for tracethepath

i am making a menu driven program on linked lists. the program's display function is printing garbage values. i.e if n=3...i add three values and when the values are displayed the last entry is displayed and the rest two enteries are garbage values for eg. [QUOTE]MENU (Linked List) 1. CREATE …

Software Development asp c++ linked-list
Member Avatar for tracethepath
0
148
Member Avatar for gattispilot

I have this code. but I get this error: chariot1.cpp c:\orbitertest\orbitersdk\samples\shuttlepb\chariot1.cpp(235) : warning C4700: local variable 'speedvec' used without having been initialized I was told that the oapiGetFocusShipAirspeedVector(speedvec) initialized the speedvec. Not sure how to fix this. What I am doing . Is to determine which direction a vessel is …

Software Development c++
Member Avatar for vijayan121
0
106
Member Avatar for dblbac

when i try to build the solution for this program i get 4 warnings. they are: c:\documents and settings\mike\my documents\visual studio 2005\projects\practice\practice\practice.cpp(22) : warning C4244: '=' : conversion from 'time_t' to 'int', possible loss of data c:\documents and settings\mike\my documents\visual studio 2005\projects\practice\practice\practice.cpp(13) : warning C4101: 'ncount' : unreferenced local variable …

Software Development c++ visual-studio
Member Avatar for Lerner
0
212
Member Avatar for ChaseVoid

I just recently came across Shift Operators and it interests me. Though I'm beginning to learn more about it, I'm still a bit confused as where to implement them. However, the problem I'm facing is because of an example I found on [URL="http://msdn2.microsoft.com/en-us/library/336xbhcz(VS.71).aspx"]MSDN[/URL] [CODE]// expre_Shift_Operators.cpp // compile with: /EHsc // …

Software Development c++ visual-studio
Member Avatar for Duoas
0
304
Member Avatar for nyczalex

Hi, I'm quite new to the forums. This is my first year in this class so I have lots problems and is beginner. sorry about that. anyway, i am trying to look for help to help me with my next project which i need to due sometime next week.. I …

Software Development java
Member Avatar for nyczalex
0
150
Member Avatar for dantheman3141

Where can I find some really good tutorials for starting to learn java? Thanks Dan

Software Development java
Member Avatar for dantheman3141
0
77
Member Avatar for Ratte

I have a template Graph class which uses an adjacency matrix (array of singly linked lists). I need to be able to initialize the Graph with a size. I guess it is done this way? [code] template <class T, int SIZE> class Graph { } [/code] My problem is with …

Software Development c++
Member Avatar for vijayan121
0
134
Member Avatar for Java_P
Member Avatar for Ezzaral
0
52
Member Avatar for tarekkkkk

#include<stdio.h> #inculde<math.h> int main () { int R,n,A; float S; printf("plz give me the value of N elements:"); scanf("%d",&n); printf("plz give me the value of the first term A:"); scanf("%d",&A); printf("plz give me the ratio between 2 consecutive elements R:"); scanf("%d",&R); S=(pow(R,n)-1)*A/(R-1); printf("the value of the sum of a geometric …

Software Development c++
Member Avatar for tarekkkkk
0
113
Member Avatar for Noliving

Here is my code, all I need help with is getting the text to display in a graphics window. I have tried several different ways and I'm not getting any errors either. I bolded the part that I'm having trouble with. The other ways I have tried have been pounded …

Software Development algorithm display python
Member Avatar for vegaseat
0
120
Member Avatar for imran_s

[code=C] #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> int toAnyBase(int n, int toBase); // from base 10 (2nd) int toBaseTen(char array[256], int fromBase); // from any base (1st) int fromAnyToAny(char input[],int fromBase,int toBase); int main() { char input[10]; int fromBase=0; int toBase=0; int answer=0; int answer2=0; printf("Enter number :"); …

Software Development c
Member Avatar for Aia
0
4K
Member Avatar for emilio

hello i wonder if there is a way to return an array in function like in java lang for example: int[] ret (int i,int j) { int[] a = (i,j} ; return a ; } or can i ewturn a pointer to a new array? i need it for function …

Software Development c
Member Avatar for Duoas
0
99

The End.