43,549 Solved Topics
Remove Filter ![]() | |
Hi, I am very new to this forum and i have a problem with my C assignment. Im using Borland C++ 4.52 and i keep getting an error saying: General Protection Exception 0x241F:0X41C1 NONAME02(1)0X241F:0X41C1 Processor Fault It not the computer its the code at least thats what i figured because … Software Development c++ | |
the typical question which ask user to display THIS * ** *** **** ***** ****** ******* ******** ********* ********** using a single cout<<"*" & cout " " with the help of [B]for loops ONLY[/B]. :) ive come to this this prgram but can anyone tell me where i am going … | |
it's really frustrating to be looking in my textbook and see something like [CODE]void apd(vector& a, int j, int n) for (j = vector[a]; n > j; j--) j++; [/CODE] I would change it to something like [code] void functionName(vector& theArray, int position, n target) [/code] that way I know … Software Development c | |
I need some help, what would everybody out there recommend for a C++ Compiler. I am thinking about paying $110 for Visual C++ "Standard". Does anybody know if this software is great and what are the best features of it. Other recommendations are also welcome. | |
im studying programing fundamentals. I dont know what is the commands and syntax of c language..can u give me some information and tutorials about this c language....coz, i can't find any website about c language, is there any tips on creating basic programs..thnks!!!!! | |
hi everyone i have been using ict for about 6 years now and want to learncomputing e.g programming and was wondering where to start becaause people post codes and i have no idea what they are on with and was wondering if there is any good sites where u can … Software Development c++ first-post | |
hai can anyone please tell me whether it is possible to make graphics work in borland c++? thanks Tresa Software Development c++ | |
I dont know what they mean by undetermined character constant [code] #include <iostream.h> #include <stdlib.h> class student { char st_name[25]; char st_major[25]; int i_test1; int i_test2; int i_test3; int i_average; char ch_grade; char ch_option; public: void getdata(); void processdata(); void putdata(); }; int main() { do{ student.getdata(); student.processdata(); student.putdata(); cout … Software Development c++ | |
I found this neat little GUI calculator program on the net. It uses a function called _gcvt(double val,int limit,string cBuf), which seems to be used to convert a double val to a string cBuf, with some formatting and limiting. I replaced it with sprintf(), but the output looks rather crude … | |
Please i want the code of the function which could get the serial number of the Hard-disk of any computer Please Can anyone help ? Software Development c | |
Hi there. Im new to C++ programming, but I know my way around Delphi. I'm doing a project that must be made in Borland C++ Builder. My problem is right aligning items in TListBox and TComboBox. Any help would be appreciated. kv.TSverrir | |
I've been working on this for hours I know the errors are staring me in the face but I just can't see them. Any help would be greatly appreciated. //prb01-1.cpp //This program calculates the total surface area of a pool #include <iostream.h> #include<iomanip.h> //using namespace std: int main() { const … | |
hi... im a bit new to this forum. i saw it on google and decided to join up... im working on a calender like program for my computer science 102 course. the parameters are as follows: Make a program that, when given the mm/dd/yyyy, can decide what DAY the user … Software Development c++ first-post google | |
:rolleyes: This is a program where the user enters how much they owe, then they enter how much they are gonna pay, like (30 dollars for a $25.63 amount), and their change is calculated back to them in ten dollar bills, five dollar bills, one dollar bills, quarters, dimes, nickels, … Software Development c | |
I have tried various break statements and I cannot get my program to break correctly. Original program is a nested loop asking user for input for either an ascending or descending triangle. That works. But when I try to add a break, it either runs after entering how I want … Software Development c++ | |
I fixed the whole program. :twisted: . I compiled it after each step to make sure there were no errors, if so I corrected them. :mrgreen: . I do, however, have 2 questions. :?: . How do I get the highlighted lines [COLOR=Red]below[/COLOR] to center above the [COLOR=Red]****************[/COLOR] :?: And … | |
can someone explain to me what does below code do?? [PHP]keybd_event(VK_MENU,0x38,0,0); keybd_event(VK_RETURN,0x1c,0,0); keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0); keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0); [/PHP] Software Development c | |
hi. more or less a stupid question, but anyway.. why have a 'finally' statement in java exception handling -why not just clean up in the 'catch' clause?? is it for when an exception cannot be caught?? if not, then 'finally' seems a little redundant to me.. cheers. :eek: Software Development java | |
hi, my next button displays next record from the database. But after i save a record, next button don't work. Im not sure but is the next button not working because the resultSet needs to be refreshed after saving a new record? I have created the statement and resultSet in … Software Development display first-post java sql | |
hi guys, Anybody tell me a site where free system available on C language. Thanks in Advance, Sanir | |
Hi i have a problem linking upthe files main.cpp tree.cpp tree.h and list.ct really do not know how to complie with list.ct whats the ct ? anyway inside the list.ct, are templates. it reflect linking problem.. i.e. [Linker error] [B][I]undefined reference [/I] [/B] to `Tree::cleanUp()' [B] Question:[/B] what should i … Software Development c++ | |
#include<stdio.h> #include<conio.h> #include<string.h> FILE *fp1, *fp2; int count; struct record { char name[20]; int empnum; char depart[20]; float hours; float rate; }; void main() { struct record h; int acount=0,adcount=0,scount=0; float grosspay,totalg=0; float tax,totalt=0; float health,totalh=0; float pension,totalp=0; float netpay,totaln=0; float deductions; clrscr(); fp1=fopen("employ.dat","r"); fp2=fopen("payrol.dat","w"); count = 0; printf(" ""Page1\n"); … Software Development c | |
This might sound silly. But I'm working on a C# assignment for school right now, and I can't get a simple if-else statement to work. Isn't the syntax the same as in C++ or Java? I want to do one thing if a boolean variable is true, something else if … Software Development c# | |
Recently we have been asked to create a hybrid sort based upon quicksorting down to a certain point and insertion sorting from then on. We are to calculate the efficency based upon previous tests. I had very little problems implementing a quicksort algorithm, but for the life of me, I … | |
Is there a way to change the button's shape from rectangle to circle like those in Windows Media Player ? :?: Software Development c | |
[B]Is it possible to convert from VB code to C and what is the best way to do this?[/B] Software Development c | |
i havent been able to find anyone to help me .... i am looking to create a queue .... i cant use a stack, as that is LIFO (last in, first out) ... but i need a FIFO (first in, first out) .... i have some code for a stack … | |
Hi! I had 1 problem in C, now I have another one. :o Please bear with me. I am learning the C language. Please run the following calculation in a scientific calculator. When the "=" sign is shown at the end of the calculation, be sure to press the = … Software Development c | |
#define ENDFILE "CTRL-Z" this end the file whenever the user enter CTRL-Z what i need, i want the user 2 enter CTRL-X to end the program #define ........ "CTRL-X" ( what could i write here) so the program end whenever the user press CTRL-X Software Development c | |
In java, how do you input something from the keyboard - the standard way(don't import anything - or add a file) Thanks! Software Development java | |
how do i make the number of my textfileds dynamic? the number of my textfield depends on the parameter passed through the method `setDetailsPanel(int s)`. the variable s determines the number of textfield i need. i'm having this type of error. i don't seem to get the reason why. D:\Program … Software Development java java-swing | |
What's the coolest program you've ever written in regular C++, not Visual C++? Software Development c++ | |
hi im new to c++ (started today) and im reading a book about c++ (called C++ Programming A) Well i started to read and learned the first code and wrote it in Microsoft Visual C++ and i get a error (error C2065: 'cout' : undeclared identifier) i dont know why … Software Development c++ first-post microsoft | |
Could anyone give me a hand with my mock exam, i'm on msn - [email]get_jiggy_widit@hotmail.com[/email]. I'm struggling a bit - with some of the simple things really n it's getting on my nerves. Any help would be greatly received. Thanks Steve | |
ANY ONE WHO CAN PLEASE HELP........ Design and write a C++ program for the problem given below. Apply the rules of good programming style by making your program modular, and using parameters and local variables in subprograms or functions. Add comments where necessary for each function. Use meaningful variable names. … Software Development c++ | |
I need some help, heh, i have to store a twelve digit number somewhere... as i've understood it nothing like unsigned int or long double or anything won't work :-/ have i missed something? or can anyone point me to anything which i can use to be able to do … Software Development c++ | |
i have four combo boxes in my form, each combo box has 2 or 3 selections i need to check each combo box for a selection, if nothing is selected i need to have a error message come up in a message box each selection in the combobox is woth … Software Development vb.net | |
hi everybody i have a homework to write a program which displays leapyear it is for tmorrow pls anybody send it for me thanks in advance Software Development c | |
How can I read a string in from the user? For example, I am writing a console-based java application which prompt the user to enter a string and then reads that string in. What is the opposite of System.out.println? ;) System.in.readln? I can't get it to work and I'm a … Software Development java | |
Hello guys, This code returns 2 errors and I dont understand why. [CODE] #include <iostream> #include <string> using namespace std; char choice; void M(); void C(); void Process(); void M(){ cout <<"Multiplication\n"; } void C(){ cout << "Calculation\n"; } void Process(){ cout << "Make a choice\n" << "C or M … Software Development c++ | |
Hi! Pls, somebody help me!! I'm stuck here since days. I don't know, what i'm doing wrong. Software Development c linked-list | |
Hello, I need help with me homework. It's probably something simple. My program is supposed: 1) read lines from a file (rain.txt) 2) find the shortest and longest lines (I used strlen()) 3) return the line number of shortest and longest and well as their length 4) show the avg … Software Development c++ | |
I have two classes. The first collects input data and calls a second class for inputing data from a file. After the data is read I would like to use it inother classes but am having problems getting the data back. To save space I will only show part of … Software Development java | |
[color=black][font=Times New Roman]If anyone still knows Qbasic could you take a look at this code for me?[/font][/color] CLS READ nam$, addr$ DO UNTIL nam$ = "END OF DATA" PRINT nam$, addr$ READ nam$, addr$ LOOP DATA ANNE DOE, 1234 BAKER ST., BRUCE LEE, 457 HIGH ST. DATA HOPE SEW, 222 … Software Development qbasic | |
Hi All, I'm haveing some problems with my perl code. the script is for a mail filtering program called mimedefang, the code is the main filter. the fist bit of code is used to filter out mail based on the subject line. sub filter_begin () { my($msgSubject, $hfile) = @_; … Software Development perl | |
hi there, i am trying to get my program to display a different bitmap in four different child windows of my win32 C program but i cant seem to do it. Any idea's? I have got the information so far off of the forgers win32 tutorial. [CODE] #include <windows.h> #include … Software Development c display encryption | |
Does anyone know of a good way to prevent a process from being hooked by another, or at least by detecting the hook? Software Development c++ | |
HI I have written a program that reads text from the input file and writes the text to the out put file. Im using the StringTokenizer to count the number of words in the input text file. The problem is that it reads only the first line but it does … Software Development java | |
does 1 need to learn Java b4 pickup up Java 3D, or is a) Java 3D more of an IDE, or b) is it akin to Java's relationship w/Javascript - basically none? Software Development ide java javascript |
The End.