49,761 Topics

Member Avatar for
Member Avatar for Nabs

Hey there I have this C++ program to do where I have to output principal, interest and debt and those type of things, all in a table. My program works well, except fot the fact that the cents are not correctly outputted. Like, instead of getting a value like 46999.88, …

Member Avatar for Stack Overflow
0
131
Member Avatar for Buchas

Hi all! My first post here. I have a question about FileWrite(int Handle, const void *Buffer, unsigned Count) function in C++ Builder 6. How do I write Ansistring into the file using this function? Here is a code sample. Everything works fine. File 11_10_2004.txt has string "Simple text" in it. …

0
84
Member Avatar for adzidzor

:sad: I want to do serious C++ and VB programming but schooling is quite expensive, so I want to read and do it on my own. I know there are various text editors...even note pad. Are these editors used for programming, and then copied to a special programming software???? Forgive …

Member Avatar for vegaseat
1
169
Member Avatar for mishu1516

dear respected....... would u plz help me to learn graphics in C++.Like drawing lines,circles,ellips etc. Wish u all the best :mrgreen:

Member Avatar for vegaseat
1
197
Member Avatar for Young Teck 06

[FONT=Verdana]Hello everybody, I am fairly new here. I was banned from another forum because of a false rumor that got to the administration. Anyway, just wanted to welcome myself. Secondly, I am trying to learn C++ and I purchase a C++ book from a local book store. The book is …

Member Avatar for Young Teck 06
0
160
Member Avatar for ohnbabygal

hi im havin a problem w/ printing a linked list. my program reads two input files and makes two linked lists out of them, and apend the lists and print it out. my input files look like this: 1 2 3 4 5 (input1) 11 22 33 44 (input2) here's …

Member Avatar for Narue
1
193
Member Avatar for wangstarr

I've written the program out but I'm not sure on how I can get the largest and smallest # to display.. can anyone help? thanks. Write a program with a loop that lets the user enter a series of integers. The user should enter -99 to signal the end of …

Member Avatar for Narue
1
144
Member Avatar for jlopes151

As a long time Windows C++ developer I now find myself with the will/opportunitty to develop on the Linux platform. I'm intrested in multi-thread development, Socket, ODBC development. Thanks for any help James

Member Avatar for Narue
1
122
Member Avatar for HinJew

Hi! I am trying to write the program described below. Below the program I have included the text from the file I call. I have written the program, but I don't know what I have done wrong. Can anyone enlighten me? Thanks *Write a program that will compute the words …

Member Avatar for Narue
1
111
Member Avatar for h3rtz

greetings.... can any of you people give me some websites where i can take some C++ programmin' challenges(free) -h3rtz-

Member Avatar for Narue
0
94
Member Avatar for randev

Hi I am just beginning to learn C++. I am using Borland C++ Builder ( free version ). I want to know is after writing the C++ commands in Note pad, how do I save it in .CPP format. CPP format is required to convert to .EXE through Borland. Notepad …

Member Avatar for h3rtz
0
173
Member Avatar for potential

hi! i'm trying to make a simple line editor... i have two main questions in mind: 1.) what's the syntax to make the cursor appear at the middle, or at the bottom part of the screen...or how can you print something and make it appear at a certain position 2.) …

Member Avatar for Narue
0
309
Member Avatar for the b

I'm writing a program that uses functions that I create.It hasn't been much trouble until I got to a point where I am supposed to create a function that calculates the total of everything bought with sales tax. the problem is I can't get the total which has already been …

Member Avatar for ZuK
0
186
Member Avatar for wangstarr

Hi guys, having a little problem with my first c++ course and I'm hoping someone can help me out abit here. Write a program that asks the user for a positive integer value. The program should use a loop to get the sum of all the integers from 1 up …

Member Avatar for h3rtz
0
171
Member Avatar for dooda man

how can i make the program display * in password entery i tried [B] while(getch()) { cout<<"*"; } [/B] but it didnt work plz tell me how

Member Avatar for FireNet
0
131
Member Avatar for aviral82

hi all specially Alex Cavnar friend i have done alot of programming , my earlier problem with lines has not been solved by any1 as yet y don't u try it i will be posting it again. As per the rectangle the inputs are only the lenght , breadth , …

0
67
Member Avatar for hopeolicious

I have to display this prrogram 3 different times using a FOR LOOP but he never showed us how it goes or where it goes I read it in my book and try many different things but nothing works its like it has to display three different people's name and …

Member Avatar for Narue
0
127
Member Avatar for reno

Hi! I need to develop a client application that will run on Soaris and call VB application running on WINN2K3 server. VB application uses an ActiveX component to access custom database and retrieve a recordset. This recordset details should be returned back to the Solaris application running on Sun Sparc. …

Member Avatar for Chainsaw
0
111
Member Avatar for dunga

I need help with designing and interface that will search keys.language of choice is C++,use of avl trees ,b-trees,The interface should allow fields to enter variables.it should be linked to a database and allow searching. :sad:

Member Avatar for Narue
0
97
Member Avatar for aviral82

hi all, i have to make a rectangle in c++. The inputs are length,breadth,center point and the aspect angle. The rectangle should be tilted at that angle

Member Avatar for alc6379
0
116
Member Avatar for tkeineetse

i have been asked to write a program that compute the area of a triangle using the formula Area=sqrt(s*(s-a)*(a-b)*(s-c)) where a,b,c, are the lengths of sides and 's' is the is the semi perimeter. s=(a+b+c)/2 and to compute that perimeter.

Member Avatar for jasweb2002
0
73
Member Avatar for dcving

// Program 2.25: Declares distance of an object // given speed in MPH and time in hours and minutes // Author: Eric Martin // Date: 10/1/2004 #include <string> #include <iostream> #include <getch> using namespace std; float main () { // Declare speed in MPH // Declare time in hours and …

Member Avatar for Narue
0
318
Member Avatar for skamen

Hi, I'm working on a program that will allow the user to input an integer between 1 and 999 and display the numbers as shown by the example of inputing 3 which would result in the output below. 000 001 002 003 I've already written the part of the program …

Member Avatar for skamen
0
100
Member Avatar for Narayan

I am storing the address of an Object in more than one entry in a vector; At the time of Deallocating the memory, I am retriving the Pointers one by one and Deleting it; The problem is that say &Obj is stored at indexes 1, 3; delete works first time; …

Member Avatar for Narue
0
142
Member Avatar for jags

C++ Help Please!!!!!!!!!!! The Question is: Write a program that asks a user to enter one of the following state abbreviations: NC, SC, GA, FL, or AL. The program should then display the name of the state that cooresponds with the abbreviation entered ( North Carolina, South Carolina, Georgia, Florida, …

Member Avatar for Narue
0
881
Member Avatar for nicoletonyf

Hello there, My program is supposed to read data from a txt file, and put this data in a 2 dimension array. All I have is the last line of data in my text file. My teacher said that I have to update the array in my loop. I have …

Member Avatar for Narue
0
213
Member Avatar for stefanusr
Member Avatar for Narue
1
149
Member Avatar for sharmrkf

Hi, everyone, i am newbie to c++, but good in java, is there a way to access files in c++, i dont mean known you write in the program or write it as commnd line args. something like getAbsolutePath() in java that can show any file. thanx 4 u r …

Member Avatar for Narue
0
141
Member Avatar for ninthwondernj

Ive written all of the code out and it works fine for Am times.....but when i type in a time(in military time) that is after 12 noon, the output still reads AM and not PM. Heres the code that i wrote out if someone could help me see where i …

Member Avatar for cosi
0
3K
Member Avatar for turbostang

First off.. I want to say that I cannot believe that it took me this long to find such a cool site that is so well put together and informative. I am fairly n00bish to everthing PC with only a couple of years experience under my belt. I have taken …

Member Avatar for clartsonly
0
210

The End.