132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nani_amb

hi.. i'm having trouble with my project.. i keep getting "Unhandled Exception" [code=c++] # include <conio.h> # include <stdio.h> class bank { float x; public: void deposit(); void withdraw(); void disp_det(); }; void bank::deposit() { float more; printf(" enter the amount to deposit: "); scanf("%f", more); x += more; } …

Software Development c++
Member Avatar for amitahlawat20
0
115
Member Avatar for aminit

Hello all: I create a simple source file in VC++ , I tried something simple,there is two strings: string1:MICROSOFTCPP string2:HELLO I want to write a code to make string2 is equal with string1,so it must be string1:MICROSOFTCPP string2:[COLOR="Green"]HELLO[/COLOR][COLOR="Red"]HELLO[/COLOR]HEL so it seem the string2 its repeat itself until it's length is …

Software Development c++
Member Avatar for amitahlawat20
0
120
Member Avatar for Code.n00b

[code=c++] #include <iostream> #include <cstdlib> using namespace std; double amountSold; double galSold; double price; int start; int pump; int main() { price = 2.85; galSold = 0; pump = 1; while(pump==1) { cout << "Sales Total " << amountSold << endl; cout<< endl; cout << "Gallons Of Gas Sold " …

Software Development c++
Member Avatar for WaltP
0
121
Member Avatar for afg_91320

hi. i am working on an assignment where i have a file that has a list of numbers. using those numbers, i should be able to create a program, where when prompted, i can find the mean of the numbers from that file, the biggest numbers, etc. the output would …

Software Development c++ file-system
Member Avatar for WaltP
0
95
Member Avatar for Run.[it]

When Im browsing with either internet explorer or firefox and I recieve an error I get a window popping up asking If I want to debug in visual basic. Im guessing there is a setting in visual studio to turn this off? debugging? Could someone advise, thanks kindly.

Software Development vb.net visual-basic visual-studio
Member Avatar for Run.[it]
0
131
Member Avatar for ngozinyeusi

im a biginner level in Visual C++ version 6.0 "how can i Write the Program ”Minesweeper”. On field by size NxM Computer by casual image places X mines. The user will alternately assign the number of cell but computer gives him amount of mines, residing in nearby cells. If and …

Software Development c++
Member Avatar for Lerner
0
229
Member Avatar for CBarr

Hi, I am trying to understand why this bit of code is performing the way that it is. I am a novice at C++ and missed this on my test. The teacher will not discuss anything from an exam so that leaves me to try and hash it out myself. …

Software Development c++
Member Avatar for CBarr
0
94
Member Avatar for Majestics

is their any way we can make int value into string

Software Development c++
Member Avatar for Majestics
0
73
Member Avatar for dreamgirl

Hello, well am just a beginner in c++ n my question is that how to you input in a void function the ranking of a student result?? Ive implement a program where we have to input the student marks and calculate the ranking/grading n calcutale the CPA? Can any1 provide …

Software Development c++
Member Avatar for Lerner
0
86
Member Avatar for toomuchfreetime

Hey Seem to be having a problem updating a JLabel updateScore() and don't seem to know why. this is effecting my keeping score. I know it something small but for life of me can't figure it out. Other JLabels have been up dated (see attachment for full programe) [code=java] import …

Software Development java java-swing
Member Avatar for Ezzaral
0
3K
Member Avatar for MasterDucky

Here's this program i write to uppercase proper nouns in a file. It opens three files: 1. is the file to uppercase. 2. is a list of proper nouns to uppercase. 3. is a list for proper nouns preceeding words that excludes proper nouns to be uppercased. I rechecked it …

Software Development c++ ios
Member Avatar for MasterDucky
0
150
Member Avatar for Time Indicator

Hi, Can someone help me with Listbox issue in Vb.NET. I have two listboxes and I want on a click function, to transfer selected items from listbox 1 to the listbox 2. How do I go about that? Thanks

Software Development vb.net
Member Avatar for Jx_Man
0
93
Member Avatar for Leonerd

Hey I'm new to Python and taking a class on it. To get started here is my homework specs [quote]Sequential Letter Search 1.You will design and implement a program that will: i.Accept as input a string of letters that will be looked up in another string. ii.For each of the …

Software Development python
Member Avatar for woooee
0
205
Member Avatar for artisabang

I know how to generate numbers like 1-20, 1-1000 etc... but Im trying to figure out how to generate random letters from A-Z? any help please?

Software Development c++
Member Avatar for WaltP
0
10K
Member Avatar for serkan sendur

Right click on your solution, select add new project. Expand other project types from the pop up window. Click Setup and Deployment tab, click Setup project, click ok after naming the project. It will start with opening file system window. Right click on application folder and select add > project …

Software Development
Member Avatar for happygeek
0
704
Member Avatar for madhusamala

i am getting a problem in updating my database. actually i am accessing two colums from my table and adding these two numbers , and the result i want to insert in the tables 3rd column The statement i am using to access two columns String str="select * from emp" …

Software Development java sql
Member Avatar for jwenting
0
124
Member Avatar for skatamatic

I'm having some problems dynamically changing the size of stucts. I know there must be a way to do it...but I guess it must be a bit different than with standard variables. I'll put up some code, maybe I'm just being dumb ;) [code=c++] struct SScore { char m_szFirstName[15]; char …

Software Development c++
Member Avatar for skatamatic
0
115
Member Avatar for bwjones

Can someone inform me on what the "-=" function does? thanks.

Software Development c
Member Avatar for WaltP
0
102
Member Avatar for cmoney12051

I suck at C++! like really badly, i just cant grasp it, and now i have to write a program for it that is suppose to input some values from a text file that would create like a gradebook thing. im also supposta use a void function, calculatedAverage to determine …

Software Development c++ ios
Member Avatar for cmoney12051
0
111
Member Avatar for jeffige

I was browsing around the web looking for C++ tutorials and I found The Game Institute. I have been thinking about taking their course- C++ Programming for Game Developers - Module I - Introduction to C++ Programming Basics. Has anyone heard any info about this course?

Software Development c++
Member Avatar for lAmoebal
0
121
Member Avatar for Asad__

hi, am brand new to VB. i have the same problem. i want to open a folder, say; C:\apache on clicking a command button on VB GUI. i have something like this: Private Sub Command1_Click() ShellExecute hWnd, "open", "C:\apache", _ vbNullString, vbNullString, SW_SHOWNORMAL End Sub but it gives compilation error. …

Software Development apache gui visual-basic
Member Avatar for Jx_Man
0
172
Member Avatar for matt999tye

I am trying to write a program using direct addressing and pointers on the number and create a 32 bit variable from 10136654 All operations will be done in 16 bit registers like ax, bx, etc. But how is this possible if it must go in 16 bit from 32 …

Software Development assembly
Member Avatar for matt999tye
0
118
Member Avatar for Jennifer84

This code should be complete but I cant get it what the problem is. It is a very strange thing that happening. I might need a professional eye to see if the problem could be found :) The problem is this: The mainthing is that I am using a for …

Software Development c++
Member Avatar for Jennifer84
0
120
Member Avatar for Barbarrosa

Hello, I am new to C#. What i am trying to do is this: I am taking a screenshot of my desktop (which i have done and stored in a file). Now all I need is to be able to define the parts of the image which I wish to …

Software Development c c# c++ image
Member Avatar for Ramy Mahrous
0
443
Member Avatar for DarkDot

Hey I'm using MIPS and created a Fibonacci program and am not sure that its working correctly. When I enter 1 it returns 1 like it should and when I enter 0 it returns 0 like it should. However when I enter a number that takes it into the Fibonacci …

Software Development assembly operating-system
Member Avatar for deco05ie
0
684
Member Avatar for Exenteth

Hello, I've been trying to develop a simple client/server application that uses the bluetooth USB dongles of 2 PCs using windows sockets and the bluetooth support provided in the windows platform SDK I can create the sockets fine, but when I go to invoke "bind" or "connect", the program spits …

Member Avatar for himanshu anand
0
296
Member Avatar for himanshu anand

this may be in any of the three lang i.e c,c++,java i have got the algo but not able to solve it :P the question is that there may be at most 50 ballons in 3D whose coordinats should be enter by the compiler and there is a shooter who …

Software Development c c# c++ java
Member Avatar for himanshu anand
0
168
Member Avatar for CoolFlame

Hi! I'm new to C++ programming. I learn some C++ from my friend, and now I want to learn my self and I don't know where to start. First things is I don't have a software or program to wirte C++. Can I get it free from internet? I think …

Software Development c++
Member Avatar for Necrolis
0
144
Member Avatar for majestic0110

Hi all, just two quick questions to tax your brains with! I am preparing for a job interview and would like to get these two things clear! Firstly, how can one find the upper limit of an array? Second, how can one change that upper limit? Thank you for your …

Software Development
Member Avatar for majestic0110
0
237
Member Avatar for Vega_Knight

Anybody know how to do this?? i really don't have idea with this. please helps. thx in advance.

Software Development pascal
Member Avatar for Jx_Man
0
189
Member Avatar for sonyb

Hello. This is my first time programming in any language so please excuse my ignorance. I am trying write a program that asks the user to enter any number 3 times . I have assigned a function that takes the number and outputs an answer . After the 3rd number …

Software Development java java-swing
Member Avatar for darkagn
0
85
Member Avatar for mattie5489

Hello, I am new to java. my problem is that i input a string, width and a delimiter and produce a "picture". For example, Inputs: String = AAACD*4baa Width = 3 Delimiter = ‘*’ Output: AAA CDb Bbb aa I have been having trouble with my code any help would …

Software Development java
Member Avatar for javaAddict
0
241
Member Avatar for Floh85

Hey, I just started to learn how to program in Windows and have a problem with the very first program. It's from a C Book I have, so i guess the code is alright. Error: undefined reference to `_Z7WndProcP6HWND__jjl@16' I'm using the Eclipse C/C++ IDE; libraries (gdi32.lib) are linked, -mwindows …

Software Development c ide
Member Avatar for Ancient Dragon
0
122
Member Avatar for harishankarb

How can we delete a particular RegistryKey from the registry I want to delete it when the application get closed

Software Development c++
Member Avatar for mitrmkar
0
102
Member Avatar for SPereira

Hi There, I need some help in VB 6. I have a textbox wherein I need to validate the data entered after the TAB key is pressed. Using KeyDown, KeyUp and KeyPress does not get me the KeyAscii of the Tab Key. It works fine with the Enter Key but …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
552
Member Avatar for suganzeni

[COLOR="Green"]HI Every body[/COLOR] I am working with VB.NET 2003 for smart device applications. Here there is no Link label tool. But i want to link a HTML file to my application. your suggestions will be very helpful for me. If you have any code samples just share it with me …

Software Development vb.net
Member Avatar for suganzeni
0
125
Member Avatar for eranga262154

Hi all, I want to dispose a JFrame using a click-event. So I simply do this on Netbens. [CODE] private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); } [/CODE] But it not work. Do you have any idea. I just want to dispose all the …

Software Development java
Member Avatar for eranga262154
0
150
Member Avatar for maharajakecil

hello anybody there, who know where to download afull version of vb 6.0. i'm need for my final year project... pleaseeee

Software Development vb.net
Member Avatar for maharajakecil
0
64
Member Avatar for shinoske

is it possible to import java and c++'s compiler to VB?

Software Development visual-basic
Member Avatar for Jx_Man
0
85
Member Avatar for prachi malpure

hello, v are the students of engineering and developing a project on speech recognition system. our system is just opening the applications.can anyone just help us so that v can create a agent that will train the system with different voices.if anyone can give us the code it will be …

Software Development engineering visual-basic
Member Avatar for Jx_Man
0
228
Member Avatar for KimJack

Hello All, I am trying to use an image as a background. I am working with perl through putty .58 and am wondering how to get an image into a specific location in putty that can be used in a perl webpage? Thanks,

Software Development perl
Member Avatar for jephthah
0
285
Member Avatar for crazylunatic

I have this script which uses the Net::FTP module to copy some files to some remote machine.It works fine with every file but a xml file.My application requires that the timestamp of the xml file doesn't change but the ftp script changes it.Is there any way around it?

Software Development perl xml
Member Avatar for jephthah
0
124
Member Avatar for evios

i'd created a game, now thinking of adding background music to it, however i'd tried the codes below..n unsuccessful, anione know what is the mistakes? Thanks a million. [code]Public Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long ' ' sndPlaySound constants …

Software Development visual-basic
Member Avatar for Jx_Man
0
109
Member Avatar for asrekdal

Hi, working with the 're' module I am having some difficulty figuring out simple RE. here is the code. p = re.complie('amb') m = p.match("mamba") print m.group() according to the following documents ... [url]http://www.amk.ca/python/howto/regex/regex.html#SECTION000300000000000000000[/url] [url]http://gnosis.cx/publish/programming/regular_expressions.html[/url] there should be a pattern match like... 'amb' but I am getting 'None' back. Can …

Software Development python regex
Member Avatar for asrekdal
0
153
Member Avatar for bwjones

My buddy runs this program fine in his C++ editor but when I run it in Cygwin after I enter 3 temperatures I get this: [B][U] 7 [main] a 26966 _cygtls::handle_exceptions : Error while dumping state (probably corrupted stack) Segmentation fault (core dumped)[/U][/B] Everything seems to be syntactically correct from …

Software Development c
Member Avatar for bwjones
0
109
Member Avatar for sulabh

I have a c++ com code with source code now want i want to do is use the public class of that source code in my project( similarly the way in which we can add dll in c# and get acces to public class) .The class are not exported also …

Software Development c++
Member Avatar for sulabh
0
79
Member Avatar for sfurlow2

Here's a problem we were assigned for homework. It deals with functions, and I'm not entirely sure how they work. The problem is : 1. Write a program that calls the following function. ///////////////////////////////////////////////////////////////////// // function: print_splash // // formal parameters: none // // preconditions: none // // return value: …

Software Development c++
Member Avatar for sfurlow2
0
73
Member Avatar for Agita

Hello, I know basically nothing about programming but none the less I have chose to play with VB2008 just the same. I read learn Visual basic in 24 hours, didn't do me any good..(other than learning random info) All I want to do is make a application that links to …

Software Development visual-basic
Member Avatar for Agita
0
137
Member Avatar for Havik82

Does anyone know of any good C++ software that is free and worth the download? Thanks for Replies!! (if any) :icon_wink:

Software Development c++
Member Avatar for technogeek_42
0
179
Member Avatar for jobob64

The compiler gives me a error C2955: 'Node' : use of class template requires template argument list. Some one wanna look it over and gimme some tips? [code] //list.h #ifndef LIST_H #define LIST_H #include "node.h" #include <iostream> template <typename T> class List { private: Node * m_head_node; Node * m_current_node; …

Software Development c++ linked-list
Member Avatar for jobob64
0
111

The End.