Beginners - November 2011 (Page 57)

help with the math in my C++ program
 
Hi, i am wrighting a program that calcultes gas milage based on how much the driver uses the city/highway. here is what i have so far : #include <iostream> ...
[1 reply] : Look up "interpolation" for the method here. I'll use a double for pe... (by closed account D80DSL3A)
My calculator
 
Written this calculator but wanted to let you see if it is good or not. I am using "Microsoft Visual C++ 2010" My question is how do I use the looping state...
[1 reply] : use do while loop like this int main() { char choose='y'; do{ //yo... (by Dinesh subedi)
pseudocode
 
Design a program that will allow a user to Input a list of your family members along with their age and state where they reside. Determine and print the average...
[2 replies] Last: Well said Albatross, I may be a newbie but I would prefer to try on my... (by cheawick)
Function problem
 
Ok, so i have 3 functions, all of them strings. I 'call to' the first two successfully, inputing and returning strings, but the third i use the exact same meth...
[7 replies] Last: Glad I could help, Nathan. (by whitenite1)
Help with Music arrangement database (iTunes-like)
 
I'm supposed to "construct an iTunes-like database to hold at least 10 song/artist/album records." This is what I have so far: #include <iostream> #include ...
[3 replies] Last: The same way you did for Printmenu. But as you said you are not finish... (by novablows)
problem with arrays and selection sort
 
sss
[1 reply] : For something like this, I believe a quick sort would be more efficien... (by ascii)
pseudocode help
 
hi everyone i need some help to put me in the right direction i have a hard time for some reason with the pseudocode but i need to create a Boolean function...
[3 replies] Last: create a for loop from i=2 -> i=Number-1. Inside your loop divide the ... (by novablows)
by aj918
error C2678
 
Ok, I know that the error C2678 is an undefined operand. I have included <iostream> and used namespace std. Yet when I build, the very first error I get is C2...
[5 replies] Last: Thanks so much for all the help!!! I greatly appreciate it!!!! (by aj918)
array of strings
 
Hi, i'm currently teaching myself c++. I was going to ask how to create an array of strings but i've managed to work it out. However, i do still have one questi...
[2 replies] Last: After reading your answer, i've realised when defining any variables i... (by Shifty89)
Help with misleading compiler errors
 
I'm currently nearing the end of a college C++ course and have hit a very frustrating wall while working on my current lab. After having typed up the majority o...
[3 replies] Last: There is actually a using namespace std; in the .cpp file before the... (by PelhamN)
help with compiling errors
 
I've been trying to compile this code forever, and i keep getting the same error error: expected initializer before 'void' here's a piece of the code, and w...
[2 replies] Last: i tried that and it still gave me other errors, so i declared the code... (by tenderstew)
time_t help -> mktime() returns -1
 
I'm trying to understand how time, and the comparison of two dates, is handled in c++. I'm trying to see if one date, is before another date. I've done a lot of...
[2 replies] Last: Are you sure you have the correct number of arguments for initializing... (by mzimmers)
while() loop interferes with functions?
 
Ok, so I'm making a program and int main() is basically a start menu. I'm using _getch so when the user presses a key, it will send them to whatever option the...
[2 replies] Last: nice, dont care, cause _getch works with windows just fine. Even if i... (by IWishIKnew)
queue tests not working
 
When I test the back function of my program I get a failure text from my driver program. My driver program also says the back of my queue is same as the front. ...
[2 replies] Last: Oh wow I completely overlooked the qRear = lagPtr in the assignment op... (by saverman12)
Need Help With Hangman Program
 
I'm making a program to help construct 4-8 letter words using 12 letters given by user input. I'm still new to c++ and I'm having trouble but i don't know whats...
[2 replies] Last: Thanks for your help! (by vargoal)
Sending output of the program to serial port (rs232 - COM3)
 
I wish to send the output of my program to serial port (I am using a USB to serial converter on my laptop). Whenever the 'out' variable is '1', i wish to send s...
[1 reply] : Can't you just open an ifstream with "COM3" as file name and then use ... (by bartoli)
Rotating string
 
Hi, I'm new with C++ and I've got a problem with making string from int. I've got this VELKE_CISLO::VELKE_CISLO(const unsigned long int l) { string opacne...
[1 reply] : http://www.cplusplus.com/forum/beginner/43682/ (by bartoli)
remote pair programming
 
Hey I'm trying to get some C++ lessons from my friend ( and anyone else who wants to!) and i heard about this thing called remote pair programming where two peo...
[1 reply] : Google is your friend!: http://en.wikipedia.org/wiki/Pair_programming... (by cnoeval)
C++ Help :: ASCII Symbol Error in Mono-alphabetic Shift
 
Background Info: I'm trying to write a few programs for text encryption, nothing fancy just a little poking around into cryptography, so I decided to start ...
[1 reply] : I solved my issue. What happened was I applied the shift before I su... (by MarekVarro)
Ok, final project! (1,2)
 
I am so sorry that i have been asking to many questions these days... After all the input, here's the last thing to do on my project that i got lost completely...
[26 replies] Last: U're right. I am frustrated. Well, it's due like in 15 minutes. I gues... (by narutochan)
November 2011 Pages: 1... 5556575859... 65
  Archived months: [oct2011] [dec2011]

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