Beginners - October 2013 (Page 34)

Mouse Cursor (again)
 
Firstly,I'm sorry for posting about the same article again.....but between all the handles and buffers, i lost myself. Here's what i want to do.I have a prog...
[2 replies] Last: Ok, i'm not using graphics, its still plain console....... I'm okay wi... (by closed account 1wvX92yv)
Class and vector related question
 
So I am trying to call call the function: vector<vector<int>> Board::GetSolutions() { return Solutions; } I am trying to call it here, and do not know h...
[1 reply] : So I isolated my problem a little more. Basically, my function is a vo... (by belgarionriva)
by Xyexs
Something to replace System("pause") with
 
Sorry for asking a question that has bene asked about 293012938901283 times... #include <iostream> using namespace std; int main(){ // Program goe...
[1 reply] : See http://www.cplusplus.com/forum/beginner/105772/ (by JLBorges)
by user02
Programming Starter
 
How can one begin programming? One may decide they expect a certain functionality from their program. For example, one could decide they are going to create a p...
[2 replies] Last: Good points in the post. The point, however, is to find some way of ge... (by user02)
by chafah
converting c program to c++
 
Hello everyone. I have tried to convert the following c program into c++ but my problem now is to change array in the program into vector.please help [c ...
[2 replies] Last: #include <iostream> #include <vector> #include <iterator> #include <a... (by JLBorges)
Code Error!!!
 
HI, I am trying to calculate the average, max and min values from a text file but they aren't quite working. Can someone please check to see the errors and I al...
[2 replies] Last: thankyou for your help (by closed account 3796URfi)
Problem help!!.......................................
 
Hi I need your help and I would appreciate if you help me.The question asks that (I ncrease by 2 The one-dimensional array A of integers is given. Increas...
[no replies]
How can I create a pay rate function in my class?
 
I need to create a function that calculates pay defined in a class. Upon compilation, I get errors saying that I did not declare my print or pay function. How c...
[4 replies] Last: You don't have your print or pay methods defined. You need to define ... (by GRex2595)
by sea711
Review logic error
 
Do I have a logic error in 35-47 (48-60)? Or is it in int main? 14 using namespace std; 15 16 float get_float(string message); 17 float check_vali...
[1 reply] : See previous response: http://www.cplusplus.com/forum/beginner/113992/... (by Chervil)
Calculator help!
 
Hey guys, I need help with a calculator. I made one for class but the one I made was not what my professor wanted and I don't know how to get exactly what he wa...
[2 replies] Last: Wow, you just made things 100% easier. I did just figure out how to si... (by kingcanti)
I need help again...
 
Well, I did manage to finish the last one, but I need help again! I'm learning how to use functions and there's a bool function that's giving me trouble. The ...
[8 replies] Last: you can solve it like this... bool ValidateNums(double principal, do... (by threeright)
Reverse Polish Notation
 
Im having trouble grasping the concept of RPN. I have to read it and evaluate using stack // im reading it in as a string string prefix; cout <<...
[4 replies] Last: can someone help me convert this to take n amount of numbers. double... (by cooolio)
by aish96
THANKS
 
thanks to all you people who helped me in coding my project :D this site is really helpful. i don't think i'll be troubling you people till my exams now :P i t...
[2 replies] Last: thank you ^_^ :D (by aish96)
template function
 
Hi everyone! My FindMaxMin template functions are not outputting the correct maximum and minimum values. How can I correct this? Thank you! #include <io...
[1 reply] : Look at your logic. You say if a number is bigger than the max then as... (by giblit)
Freeware or open source compiler?
 
I don't have a coding issue, per say, just a question about software development. I noticed that Visual Studio express comes with the caveat that it's not inten...
[7 replies] Last: stdafx is some sort of microsoft proprietary header, you don't need it... (by Chervil)
by moreme
no matching function ....
 
Hey Guys; I have a very strange and simple problem. i have a program with a class and constructor and those things. when i want to declare an object for the ...
[6 replies] Last: GRex2595 and ne555, Thanks for your responses, i got it fixed with you... (by moreme)
divisble by prime numbers only sequence
 
I need help with a strange homework question "numbers are numbers whose only prime factors are 2, 3 or 5. The sequence 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, ....
[15 replies] Last: The brute-force took me ~50s The other method ~0.007s The result is a... (by ne555)
Standardized Test
 
I've only started studying C++ for two weeks but I decided to review what I learned by making a standardized test. Ignore a majority of the variables I set up. ...
[5 replies] Last: It really depends on the programmer/end user. (by closed account N36fSL3A)
validate integer length?
 
Hi. I need help adding input validation to my program. When the user inputs his account number, it should only be 5 digits long. //Begin execution int...
[9 replies] Last: True, but can you give an instance of an account number that does? It ... (by admkrk)
Dumb, generic pointer question
 
I'm looking at some linked-list code from class and trying to figure it out. Generally, when I'm looking at new code, I like to see if I can figure out what it'...
[2 replies] Last: Thanks! (by barrelroll)
October 2013 Pages: 1... 3233343536... 86
  Archived months: [sep2013] [nov2013]

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