Beginners - November 2011 (Page 42)

by kato
Permutations
 
Hello, Am trying to come with a simple program that can permutate an array. For example if: st...
[1 reply] : Think about what you have to do here; think about the number of words ... (by Ben Duncan)
Error Message Matching Opperands
 
I have the following code but have the error message "no operator "=" matches these opperands in a f...
[no replies]
by ivlatt
Class definition issue
 
Hi all, I was hoping someone could help. I have an issue with defining some classes in an applicat...
[3 replies] Last: The issue was with the constructor, feel like I'm back to square 1 (by ivlatt)
Use changing variable name
 
Hello, I am trying to program a binary tree with some nodes. First, I determine the number of nod...
[3 replies] Last: Solved, I have made an array so I can use the array-number to identify... (by Thierry)
pointers and functions
 
as of right now this code will compile.. #include <iostream> #include <string> using namespa...
[6 replies] Last: Function pointers; imagine that you didn't know at the time of compili... (by Moschops)
Problem with inheritance
 
I don't understand what's going on here, it seems like there is an easy solution but I can't figure ...
[4 replies] Last: ^ Secont step makes sense. First step is pointless. You provide acces... (by ne555)
pointers
 
Trying to get a grip on pointers. Not exactly going to well. I'm not sure how to use them properly. ...
[12 replies] Last: No worries. It's worth playing around with that code above, though. So... (by Moschops)
by joeyg
plzzz help tell what's wrong with my program the value of x is not performed
 
#include <iostream> using namespace std; void main() { float height, weight, age, x; char g...
[1 reply] : You are having a void main function! How old is your compiler and do... (by eypros)
by hbjgd
Infinite Loop
 
the while loop I have that starts on line 48 is an infinite loop. The Input data is: A www.bark...
[4 replies] Last: If you do take Warnis route, I would read the command as a string. If ... (by andywestken)
Priority help
 
i have to create a scenario of 5 readers and 3 writers trying to access the critical section. The c...
[1 reply] : That's really complicated. What's a P ? Why haven't you usied array... (by kbw)
Error in switch
 
I have some errors in my code. I've taken out the classes and namespaces that I was using, because I...
[8 replies] Last: I went ahead and changed the code a bit, but I'm but I'm still facing ... (by InterFiction)
Including two classese in each other
 
Dear All Hi I have two classes A and B. Each class uses the other class in its functions. So I h...
[1 reply] : You may want to read http://cplusplus.com/articles/Gw6AC542/ In short... (by hamsterman)
Find odd Integer....
 
write a program to calculate product of odd integers from 1-15? How could i solve this?Any one has ...
[1 reply] : You could have the for loop increment from 1 to 15. For each index, yo... (by shacktar)
Whats wrong with this?
 
I need to print my counters in the main program and not in the function but I cant figure out why I ...
[3 replies] Last: Thank you! Got it! (by Cosimo Vilardo)
by Eyad
Problem!!
 
Here is the problem Write a program that prompts the user for a positive integer n = didi-1...d...
[11 replies] Last: @Eyad So, you got it working eh! And have you figured out the next pro... (by Pravesh Koirala)
by hbjgd
Runtime Error
 
My code will execute but when I enter the file to be used it gives me a runtime error that says this...
[1 reply] : bump (by hbjgd)
by vizion
I/O not outputting all lines of text
 
I am new to C++ and am having issues with a class assignment. The assignment is to take an input fil...
[4 replies] Last: Thanks mzimmers and William. It works now. My issue with everything wa... (by vizion)
cutting for loops short
 
hi How do you break out of a for loop if you were to meet the condition you wanted before if w...
[4 replies] Last: yes^^ or make your statements increment i to meet the condition (by iFailed)
by SephX
GUI problem
 
Hello, I wonder if anyone could help me with this problem, i'm barely starting to program using GUI'...
[no replies]
Unable to pass in pointer to function
 
Hi I recently wrote this function for creating an array by passing in a pointer . whoever it does n...
[no replies]
November 2011 Pages: 1... 4041424344... 65
  Archived months: [oct2011] [dec2011]

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