Beginners - October 2013 (Page 81)

problems with find_if function and an overloaded operator
 
Hi, I'm having some problems understanding what I need to do for the function find_if(). I was reading the article on this website and it looks like this is the...
[6 replies] Last: Ok, that makes sense. I went back to the drawing board, drew up an ite... (by catalanor0220)
is my code right
 
Write a program that reports whether a number input is divisible by 7. (Hint: If a number is divisible by 7, that means you can divide it by 7 and get a remain...
[1 reply] : I don't know, what does your compiler say? If it compiles, is it alway... (by LB)
Loop
 
Exercise 1. Write a program that uses one variable int n and asks the user to input an even number. If the user enters an even number, the program prints the va...
[9 replies] Last: ty so much (by boy3005)
Help with program
 
Hello, i am having a problem with my program. I cant get it to stop and show me the screen. The program is meant to show the factorial of even numbers 0 one to...
[3 replies] Last: Thanks guys, i got it to stop and the program works! (by ashmedai)
Why won't this compile?
 
Code is pretty standard. I'm getting an error that the compiler doesn't recognize "printf" .... but isn't included in #include <cstdlib>? #include <iostr...
[8 replies] Last: I stand corrected - apparently I didn't learn the first time either. (by LB)
Structure of Arrays with functions
 
I created this program to store data about a Movie. The function names that are inside the int main appear underlined with red, but I'm not sure what's wrong wi...
[3 replies] Last: Hi there, I think the problem lies here, as an example: Declaratio... (by closed account o3hC5Di1)
by dusty
class syntax error help
 
I am writing a program to store in a class a particular temp. I'm not very far along and am new to classes so I don't really understand this syntax error. The...
[4 replies] Last: That did it. Thanks. (by dusty)
String ignore space
 
Hello there, Sorry if this has been asked before, but I cannot find an answer for this anywhere. I am taking my first C++ class and this problem came up which m...
[1 reply] : Hi, Why are you doing both getline(cin,s) and cin >>s ? Getline s... (by closed account o3hC5Di1)
help a little
 
hi. my code print numbers right to left. how i can reverse it ? #include<iostream> #include<conio.h> using namespace std; int main() { int a; for...
[2 replies] Last: ok. ty @giblit. i think i must use arrays :) ty ty :) (by mohsenios)
Arrays
 
So the idea is I will input 10 numbers and the program will arrange it into ascending order. I know I have to use arrays and for loops. I just don't know how to...
[7 replies] Last: Hello @sanasuke15 I have a different approach, to solve this problem, ... (by eyenrique)
Voting Process Program. It seems complicated for me but maybe easy for you.
 
So here is the algorithm (simplified only) This is a program that counts votes for a position(for this program a president). We'll call the person in charge of ...
[3 replies] Last: well the reason your code does not loop back to the beginning is becau... (by Manga)
any help?? (1,2)
 
Display the number of "the" in a text file
[26 replies] Last: > But I didn't really meant to hurt anyone or be offensive. I'll try t... (by JLBorges)
Should we use do while loops, nested ifs in theis question??
 
Write a program that uses nested loops to read the marks of 5 students in 3 subjects and calculate their total marks and average. If you can...do this quest...
[5 replies] Last: Thank you...we had to use nested FOR loop...i've used WHILE loop...whi... (by Daimonz)
Cant get functions to work
 
I have 2 functions that I cant seem to get to work together. One sets up an aray of numbers and shuffles the numbers. The other one pulls the numbers a number i...
[4 replies] Last: Please don't spam the forum with multiple threads for the same questio... (by MikeyBoy)
please help
 
I have written a program and i have saved it.Now I need to open it in notepad or any other application through which I can copy the text and ask doubts from it....
[6 replies] Last: Netbeans is also worth mentioning. (by IWishIKnew)
Left to Right, Right to Left
 
took me a long time to figure out how to make this program going from right to left, to left to right. I now need to figure out how to make it hit the screen ed...
[7 replies] Last: @lumpkin , the prof had the sleep set at 300 and it took an eternity f... (by closed account N8pE3TCk)
by NowSee
Link soil.h and libsoil.lib
 
Hey, need ur help again. I downloaded both and now iam trying to link it with Visual Express 2012. What i've done: For SOIL.h: Project-Properties -> i...
[1 reply] : Hi there, You may want to move your topic into the "windows programmi... (by closed account o3hC5Di1)
imported libraries and namespaces
 
Hello, I have a simple question. When I comment the line of code "#include <iostream>" and run the program it runs without any errors, but when uncomment "#incl...
[2 replies] Last: Hi there, There is a difference between a library and a namespace. W... (by closed account o3hC5Di1)
Copy contructor with argument
 
I am doing some mistake in creating copy constructor with argument. Please help me to resolve the issue. I wanted to have a copy of "oldClientInfo" object in...
[5 replies] Last: It is ok, but not really a "copy", because timer won't be a copy of cl... (by keskiverto)
Read In .dat file contents and
 
Quite lost on current school programming assignment. Looking for assistance to guide me to solve the problem. The assignment has me read in data from a .dat fil...
[1 reply] : the output isn't aligning exactly the way I want i'm not sure how e... (by nvrmnd)
October 2013 Pages: 1... 7980818283... 86
  Archived months: [sep2013] [nov2013]

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