Beginners - October 2012 (Page 62)

CAN YOU HELP ME WITH MY CALCULATOR? USING ARRAYS AND FUNCTIONS? ")
 
Can you please make me a program where this is the following content: WELCOME TO ABCD DINER! Menu 1. Burger ..... $1 2. Spaghetti....$1.75 3. Pizza ..... $2.5...
[3 replies] Last: It would help if you posted some kind of information. (by pogrady)
why is this vowel removal program not working
 
i fiddled with it a bit so i might have changed the index syntax a few times im also sposed to use substring but i cant understand how in this context lastly w...
[10 replies] Last: Show your latest non-working code? (by Chervil)
Need help with Standard Deviation and Arrays please?
 
So I have searched extensively... I am not finding much. I had to build a calculator program, I did that pretty easily. But now I'm stuck on the second part ...
[5 replies] Last: Will do, thanks for the help! The assignment said just to use that n... (by noylekul)
pow
 
How to power the number without using the "pow" function?
[9 replies] Last: This function will work for integer exponents (base can be any type th... (by Stewbond)
Decimal Places/Conversion
 
Hey! I have to write a program where centimeters is converted to feet and inches. For example, the input is 333.3 cm, the output should be 10 ft and 11.2 inc...
[4 replies] Last: Thank you! Will try what you suggested. Thanks (by andraye21)
difference between malloc and new
 
what is the difference between (malloc and new) and (delete and free)?
[2 replies] Last: Malloc purely allocates memory for you to use. You tell it how many by... (by BlackSheep)
by Serri
While ( y )
 
I do not understand how the while ((variable)) loop works, when does it end? int main() { int y = 2; int x; while (y) { x = 1 + y; y = y / 2; ...
[4 replies] Last: y = 200 //1 times y = 100 //2 y = 50 //3 y = 25 //4 y = 12 //5, rememb... (by codewalker)
day+previous day
 
Hi, In my program I would like to accumulate the total rice earnings. I cant seem to understand the logic. Can someone point me in the right direction? ...
[2 replies] Last: grains = pow(2.0,day); accum += grains; Thank you very much!... (by fishalot79)
how to make my turtle draw
 
Hey everybody I have this simple Turtle code here. When I run the code in the terminal (on mac) I can move my turtle around by typing f (forward), l (left), r (...
[6 replies] Last: Hey Peter87, I appreciate your feedback and I understand why I have to... (by bjorn123)
Pseudo code and algorithm help please??
 
Take 2 numbers from user n operator (+.-,*,division) , perform requested operation n display result.
[3 replies] Last: you are welcome please mark as solved (by vichu8888)
my basic function wont work
 
I really dont understand why it wont work its copyed out of a book please help it says there is an error with the hello(). // // // #include<iostream> ...
[6 replies] Last: main is "special" with regard to needing to return a value. Letting... (by cire)
how to call function of a class in other function of the same class in c++
 
this is my code #include <iostream> #include <conio.h> using namespace std; class complex { float num1,num2,num3,num4; public: complex() { num1=0;num2=0...
[7 replies] Last: I may be misunderstanding the intention. This would be my (simplified)... (by Chervil)
a problem!
 
#include <iostream.h> int main() { float a, b, c, d, e, f, g, h, z, y, i, q, w; char o; cout<<"what you wanna do???\n"; cin>>q; if (q==1) { for(w=1;(...
[10 replies] Last: You are using floats for some variables that should be integral type: ... (by TheIdeasMan)
by Kovs95
Dungeon Crawler
 
Requires: variables, data types, and numerical operators basic input/output logic (if statements, switch statements) loops (for, while, do-while) arrays ...
[4 replies] Last: There are two conventions for this. Either you can use a preprocessor... (by MrHutch)
problem with a nested if using some simple logical operators
 
I am getting a very minor error in my program, hopefully someone will be able to fix this easily (I am definitely a beginner): I need my program to output grade...
[3 replies] Last: In your program everything works perfect, only thing u need add bracke... (by vichu8888)
count digits and others of user input
 
My English is very bad but I hope you can understand me! Furthermore: I have never programmed before and this year I started with a study where programming is ...
[4 replies] Last: But when I do this: #include <stdio.h> #include <ctype.h> int mai... (by dutchman)
by Ch1156
Find and replace string
 
Ok so im making a program that finds and replaces a word in a string of words. the thing is the program has to know where the word is and how long it is without...
[6 replies] Last: use cin.ignore(); instead of cin.get(); #include <iostream> #i... (by vichu8888)
Help with Program
 
Can anyone help me with what is wrong with the program? I cant get it to compile. /* Dollar to Coin Conversion.c Final Project */ #include <iostream> u...
[6 replies] Last: Opps sorry for the typo in char description ={"quarter", "dime", "nic... (by codewalker)
function return value!!
 
I made a class called triangle for my programming hw! In the header file that contains this class and some fuctions, there is a function called vector<triangle...
[3 replies] Last: In function findRightTriangles 1) you dont need line #5 2) you haven... (by codewalker)
EOF problem
 
Yes I've been working on this project for class and I've been having a bit of trouble. The eof is working fine and it is outputting the last file in the win...
[9 replies] Last: replace line 66, in the original code, with "do" and replace the endin... (by codewalker)
October 2012 Pages: 1... 6061626364... 84
  Archived months: [sep2012] [nov2012]

This is an archived page. To post a new message, go to the current page.