Beginners - October 2011 (Page 11)

Please help with code
 
I need to create a program to display a temperature conversion chart for 0 to 100 degrees Celcius at 10 degree intervals and the corresponding Fahrenheit temper...
[6 replies] Last: thank you so much for all your help i really appreciate it (by ctrygirl)
Fire Emblem-esque Game/Project
 
Hello there. I have a project I'm working on that resembles the game called "Fire Emblem." In it, it is possible to place/remove units/soldiers on the gam...
[3 replies] Last: int main() { resetGMap(); int inMainA, inMainB; bool gam... (by Hydrolisk)
System Time and Date Help pls
 
I'm not asking for a lot, I just want to be able to manipulate time and date in program. for example I want to be able to make statements that say: if ...
[1 reply] : The library is ctime, specifically time.h - http://www.cplusplus.com/r... (by restingParrot)
Toupper will not display letter, instead displays ASCII value
 
Greetings! The program below ask a user to input the number of alphas which will be entered and then ask for entry of each character... It is supposed to re...
[2 replies] Last: Thank you, I will work on implementing this... (by hardknock)
by Nexrus
Division Help
 
What I'm wanting this to do is take the amount that I enter for litter and and multiply it by .264179 and then divide that number into whatever I enter for mile...
[3 replies] Last: So this is where I sit in the current process. I want it to re-run the... (by Nexrus)
Converting Integers to Characters 4 digits
 
This is what i have so far but when i try to put in more numbers like 123 i only get one-hundred i need to get one-hundred twenty three I havent gotten the ch...
[no replies]
Median Calculator
 
Guys I am passing the whole array to the function to calculate Median. How can I do it. I coded it but i dont think it works. PLease dont give me the code. Just...
[2 replies] Last: Thank you very much :) And I figure that out :) (by biplav17)
by Rudy13
Need help with code only one error left!!!
 
it compiles but closes my program and i am able to do nothing please help!!! #include <iostream> #include <ctime> #include <cstdlib> #include <iom...
[2 replies] Last: Newer topic: http://www.cplusplus.com/forum/windows/53449/ (by shacktar)
Heap Problems
 
I am creating a program that allocates memory dynamically for a book store management program. The first error that I receive is: _BLOCK_TYPE_IS_VALID(pHea...
[no replies]
by lirik
factorials
 
Question: The value of euler's number, e, can be approximated b using this formula: e = 1+ 1/1! + 1/2! + 1/3! + 1/4! + 1/5!... Using this formula, write a...
[no replies]
help printing returned int array
 
ok so i need to write a union and intersection program for two sets of ints. I have it so it would print the ints as it went to start, but i also have to be abl...
[no replies]
help
 
I AM GETTING ERROR WHEN I CALL INT MENU. can someone please look at my code and help me!!! #include <iostream> #include <string> #include <fstream> #in...
[5 replies] Last: ok, did. This is the code i wrote now, //Documentation //At the... (by Hasnain Attarwala)
Question regarding pointers
 
say I have defined two pointers as such: short* first; short* second; will I be able to test for equality as follows: if(first == second) { cout ...
[3 replies] Last: Thank you (by bool maybe)
by lirik
Lots of Questions!
 
Hey guys, so far in my C++ class I have stumbled upon a few things or just in need of some clarification. If you guys can answer me, this would be a great help!...
[7 replies] Last: Thank You bcthund! That makes a lot of sense now :) (by lirik)
error: expected unqualified-id before '{' token
 
#include "candidates.h" #include "candidateCollections.h" #include "states.h" #include <fstream> using namespace std; void primaryElection (ist...
[1 reply] : There's a semicolon at the end of line 57 that shouldn't be there. (by helios)
by ShaunL
Triangle Program
 
Hi guys, I'm having trouble with this program. Mainly because I don't know exactly what it's asking. This is what I have so far. I'd appreciate any help I can g...
[11 replies] Last: The calculations for the sides are incorrect, they are calculating the... (by bcthund)
Computer Programming Problem
 
Hello experienced programmers... I am currently a freshman EE major and I am required to take one course of computer programming for my major... I have an inter...
[4 replies] Last: Thank You Disch!!! (by lilblaze)
Using a while loop and arithmetic?
 
Hello everyone, newbie here =) I'm currently doing some programming work for my programming module for my degree course and i'm completely stuck on some of t...
[1 reply] : Do your arithmetic after you ask for the number (move line 8 to line 1... (by JMJAtlanta)
sizeof() works in main() but not in function
 
void myfunction (int ar ) { cout<<sizeof(ar)<<endl; } int main () { int arr = {1,2,3}; cout<<sizeof(arr)<<endl;\\ this gives answer 12 myfuncti...
[1 reply] : See : http://www.cplusplus.com/forum/general/19458/ (by JMJAtlanta)
by trele
c++ classes/constructors
 
Hello every1 :) Can someone please tell me how to create an object without a constructor from a class that has a default constructor set ? class quest { ...
[3 replies] Last: This is better for you: #include <iostream> using namespace std; ... (by happykiller)
October 2011 Pages: 1... 910111213... 59
  Archived months: [sep2011] [nov2011]

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