[try Beta version]
Not logged in

Beginners - March 2013 (Page 60)

If-else problem
 
Hey everybody. I'm writing a code to print a basic tree, with random birds (v) and flowers (o) in it...
Mar 10, 2013 at 4:30pm
[2 replies] Last: That solved my problem, thanks! :) (by Darkkillex)
by Dirk23
read file
 
I want to read a file, but this code works only for the first line. What should I do if I want it to...
Mar 10, 2013 at 3:44pm
[1 reply] : You should look at this example http://www.cplusplus.com/reference/cst... (by mariostg)
Hangman issue
 
Hi everyone, I am nearly finished writing a good version of hangman, the issue that I am having i...
Mar 10, 2013 at 3:44pm
[1 reply] : I solved my own issue, i decided to save guessed letters into a new st... (by nukeboy666)
please check mine :)
 
question: write your implementation of the function double power(double x,int y); that returns the ...
Mar 10, 2013 at 3:30pm
[5 replies] Last: oh..... thank u very much for ur help! i need to push much effort to ... (by ain najwa)
floating to hexadecimal - writing function
 
Hello geeks. My teacher gave me horrible homework i can't cope with. He told me to suggest a way to...
Mar 10, 2013 at 2:32pm
[1 reply] : http://en.wikipedia.org/wiki/Positional_notation#Base_conversion Shoul... (by MiiNiPaa)
Trouble understanding break and scope of for loop.
 
After managing to complete problem 7 of the Euler's project (finding the 10001st prime number), I lo...
Mar 10, 2013 at 2:20pm
[2 replies] Last: Thanks a lot Chervil, that cleared things up nicely. Appreciate the ad... (by Olysold)
structs and functions
 
hello there, I'm working on a program for my class I'm using struct and functions well here is my pr...
Mar 10, 2013 at 1:49pm
[5 replies] Last: thank you very much edit: changed it to void, still works fine (by eblader)
How to use tab(/t) with Format
 
Hey, I am working on some code where I need to print out some strings but will like to tab after pri...
Mar 10, 2013 at 1:47pm
[3 replies] Last: That should work. You don't have to put each string in double quotes,... (by binarybob350)
reading a line of unsigned integers with spaces
 
I want to read a line of unsigned integers from a file seperated by spaces and put the values into a...
Mar 10, 2013 at 1:46pm
[9 replies] Last: Not the same, but similar in one-two thing: http://www.cplusplus.com/f... (by fx11)
string not added to list
 
#include <string> #include <sstream> #include <iostream> #include <list> using namespace std; ...
Mar 10, 2013 at 1:10pm
[2 replies] Last: The problem is in your while loop. tempString is the first element, w... (by binarybob350)
by abzksm
need some help please
 
I input X,Y and x^y where x=x*x*...x (y times) so how i can find power in C++?
Mar 10, 2013 at 11:12am
[1 reply] : If y is of type int and y > 0 you can try: long power = 1; for (int... (by abhishekm71)
create X objects
 
How can I create x objects of a class if x is an inputed int? class test{ }; int x; cout<...
Mar 10, 2013 at 9:43am
[9 replies] Last: Dynamic allocation (new/delete) can get very complicated very quickly.... (by Stewbond)
CALCULATNG
 
How to calculate the commission of a person problem. calculates and display each sales person's co...
Mar 10, 2013 at 8:34am
[3 replies] Last: float sales, commision; cout << "Enter sales: "; cin >> sales; commis... (by Stewbond)
by Dorim
Game list_Immediate Help
 
I'm trying to add a loop which checks if there is any duplicate names. I can't come up wit an answer...
Mar 10, 2013 at 7:22am
[1 reply] : First off please use codetag whenever you post your code to the forums... (by closed account 3qX21hU5)
need some definitive comments please
 
hey everyone, im a beginner in c++. our professor gave a program and our assignment is to make an al...
Mar 10, 2013 at 7:20am
[1 reply] : You want to know what this program is doing. Is that your question? I... (by Chris Meyer)
by Fyah
How can I create a DO WHILE LOOP MENU in C++?
 
OMG
Mar 10, 2013 at 7:06am
[2 replies] Last: #include <iostream> using namespace std; void printMenu(); void ente... (by tntxtnt)
Trying not to write two FOR loops
 
So this array has a set of values already assign to it. Is there a way to print out the array tha...
Mar 10, 2013 at 6:33am
[6 replies] Last: - Don't worry about it, just programming and having fun. (by thejman250)
assignment, must use qsort in member function. help.
 
The help I need isn't with using qsort, so much as it's using the compare function. I've done it wi...
Mar 10, 2013 at 6:27am
[no replies]
COMPILING ERRORS
 
Tried doing some research on my own but I just keep changing the error codes. int main () { ...
Mar 10, 2013 at 6:23am
[8 replies] Last: No that is great info thanks for taking some time to clear all this up... (by closed account 91AfSL3A)
Pointer help
 
I am a C++ student and am needing some assistance with the following assignment to where I am to imp...
Mar 10, 2013 at 5:39am
[6 replies] Last: Thanks too vin, much appreciated (by bigyankeefan)
March 2013 Pages: 1... 5859606162... 87
  Archived months: [feb2013] [apr2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.