Beginners - November 2013 (Page 71)

Help on offset for a calendar program.
 
This program takes any user input year since 1753 and month and creates a calendar for it. However I'm having issues with the offset which is the day the month ...
[1 reply] : http://www.cplusplus.com/forum/general/113651/#msg620789 (by Duthomhas)
by stacyd
C++ telephone directory getting number from a file I need to add a loop but not sure which one
 
I am writing a program for a phone directory. The user inputs a name and the program searches the file and either outputs the number or an error because the per...
[2 replies] Last: Ok I changed a few things but it still just returns Sorry that is not ... (by stacyd)
Operator overload location
 
I'm going to overload some operators to work on my class objects. Do I prototype them in the same header file my class is in and define them in the correspondin...
[1 reply] : Yes, but of course if your class was a template (or the operator funct... (by LB)
How to Register A User Typing Something
 
Hello, I've just started programming this week. I'm writing a basic Command Console program that I hope to someday make into a basic simulator. I would like ...
[5 replies] Last: at the top there is a button called "new topic" press it. (by giblit)
by Ratham
Get Line Getting "Stuck"
 
I'm making a program that is essentially an itunes library. There is a text file to import in the format of: ID=Number (long) Title="SongTitle" Artist="Ar...
[4 replies] Last: Figured it out! (by Ratham)
x86 exponent problem
 
So I thought I would try to write a function in x86 that would give x^y given two integers x and y, while calling another function to do the multiplication. I...
[1 reply] : This is a C++ forum. 1. On line 5 you allocate a variable on the stac... (by helios)
Preferable construction of a function comparing linked lists
 
Is one of the following preferable over the other? // This function compares two strings(which are linked lists of chars) // according to their lexicogra...
[3 replies] Last: well, you could make the recursive branch compile cleanly if you wrote... (by Cubbi)
Student Programmer
 
I am writing a program that will allow the user to in put a temp and program will tell which of these four elements will freeze or boil. Substance ...
[2 replies] Last: Thank you . You helped alot found some other things that were off. (by kmartar)
Switch menu help
 
Hello, I am a new c++ student and I am trying to make a menu based program that will display math problems based on the user's input. I have gotten the menu to...
[6 replies] Last: the function on line 86 does not match the prototype on line 41 (by coder777)
Decimal to binary
 
Hi guys, i am very interested in programming and like to understand how things work. I have code taken from a website here. What I would like to know is how thi...
[7 replies] Last: Thank you Chervil, I never thought on doing this! Also thanks for the ... (by sailorman444)
Extended Euclid Algorithm
 
So I have to create a program that properly uses the extended euclid algorithm. I think I have most of what I need but I seem to be stuck. I know I have some pa...
[no replies]
by Nefri
String stream bin numbers
 
Hello, im begginer and I have problem with converting string to two int separated by white space. I must enter two binary numbers in one string and make sum of ...
[2 replies] Last: damm, im stupid, thank you :) (by Nefri)
by mkory
Help please
 
I need some help with this program. The task is to write a complete program that evaluate a formula in terms of y and x. The formula is y=x*x*x*x-x*x*x-7*x*x+...
[no replies]
by RabMac
Arrays and Functions
 
Hi, I am trying to make a function that takes an array as a parameter. However, I can't seem to get it to work. Could someone help me please. //Author:...
[2 replies] Last: Thanks Mobotus, I really appreciate you taking the time to look at my ... (by RabMac)
What’s wrong with the following code? #2
 
Hello again, fellow programmers! I have stumbled upon an exercise that i must find the wrong thing in the following code. Assuming that scores is a vector that ...
[8 replies] Last: @JLBorges, that's right, now i get it, thanks! (by minuss273)
return to the main menu of choosing to add or show contacts
 
Trying to return to the main menu of adding contact or showing contact after i finished searching a contact. After I use name or phone number or email ID to sea...
[no replies]
CHALLENGE FOR ME
 
CHALLENGE! Write a program that asks the user to type 10 integers and writes the smallest value? CONDITION write the program in c++ cin...
[2 replies] Last: Duplicate thread: http://www.cplusplus.com/forum/beginner/115705/#msg6... (by Albatross)
pair vector
 
Not sure why I cant get my bool function to compile. This is my first time trying a pair vector, so It's probably stupid but can anyone see why my code is givi...
[2 replies] Last: Thank you. p1.first< p2.first (by sagebrushwilly)
Program crashes for an unknown reason .
 
HI! I have a function which inputs information from cin and outputs them on file stream . This is a part of the function : ... //Function : AddNewStudent...
[4 replies] Last: Well, I assume the strcpy() would have to put the terminating zero som... (by Chervil)
plz solve my question i don't know what to do!!
 
CHALLENGE! Write a program that asks the user to type 10 integers and writes the smallest value? write the program in c++ cin 10 values and cout t...
[2 replies] Last: sort it out #include <iostream> using namespace std; int main() { ... (by Uk Marine)
November 2013 Pages: 1... 6970717273... 80
  Archived months: [oct2013] [dec2013]

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