Beginners (Page 9)

Simplify
 
Nice easy one for you guys I'm sure.. My brain has just had enough. how do I simplify this so that t...
[10 replies] Last: ah yeh this is what ive been playing around with for an hour now. tha... (by MrBeavis)
by jksdk4
Structs, arrays, omitting vectors
 
Hi. I'm doing an assignment in C++ that mainly deals with structs and arrays. They are not my strong...
[5 replies] Last: Yeah, before you noted the typos I had that function named printNumber... (by Lowest0ne)
What should I do next?
 
Hi, guys. I have been studying C++ by myself for a while and finished reading C++ Primer by Stanley ...
[6 replies] Last: To Computergeek01: I guess you misunderstood me. What I meant is that ... (by glenjoker)
Can't convert 3 doubles from a string using stod()
 
I've found the following code as reference of stod() function. Here 2 doubles are converted from a s...
[3 replies] Last: stod() function returns the first double number contained in str , ... (by fanliver)
[Help rvalue]
 
Somebody help me!!! using namespace std; class Test { public: Test(){ cout<<"Default con...
[5 replies] Last: The effect of line (1) is what LB said. Thank you! :) (by fanliver)
Help me in getline function..
 
When using vc++ console i got the wrong output. But in Visual studio i got the right output. Here is...
[4 replies] Last: Enter your address:Philippines Philippines//needs 2 enter Enter you... (by CodeLearner)
Simple Dice Program
 
This program was designed as a simple tool, for my brother, to replace the need of physical dice for...
[4 replies] Last: I was thinking more along the lines of "it's often the smaller, simple... (by NeckDeepInSyntaxErrors)
HELP!
 
I am rebuilding a very old program. This part is in one of the custom headers. The compiler gives er...
[1 reply] : This means there is some other function called round, taking a float p... (by Aceix)
How to assing string value?
 
I created my own list (template) and I want to assing string value, but I got error in file "SuperLi...
[3 replies] Last: In the constructor you forgot to initialize capacity and in the add... (by Peter87)
Beginner c++ math question
 
I'm doing a practice question in which I have the answer to(below), but I'm having a hard time under...
[4 replies] Last: Okay, so I need the sum. MY answer for the code above is .64, is that ... (by hellworld136)
Fractions
 
Well I pretty much have the code 100% complete except that our submission program, Athene, keeps say...
[1 reply] : Nevermind I got it. I thought the negative swapped in the reduction fu... (by RobGillespie)
passing arguments by address
 
Consider the following program. The function modifies the value of the variable "iNumber" and prints...
[1 reply] : The asterisk on line 5 is the dereference operator. http://www.cpluspl... (by giblit)
Insertion sort
 
I was working on the last question of a basic program and I'm having trouble implementing an inserti...
[no replies]
delete operator
 
I have a question regarding delete operator. In case there are 3 instances each holding the next/pre...
[4 replies] Last: I like RAII approach, i.e. some wrappers around naked pointers, I mean... (by BenCPlusPlus)
I have looked around, problem with range
 
Problems with using a set range for an input I want the input to only allow 0.05 to 0.20 0.05 =< pg...
[4 replies] Last: Thanks a lot guys so I will try using a different data type such as in... (by djninjanz)
Coud any one give me a hand?
 
How to read file in array if you know the number of rows but you dont know the number of columns? ...
[8 replies] Last: Like I said earlier you could either read in each row twice first time... (by giblit)
Differences between Cout and Printf
 
Im actually programming in c++ so I wrote those lines with the same message and I knew that the prog...
[1 reply] : printf comes from C and doesn't handle C++ types. cout is C++ and ... (by Peter87)
setscrollpos
 
I am confused completely, How can I fix this? Background: I am trying to rewrite really old but u...
[2 replies] Last: I saw that, but what is wi.hscrl in my case? Thanks (by SteveOshnall)
by lekha
how is it calculeting..??
 
Greetings everyone... i would like to know how c++ is calculating this equations manually...?? ...
[5 replies] Last: [quote=keskiverto]Peter87 wrote "Right-to-left", probably as typo, for... (by Peter87)
by klay2
need help with if statements
 
I think the problem is that I'm comparing strings in the if statements #include <iostream> ...
[4 replies] Last: You can use && instead of two if statements. Also, once you find ... (by dhayden)
Pages: 1... 7891011... 43
  Archived months: [jul2014]

Cannot post in this page. To post a new message, go to the first page.