132,726 Archived Topics
Remove Filter ![]() | |
![]() | 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++ |
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++ | |
[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++ | |
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 | |
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 | |
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++ | |
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++ | |
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++ | |
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 | |
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 … | |
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 | |
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 | |
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++ | |
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 | |
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" … | |
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++ | |
| |
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 … | |
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++ | |
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 | |
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++ | |
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 … | |
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 | |
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 … Software Development c++ client-server visual-studio windows-server | |
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++ | |
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 | |
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 | |
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 | |
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 … | |
How can we delete a particular RegistryKey from the registry I want to delete it when the application get closed Software Development c++ | |
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 | |
[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 | |
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 | |
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 | |
is it possible to import java and c++'s compiler to VB? Software Development visual-basic | |
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 | |
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 | |
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? | |
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 | |
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 … | |
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 | |
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++ | |
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++ | |
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 | |
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++ | |
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 |
The End.