Beginners - February 2013 (Page 44)

undeclared identifier
 
Below is my code, I have been tring to work through this but nothing seems to work, any sujestions? //Loop through the palettes of previously equipped items ...
[1 reply] : Is that really the entirety of your code? I'm thinking not. And what'... (by jim80y)
plsss help me in my assignment
 
how to do this 1. create nodes 2. insert node front back 3. delete front back 4. search create nodes at least 10 whole numbers - integer 6,7,5,3,2,4...
[no replies]
Dynamic Allocation Issue
 
Hi, I am working on a project for school, and I have run into a problem. I am trying to create a dynamically allocated array of Class objects, which is determin...
[6 replies] Last: Thanks a lot for the help, it fixed most of my problems. I just have o... (by tmorlan)
Operator Overloading issue
 
Hey everyone, My professor insists that for every operator I overload I should have: 1.) A member function 2.) A corresponding overloaded equivalent The...
[5 replies] Last: A good source for operator overloading is http://courses.cms.caltech.e... (by jim80y)
HHHHHHHHEEELLLLPPPPPPPP
 
Need help writing a program in c++ to find sine and cosine using a for loop and the formula sin(x) = -1^n/(2n+1)! * x^2n+1 cos(x) = -1^n/(2n)!* x^2n
[8 replies] Last: how (by person29)
basic array problem
 
So, I'm pretty new to c++, and I'm having trouble with the following function. Its supposed to take an unsigned integer and convert it into it's binary represe...
[1 reply] : try this, #include <stdio.h> int main(){ int a=10,b ; for(... (by arzhon)
by gladi
I have this Error
 
Hello I got this error while I was compiling my prog. Please can you help Error 1 error LNK1561: entry point must be defined
[2 replies] Last: Thank you for your time. You were right. I do have main but I had some... (by gladi)
by ckw77
Can Somebody Plz Help.. Lotto simulation
 
All i need help with is the bottom portion... I do not understand or it is difficult for me to write code?? I am writing code for a lotto simulation, the code i...
[no replies]
More trouble with header files...
 
For some reason I'm completely inept with using multiple source files. If anyone can show me what I am doing wrong here I would be very grateful. // InfoGa...
[no replies]
Counting vowels HW help
 
The assignment is: Write a program that reads in text one character at a time and counts the number of vowels ’a’, ’e’, ’i’, ’o’ and ’u’ in...
[1 reply] : Using the && operator will never get the program to stop, so one lette... (by Pickle Gunner)
the multimap problem
 
#include <iostream> #include <map> using namespace std; int main() { multimap<string,int> mymap; multimap<string,int>::iterator iter; pair<mult...
[no replies]
Precision Errors in a Change Calculator
 
Hello folks, so the assignment in question is to create a program that accepts two values (amount owed, amount paid) and returns a change value along with the c...
[3 replies] Last: Kewl (by greenleaf800073)
by ckw77
Lotto Simulation Help
 
I think I got pretty much of the code, but I need help on the bottom. How do i define user and lottery.. Confused!! Also code is confusing so help also... //...
[no replies]
Issue with pointers
 
So this program is supposed to read an unknown number of values (max 30) and then attribute the grades entered into an array to track how many of each grade the...
[3 replies] Last: Thank you so very much. the lack of the & before the name in the funct... (by Octoballa)
Inheritance Help - first time
 
#include <iostream> #include <iomanip> #include <string> using namespace std; class Child{ public: string setName(string name){name = name;} strin...
[2 replies] Last: setName and setPName are supposed to return a string , yet they d... (by Branflakes91093)
OOP is killing me (1,2)
 
Okay, so I have to create a lab that adds and multiplies giant integers that are 40 digits long. I have to do this by essentially creating an array of 40 digits...
[35 replies] Last: I would like to say that I corrected the segmentation fault (I forgot ... (by INeedAHero)
if statement and a function
 
I have a function that will return an integer. I set the integer at the beginning to 0 and at the end, an if statement sets it to 1 if the function determines a...
[1 reply] : That seems to be fine. Wazzak (by closed account zb0S216C)
the exclusive word set
 
#include <map> #include <vector> #include <iostream> #include<fstream> using namespace std; void restricted_wc(ifstream &removeFile, map<string, int> ...
[2 replies] Last: I press ctrl+z but it shows ^z, still do nothing (by DANNY123)
Find each length of a multidimensional array (1,2)
 
Lets take int var in a single dimensional array I can find the size by using .length() but how do I find "size1" and "size2" individually?...
[30 replies] Last: Don't consider yourself daft - we're human, and our brains don't alway... (by LB)
by stdeez
HELP PLEASE: LAB ASSIGNMENT
 
TEACHERS EXAMPLE: #include <iostream> #include <fstream> using namespace std; int main() { int grade1, grade2, grade3; ofstream outFile; ou...
[7 replies] Last: wordpad works perfect thanks. i feel like an idiot i thought about op... (by stdeez)
February 2013 Pages: 1... 4243444546... 67
  Archived months: [jan2013] [mar2013]

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