51,593 Topics

Member Avatar for
Member Avatar for vietbong87

hey im having trouble workin out the average it keeps showing 0 instead #include<iostream> using namespace std; int main() { int count; double grade, total, average; grade = 0; total = 0; count = 0; cout <<"\nTo stop entering grades. Type in the number"; cout <<"\n 999.\n\n"; total = total …

Member Avatar for vietbong87
0
97
Member Avatar for grunge man

um how do you make it so if you give an input, wether from an integer value or from pressing a cirtian key like the space bar,then a sound file will make a sound? in c++

Member Avatar for grunge man
0
109
Member Avatar for grunge man

A Nother Question What Are Classes And Is It Possible To Use A Class For Macking Pictures Or Shapes That You Can See?

Member Avatar for prof.thakur
0
200
Member Avatar for grunge man

Is It Possible To Use C++ With Html, It Would Be Verry Help Full In My Programing?

Member Avatar for prof.thakur
0
291
Member Avatar for Niklas

Is there a specific function in C++ to install/assign a file in a directory? And if t here is are there any limitations to what it can distribute? Are installation in multiple directories possible? Thanks , and I hope to see the responses.

Member Avatar for Niklas
0
194
Member Avatar for grunge man

grunge man um i can see some relation ships actually between vectors in phyics and c++ WolfPack Really? Care listing some of them here? For others to learn? ok now as i under stand about what arrays are i will now show the relationship between a physics vector and a …

Member Avatar for server_crash
0
195
Member Avatar for some one

Write a menu driven program that manipulates a list of students and has the following options: 1- Build list from file 2- Build list from keyboard 3- Print list Use the standard list ADT to build the student list. Student information are (name, level, ID) information please help with this …

Member Avatar for some one
0
238
Member Avatar for javamum

I've been working for over a month trying to figure out how to write a program that finds the root of an equation using the bisection method. someone please help me! the equation that I need to find the root for is a little complicated, let me explain: let summation …

Member Avatar for WolfPack
0
82
Member Avatar for amen

how to write into the file at the same time display at screen?if there a command that do it?

Member Avatar for Narue
0
117
Member Avatar for grunge man

is it bad to not be a student on this page because i thought it was for anyone who needed help with c++

Member Avatar for Narue
0
168
Member Avatar for blackdove

I've been working on a binary search tree and I've written out most of what I think the code should look like but I can't test it because of an error I'm getting. I have no idea if what I have is even correct. My professor gave us the class, …

Member Avatar for Nedals
0
193
Member Avatar for gropedersen

Hi everybody, I am currently working on an assignment on linked lists. I am stuck with parts of the project, and I would be very pleased if anyone could help me. I am supposed to create a linked list of patient records. Each record is identified by a patient ID …

Member Avatar for gropedersen
0
163
Member Avatar for grunge man

um i just starded macking a simple program and i want the user to input a number when it says enter a number then i want it to say that number *3 is, enter then the answer will appear here is what i have and i dont know whats wrong …

Member Avatar for Lerner
0
290
Member Avatar for grunge man

how the heck do you "in simpelist programing" creat an image withc colors using c++

Member Avatar for Ene Uran
0
109
Member Avatar for ultirian

I am currently using Dev C++ to develop my programs as it is free and its easily gotten a hold of. Now the thing is that the proggraming project that I have to do has to be implemented on the unix systems within university. Is there going to be problems …

Member Avatar for ultirian
0
153
Member Avatar for Kashif

hi first of all greeting to every one i want to convert integer value into digits like input into any variable x=234678 into store in array y[8] that y[0]=2,y[1]=3 and so on. how can i do that in c++

Member Avatar for Kashif
0
109
Member Avatar for DotNetUser

I want to change the font size but my 3rd party mapping sw needs the parameter to be of type StdFont. Is this supported in VC++.NET. I couldn't find anything about this in MSDN. Do I need to add a dependency? Thanks.

Member Avatar for DotNetUser
0
70
Member Avatar for marioxp

I’ve build class with dynamic two dimensional array, and I’ve declared constructor and copy constructor and everything work fine until when I try assign object to object. Then I receive error in debugging. Probably something with copy constructor is wrong or eventually with destructor, but I don’t know how fix …

Member Avatar for Ancient Dragon
0
95
Member Avatar for porterrj

Hello! I have a program that generates a rectangle based on width and height. ---I just need to figure out how to center this if the screen was 80 characters wide.------ void drawRect(int width, int height) { for (int i = 0; i < height; i++) { for (int j …

Member Avatar for Bench
0
175
Member Avatar for meenu

Hi, I am Meena. I am Java Developer. I am very much interested in C++. Because of my Basic knoeledge in C++ I easily understand Java. Now my big doubt is Java is fully used for Web Orinted. Oracle and VB for Data orinented. Like that what is main purpose …

Member Avatar for gampalu
0
158
Member Avatar for registry

Hello, I'm quite new to SOAP but im trying to learn how to implement it into one of my WIN32 c++ API programs. I havn't done a lot of windows programming but i have created a few small programs, buttons, styles etc. I know the basic layout of a windows …

Member Avatar for iamthwee
0
96
Member Avatar for dors_zone

here are the question: #include<iostream> #include<string> using namespace std; int main() { string strWords1, strWords2; strWords1 = "To Be Or Not To Be"; strWords2 = "That Is The Question!"; return 0; } --------------------------------------------- Modify the program to include: a) a statement to replace the last character in the strWords2 with …

Member Avatar for iamthwee
0
100
Member Avatar for dors_zone

i need to write a function called bmiCalculator, which calculate based on: a) the function is to be passed the weight n height as parameters. the weight and height in pounds and feet, respectively. b) the function should convert pounds to kilograms (0.454kilograms per pound) and feet to meters (0.3046 …

Member Avatar for dubeyprateek
0
596
Member Avatar for porterrj

Hi I'm new to C++ and to here. I have an assignment. Make a HOLLOW rectangle using Functions. Have the user imput the amount of rows and columns....and border width . It should look something like this (It's supposed to be a HOLLOW rectangle) : Enter number of rows and …

Member Avatar for porterrj
0
1K
Member Avatar for njzillest

I started C++ a few weeks ago.. I want to go to MIT for computer science, and for that i want to learn a few computer languages. Im 15 in 9th grade. I know how to make loops and random numbers. I am about to go into arrays and pointers …

Member Avatar for Rashakil Fol
0
99
Member Avatar for porterrj

Hi I'm new to C++ and to here. I have an assignment. > Make a rectangle using Functions. > > > Have the user imput the row size and column width. It should look something like this (It's supposed to be a rectangle...hollow) : ********** * * * * * …

0
85
Member Avatar for complete

I want to set the command line options for the linker in a C++ project in a .NET IDE If I click on Project in the menu and then on Properties a window comes up showing several Configuration Properties. Under the Linker Tab, I can display the command line. How …

Member Avatar for WolfPack
0
87
Member Avatar for HelpMeImLost

Hello everyone. I am in desperate need of help. I have this question: [I]You have been developing a Fraction class for Teacher's Pet Software. The class contains two public data fields: one numerator and one for denominator. In keeping with the object-oriented concept of encapsulation, you make the Fraction's data …

Member Avatar for HelpMeImLost
0
123
Member Avatar for cware

Hello, I am currently a sophomore CS major and have a C++ assignment I need help with. I have browsed the boards to see if asking for hw help was appropriate, and I did not find anything saying that it was not. If this is not appropriate, please let mek …

Member Avatar for Lerner
0
105
Member Avatar for Moe

Hello everybody! I would like to know "how to link header file (.h file ) and source file (.c file ) in c. I have downloaded many .h files and .c files. I have noticed that the functions are declared in .h files and denined in .c files. I don't …

Member Avatar for WolfPack
0
2K
Member Avatar for rio

The problem we have been set is to make 3 classes which derive from a base class and 2 of these derived classes has a relationship with each other, now i can get only one of the derived classes to have a relationship with the other, but when i try …

Member Avatar for rio
0
148
Member Avatar for p3nguin

Browsing daniweb for a couple weeks and you guys really help but in this lab me and my partners were a bit stumped, the purpose was to pass one set through pointers and the rest arrays. In my opinion a bit silly but whatnot, here's the latest code (we have …

Member Avatar for Ancient Dragon
0
121
Member Avatar for heavyc

i am having trouble incorporating this createprocess function with opening a execultable.. it is in c++ and i keep getting 2 error messages which are C:\Program Files\Microsoft Visual Studio\MyProjects\process\process.cpp(24) : error C2143: syntax error : missing ')' before ';' C:\Program Files\Microsoft Visual Studio\MyProjects\process\process.cpp(27) : error C2065: 'IpApplicationName' : undeclared identifier …

Member Avatar for WolfPack
0
178
Member Avatar for Lerner

I have two structs: [code] struct Vertex { int row; int col; friend istream & operator >>(istream & is, Vertex & v) { char t[3]; is >> t; v.col = t[0] - 'A'; v.row = t[1] - '0'; return is; } }; struct Move { Vertex orig; Vertex dest; }; …

Member Avatar for Narue
0
135
Member Avatar for tiffani

:idea: :idea: hey, guys & experts :D i'm havin' a big pro now~~i can't past the test 3 now... i know i may hav a bug but seems too hard for me to find it out can anyone help me???seg fault... i hav asked many ppl but....plzzzz ====the file==== dict.cc …

Member Avatar for Narue
0
154
Member Avatar for Eng_Girl

Hello, I need to know how to compile and run this example in Windows XP the example in [url]www.boondog.com[/url] go to-->tutorials---->GPS and Serial Interfacing it uses some libraries to communicate with the serial port . I tried this example but I got so many errors . can anyone see this …

Member Avatar for Vinoth
0
112
Member Avatar for rc_ashish

Hi, I want to change the font size of text in C language for printing text. Thanks in Advance. Ashish

Member Avatar for WolfPack
0
284
Member Avatar for joyjit

hi , i m new to windows platform. i have been programming in linux platform using c. please advice an effective tutorial in win 32 programming using c n c++. n please advice a fast c++ tutorial for intermediate c programmers. waitin for ue response thanks in advance joyjit

Member Avatar for Ancient Dragon
0
183
Member Avatar for hari12341

Iam Trying to implement a basic text editor in c++. I've used a doubly linked list for storing the typed characters in a line and have implemented another linked list (No 2)to store many such lines for a document... When i try to save the file using list No2,i find …

Member Avatar for Ancient Dragon
0
172
Member Avatar for pdhaz

i just started a class in programing and we are working in C, i was wondering is there a way to input graphics into the program and if so where would a good place to go to show me the way, also if there are good tutorials for programming since …

Member Avatar for WolfPack
0
127
Member Avatar for Podge

Hi, I am looking to hire someone to spend some evenings or days helping me understand Visual C++ 2005 better. I am a Structural Steel Detailer by trade but have developed some application related to my field. I have written some in C and C++ but I would like to …

Member Avatar for Podge
1
202
Member Avatar for renzo666

Moshi2... could anyone help me, how to convert ASCII to Hexadecimal and binary just like this.... "Hello this is a test" Hex: 48 65 6c 6c 6f 20 74 68 69 73 20 69 73 20 61 20 74 65 73 74 Binary: 01001000 01100101 01101100 01101100 01101111 00100000 01110100 …

Member Avatar for renzo666
0
104
Member Avatar for beuls

hi, how can you read a hexadecimal number in c++? is there any option with cin/ your help is greatly appreciated. Beulah

Member Avatar for beuls
0
5K
Member Avatar for gpta_varun

Hi All Was just working on detecting memory leaks ....... Where can i get the actual code implemention of new and delete functions in C++ , Best Regards Varun

Member Avatar for gpta_varun
0
135
Member Avatar for akshayabc

Hi every body! I want to make project on speech recognition in linux using C/C++. In which user will speak linux commands(mostly letter by letter) and that will be entered on the console. ex- if he wants to enter 'ps -l' he has to speak- 'p', 's', 'minus', 'l'. I …

Member Avatar for calcop
0
114
Member Avatar for mcook228

I'm trying to read data from file into a graph and am wondering if anyone could suggest the best way to go about this... The data will be presented with commented lines that need to be skipped - these lines will begin with "/". Once I've skipped the comment lines, …

Member Avatar for AstroNox
0
104
Member Avatar for Rrookkz

[U]Background:[/U] I'm running a custom built computer with a huge C drive and an even bigger D drive. Windows was installed on C and many programs, files, pictures, and documents were on D. I started having internet connection problems so I called the techs at Bellsouth several times. Each time …

0
76
Member Avatar for Dabdob

Hi Guys, i was reading a book about C++ sorting and come up with the first type of sortting knowing as "Bubble-Sort" belwo is the main code for, you can run it and see how the arry will be ordred. int main() { int a[]={5,4,2,8,1,9,2,10,3,7,6}; int i,j,temp; for(i=0;i<11;i++) cout<<a[i]<<" "; …

Member Avatar for Dabdob
-1
172
Member Avatar for Yustme

Hi, Im trying to make a multiply table from 1 to 10. Im trying to do this with array's. This is the code i have till now: [code] #include "conio.h" #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #include <cmath> #define arraylen = 10 main() { int x[11], *a; int …

Member Avatar for Yustme
0
137
Member Avatar for tyczj

i have 3 errors that i cant figure out y they are appearing i thought everything was fine [CODE] template <class TYPE> class Darray{ protected: TYPE DEPTH; TYPE ROW; TYPE COL; Cell *** array; public: Darray(); //constructor Darray(TYPE depth, TYPE row, TYPE col); //overloaded constructor ~Darray(); //destructor Darray(const Darray& darray); …

Member Avatar for tyczj
0
88

The End.