51,593 Topics

Member Avatar for
Member Avatar for Weezer

I stared at it for about a good 30 minutes now and I still can't find anything wrong with it. Can someone help? [CODE] /*This program makes all vowels uppercase. All other constants are lowercase. Keep in mind I make to call a function isvowel() to evluate the character.*/ #include …

Member Avatar for Dani
0
149
Member Avatar for camelNotation

Hello.I have been using Microsoft Visual Studio 2000 enterprise edition and I'm having a problem with linking files.I have saved a file named as "class declaration.h" by default and another named as "cppfile.cpp" by default.Let me tell you how I actually started this.First I created a new project workspace and …

Member Avatar for Valmian
0
376
Member Avatar for fakespike

#include <iostream.h> #include <conio.h> void gas(); void main() { float gal; while(gal<=0) gas(); cout<<"thanks for your help"; getch(); } void gas() { float gal; float total; float miles; float avg; cout <<"enter the gallons of gas used (-1 to end): "; cin >> gal; cout <<"enter miles driven: "; cin …

Member Avatar for yogesh
0
158
Member Avatar for Daywalker46410

Here's my code. I just want to return the length of a string. How do I do that? Any assistance would be greatly appreciated. [code] #include "stdafx.h" #using <mscorlib.dll> using namespace System; int _tmain() { String *strString; int intLength; Console::Write(S"Enter a String "); strString = Console::ReadLine(); Console::Write(strString); intLength = strlen(strString); …

Member Avatar for Mike29936
0
183
Member Avatar for Crowe182

I am writing this program for my computer class. I am having a problem with my do/while loop. I can go through my main IF statement, but when I go through the loop a second time, I enter 'S' os 's' for computer type it skips past the main IF …

Member Avatar for Crowe182
0
124
Member Avatar for camelNotation

// This program asks the user to enter the length of a rectangle // then for the width of a rectangle , to find the perimeter by // this 2 * length + 2 * width #include <iostream.h> return unsigned long int Perimeter ( unsigned short int , unsigned short …

Member Avatar for camelNotation
0
342
Member Avatar for fakespike

well this is what my program does: //asks for input for number of gallons enter the gallons of gas used (-1 to end): //asks for input for number of miles enter miles driven: //then shows the miles / gallon for this tank the miles / gallon for this tank was …

Member Avatar for Bob
0
119
Member Avatar for camelNotation

Hi.I have been learning c++ lately and I'm rather interested in learning to produce source codes and applications(games maybe).I need know that whether my choice about learning c++ for game programming is right or not.I'm not interested in web developement.I have read some of the posts in c++ forums and …

Member Avatar for Iron_Cross
0
237
Member Avatar for fakespike

well i made this little program to help me check my algebra home work it was soppose to be a simple thing so it is badly coded and rushed but something has happened that i dont understand. i have spotted the problem but dont know why its doing this. for …

0
105
Member Avatar for goodwilllV

Home work agian. I'm required to write a sales analysis program. One of the function dose enter a new salesperson, it will prompt for personal detail. but if user keys in -1 at any point, it will cancel process and return to main menu options. BUT according the programming standards …

Member Avatar for Valmian
0
193
Member Avatar for camelNotation

:lol: HI i'm really new to c++ programming.I have learning this language with the help of a book named "Teach yourself c++ in 21 days by Sams." I am in day 4 learning expressions and statements.How long do you think it's going to take me to produce a fully-functional c++ …

Member Avatar for Mike29936
1
160
Member Avatar for Srdji

ok, i'm new to c++, please bear with me........ i have a program... it asks the user to enter the price, then it asks to enter the interest rate from, and then interest rate to, and then the loan period (> 2 years) The formula used is: result = price …

Member Avatar for Valmian
0
114
Member Avatar for Raineri33

I am new to c++, and i have a program to do as follows: 1) fill a 2D array for the seat chart with * ... DONE 2) add a passenger to the plane I am stuck here, i have the info put into the cin statements etc, but how …

Member Avatar for Mike29936
0
451
Member Avatar for mostafa_bd

Hi every one, I just want to do a interesting work. But I can't find any clue. Anyone there to help? We know in Destop there are some shortcuts to link a particular program. I want to retrive the information of the shortcut when I click on a particular item. …

0
121
Member Avatar for camelNotation

Hi again.Read the source code below please: // Determining the size of variable types #include <iostream.h> int main() { cout << " The size of a bool is:\t\t" << sizeof(bool) << " bytes.\n"; return 0; } p:s:I have not included the other variable types because there was no error message …

Member Avatar for Dani
0
133
Member Avatar for rymade

I just started my first c++ class and we recieved our first assignment. I dont have a compiler at home and live far away from school. I have 2 questions: These are the program requirements: Program 1: Prompt the user and let them enter three integers. Store them in three …

Member Avatar for Armeggadon
0
252
Member Avatar for camelNotation

Hi i'm a newbie c++ programmer so I don't know much about compilers.I have a c++7 and a bulit-in text editor but when I try to retrieve the bytes the variable "Bool" takes the error or warning message says that bool is an undeclared identifier should I try with boolean? …

Member Avatar for Dani
0
152
Member Avatar for ohadraz

Geetings, Microsoft had included in its Visual C++ .NET some APIs to extract data out of .PDB files. Microsoft had called this package "DIA SDK". I've looked into the documentation of it in the MSDN, but it ain't as simple as it sounds... If any one of you wise people …

0
97
Member Avatar for Valmian

Hello, I really don't know if this is more of a Mac of C++ question but.. I am doing a loading of a file with short CSVload (char * filename) //called from main { //openning a file and checking if it exists FILE * datafile = NULL; if ((datafile=fopen (filename, …

Member Avatar for subtronic
0
201
Member Avatar for life2die4

I am begginer at C++.I need some help with some parts of my program. Afeter I draw a table on the canvas propety of the forum I have to move a TShape over the table.The problem is whenever I move the Shape some parts of the table are getting erased.The …

0
95
Member Avatar for blackspyder01

I kinda have a problem. What i'm tryin to do is read a couple or lines or so from a text file and then replace all the gender pronouns ie(he, she, him, her) and replace those with gender neutral ones. The problem i'm having is trying to find all the …

0
94
Member Avatar for rational611

Hi, Could someone help me with this error I am getting. I downloaded this program from a source code website.I am not a windows programmer. When I compile a program in VC++ 5.0 the following error is be shown: Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/KeyLogger.exe : …

Member Avatar for fzoff
0
218
Member Avatar for Armeggadon

Hello all. I am fairly new to progamming. I have a free C++ compiler(DEV-C++) and i was wondering if this is ok or should i actually buy a better C++ builder. I'm postive everyone will probably tell me 1 of 2 things. 1) Stick with DEV-C++ and come back when …

Member Avatar for Armeggadon
1
207
Member Avatar for rickykoh1983

Hi. I am trying to do a program whereby the user needs to enter some information before he/she can use the file (some sort of a lock). My problem is how can I put the file together with the exe so that when i enter the correct information, the exe …

Member Avatar for Dani
0
149
Member Avatar for MikeL

Hi all, I'm trying to locate information that would assist me in obtaining the BIOS boot order and hard drive parameters in DOS. The hard drive information I think I can extract from the FreeFdisk source code with a little more time, but the BIOS boot order has me stumped. …

1
525
Member Avatar for mostafa_bd

Heloo, Is this possible to Write in Sectors in CD (CD-R/CD-RW) by C++ Code. I am in serious problem with this. If not possible, Is there any tool exists that may help me. Please help me. Thanks in forward. Ahsan Mostafa Bangladesh [email]mostafa_bd@hotmail.com[/email]

Member Avatar for mostafa_bd
0
270
Member Avatar for Cardinal

HI, My project is due tommorrow, I am stuck at this error which i have no clue. I have tried all my best to understand what is its cause but couldn't. I really need help. All I am saying is if you can explain why its doing this. ***Problem*** We …

0
165
Member Avatar for sai365

I am unable to open a file using the below code in c++. The code used to work before. I am running this program in unix (sun c++ v4.2 compilers). The file I am reading currently is now > 2GB. I am able to read files < 2GB using this …

0
130
Member Avatar for fakespike

hey guys i have been studing c++ for a while now. i have learned so much only problem is i find it difficult to apply any of my knowledge. i mean i knwo how to make things but i dont know what to make. thats why i came to you …

Member Avatar for fakespike
0
166
Member Avatar for fakespike

hello i wanted to create a tetris game. i would really appreciate it tho if some one could roughly outline what i have to do. leave the coding for me i will take care of that.

Member Avatar for odious face
0
638
Member Avatar for long shots

I am currently working on a game called realm knights ([url]http://www.realm-knights.tk[/url]) i need 2 c++ programmers. Email at yonlongshots@hotmail.com or realm_knights@hotmail.com or post at the forums at realm knights. Or even post on here :D

Member Avatar for samaru
0
179
Member Avatar for marky9876

Programmers, Coders, Amateur programmers and Part time programmers apply within. Im looking to recruit amateur and part time programmers who are not proffessionals but who code or program in there spare time because they are enthusiastic and love it. You dont need proffessional qualifications, or a degree to fill this …

Member Avatar for samaru
0
244
Member Avatar for Mr Gates

I've made some C++ dos programs, and it runs fine, and does everything I want it to, but the moment it does the last line of code, it exits. I use Visual C++, and it stays on when I preview it in there, but after I compile it, and run …

Member Avatar for Dani
0
179
Member Avatar for anthony86

I was thinking of creating this program for a school related project and was seeking advice/guidence concerning the matter. I prepose to create 7 distinct personalities and have them communicate/interact in a virtual world. I will be storing data that has been collected through everyday discussion such as questions, responces, …

Member Avatar for Dani
0
244
Member Avatar for BMF

Hello>>> How are you all? I need a quick help with my assignment... it is in C not in C++... So, Could you help me? I don't know what to do!! the question is: Write a program that reads a data file containing a C program and writes it to …

Member Avatar for BMF
0
479
Member Avatar for mynewdeadcat

int upper; cout << "#s (4 - 9) "; cin >> upper; for (int count = 0; count < 4; count++) { int y; srand((unsigned)time(0)); y = (rand()%upper)+1; cout << y<< endl; key[count] = y; Sleep (1000); } this is my random number gen and i was wondering if there …

Member Avatar for Bob
0
192
Member Avatar for aragon
Member Avatar for lyar1977

Using Dialog Box: I want to draw a ball in a solid color and be able to move the ball around on the Dialog Box. Thanks

Member Avatar for Dante Shamest
0
493
Member Avatar for boohoo

Thanx for everyone's reply. I'm more and more being put off Java, although it looks like a good language in practise, the way it looks as a GUI doesn't appeal. Anyone know of a good free C++ IDE ? I have tried Devc++ from bloodshed, but it wont let me …

Member Avatar for Bob
0
862
Member Avatar for Dani

I'm taking an Operating Systems class in which I have to write this monster of a C++ program and it's giving me a bit of trouble. It would be amazing if someone would be able to help me out a bit. The only problem is the directions for the programming …

Member Avatar for Xelfinn
0
254
Member Avatar for fastcarz3

A company pays its employees as managers (who recieve a fixed weekly salary), hourly workers (who recieve a fixed hourly wage for up to the first 40 hours they work and "time- and a half"-1.5 times their hourly wage-for overtime hours worked), commission workes (who recieve $250 plus 5.7% of …

Member Avatar for aeinstein
0
318
Member Avatar for MAD_DOG
Member Avatar for samaru
1
434
Member Avatar for samaru

Yesterday I was looking for a good game authoring language and came across a very interesting one called 3D GameStudio. I was very impressed by some of the samples. I think I might get into it during this summer. If you're coming from a C/C++ world, then it should be …

Member Avatar for Valfor
0
389

The End.