Beginners - February 2013 (Page 41)

Can anyone help me start this program?
 
would this be right loop expression or can someone give me useful hints! thanks
[5 replies] Last: #include<stdio.h> int main(void) { int sum=0, num; for(sum=0; sum... (by gauravrpanta)
Problem with creating a "menu".
 
Trying to make a menu with ability to return to main, and quit. #include <iostream> #include <string> #include <cstdlib> using namespace std; int main() ...
[10 replies] Last: That is where function headers come in handy. Using these, you can cal... (by Smac89)
Need help with Functions
 
the project i am creating is for a small theater. the program allows a user to input the row and seat they would like to buy. i created a function that asks t...
[2 replies] Last: I think it's the '=' in line 126. Change it to '=='. (by plexus)
Should I think about Github?
 
Hey there, I was browsing on lifehacker and noticed that there is an application called "Github." I looked into it and noticed that it's for projects with colla...
[3 replies] Last: Thank you for the feedback. Yeah I guess I had the wrong idea for what... (by numbplum)
Help with Class Accessors.
 
My current code is #ifndef SELLER_H #define SELLER_H //***************************************************************** // FILE: Seller.h // AUTH...
[2 replies] Last: Thank you very much. I didn't realized that I needed to put in the con... (by Shaikh Omar)
Pointers question..pls help(answer givn)...cant understand the foll question
 
Q>Design a class BIGBAZAR to store order information. Each order information has an 11-character item code, 20- character item name, price and an integer quanti...
[2 replies] Last: Thank you for the link,Sir My question is that in this program i cant... (by surbhijain93)
Please test the code [racing game]
 
Is the code is running properly ? //header #include <stdio.h> //for printf(); & scanf(); function #include <conio.h> //for clrscr(); function #include <...
[no replies]
Constructors are kicking me in the rear! (1,2,3)
 
Ok, I just started my c++ level two class, after a six year break from level one. I'm not allowed to retake level one unfortunately, so I'm struggling a bit in ...
[42 replies] Last: Pretty sure I have the vector worked out now. Wasn't as mind boggling ... (by xanthian23)
I need help on my homework!
 
I need help on my homework for Computer Science 1! We use Eclipse Your fruit stand has been amazingly successful! With the increased customer base, you have d...
[7 replies] Last: I don't understand part 2&3. How do I keep track of the inventory with... (by ps3lover3)
Lab
 
...
[5 replies] Last: There are quite a few things wrong here, both logically and the way yo... (by Lowest0ne)
static_cast<int> function
 
double amount; amount=34.87; int remainingAmount = static_cast<int(amount * 100); static_cast assigns the result as 3486 not 3487 whereas it does as...
[1 reply] : It's to do with the representation of floating point numbers. They are... (by TheIdeasMan)
by Mead
Explanation needed
 
Hi, I would really appreciate it if someone could explain this source code to me. #include <iostream> using namespace std; static const int N = 10000; ...
[no replies]
Long integers
 
how do you make long integers, I have a program that can add 10 numbers but when a user puts a a really large number, the program closes itself.
[1 reply] : You would use long long instead of int . (by closed account 18hRX9L8)
Code for making files
 
Hello, I want to make my program make a file and write results in them. My program finds the multiples of x under y #include <iostream> using namespace...
[19 replies] Last: my program finds the multiples of x below y, that means if you were to... (by Code Apperentice)
I seem to have forgotten C++!
 
I used to be pretty decent at using C++, well, as far as a beginner goes... Apparently, after not have been doing it for so long, a couple of years actually, I ...
[5 replies] Last: Actually, no I didn't know that, Framework :P lol! I appreciate the i... (by SeanTharpe)
Loops
 
What is wrong with this? #include <iostream> using namespace std; int main() { int a; int sum = 0; int average; int count=-1; cout << "Ther...
[15 replies] Last: data set should start at 0; count = 0; (by greenleaf800073)
Bunny Graduation (Long Post)
 
Here is the project I'm working on. It's mildly entertaining, so I thought I'd pick it up: (I don't know what linked lists are yet) or file input or output. ...
[no replies]
by MrGuy
Need help with text based game!
 
This game is not even close to ready because i just started it and I got stuck on this one part. What I need help with is that i can't seem to make the stats go...
[1 reply] : while your program is running every time you enter an option execute s... (by gelatine)
Some homework help arrays and swapping
 
I have an assignment where I have to find the next permutation of a number (without using the function) In class we figured out how to do this using arrays a...
[no replies]
Issue with displaying a sorted array
 
I am having an issue with displaying a sorted array. int main() { const int INPUT_SIZE = 81; char input ; int selection = 0; /*Collects a string ...
[1 reply] : Suggestions: Replace selectionSort(input, INPUT_SIZE); with select... (by Chervil)
February 2013 Pages: 1... 3940414243... 67
  Archived months: [jan2013] [mar2013]

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