Beginners (Page 5)

by Dkob1
Basic operators question - simple
 
I'm not sure but I think some of these are wrong but need someone to check thanks. int a=3, b...
[1 reply] : Why don't you just test it? Anyway: errors in first two lines: 1) 3 ... (by MiiNiPaa)
While loop for adding numbers infinitely
 
Write a program that will read in a list of numbers and print the sum of the numbers and the average...
[8 replies] Last: Perhaps I'm missing something. When you wrote a static_cast is most c... (by dhayden)
by Dkob1
Math Basic question C++
 
Would this print out a+C+5 ? cout << int('a')+int('C')+int('5'); int x=17, y=15; ...
[8 replies] Last: #include <iostream> #include <type_traits> int main() { static_a... (by JLBorges)
Why should i use this??
 
Hello, I'm wondering what the benefits of iterators are? //stl style iterator QString::...
[1 reply] : http://stackoverflow.com/questions/131241/why-use-iterators-instead-of... (by mutexe)
Create <MyLibrary> instead of "MyLibrary.h"
 
Hi, as u all see by looking at this title i want to create library like <iostream> <cstdlib> in...
[2 replies] Last: Thanks for reply man, i will check this out :) (by etrusks)
[answered] Checking value of several slots in array with Switch statement?
 
I am new to C++ and I am trying to put together a little tic tac toe game. I have it figured out exc...
[3 replies] Last: For any other beginners who may be interested in seeing what my "final... (by namethief)
CUDA programming c++
 
Hi everyone I mean to implement my c++ codes with CUDA, I have windows 8 and vs2013 installed on my...
[no replies]
Cin.width Problem?
 
Cin.width is not limiting the number of characters read from a string. Any explanation why it isn't ...
[3 replies] Last: cin.width is not compatible with strings, only cstrings Wrong. JLBor... (by MiiNiPaa)
Compare Two Arrays
 
I'm trying to make a program where two arrays with 10 digits each are compared to one another. The p...
[2 replies] Last: Thank you. That did give me the number of matches , but now I would l... (by iByakuya)
by Sh0es
Overloading the << Operator.
 
I'm struggling to get my code to compile, but I currently have only one error in my innermost class....
[5 replies] Last: In answer to your question, @Sh0es, we probably need to see at least t... (by NT3)
User Defined Functions
 
In my class I am supposed to write a program with user defined constants and user defined functions....
[4 replies] Last: Edit: Nevermind I figured it out! Thanks again Pin! (by iByakuya)
by Ch1156
How can i use getters and setters with math? (1,2)
 
I have a function in a game i'm working on that is the shop function and I need to do some math for ...
[37 replies] Last: Me too :+( (by TheIdeasMan)
why function isnt returning double
 
Explanation on why the weight is returning back as an integer and not double? thanks. /*Write a ...
[1 reply] : In your feed pet function try changing weight = (double(weight + 0.2... (by Pindrought)
Can't get rid of leading zero
 
I'm doing assignment for my compsci beginners class. I keep getting a leading zero before you enter...
[2 replies] Last: Thank you so much!!! (by calisabeth)
Errors with triangle coding
 
I need help with the errors when I run my compiler I still have about 5 errors and one caution !...
[1 reply] : 1.) Use the code tags. 2.) Make sure you are closing your brackets. ... (by Militie)
How program can ask me to put value?
 
I have to code this program Write a user friendly C++ program to: 1) Declare, read in and print out...
[3 replies] Last: Okay! I got it. Thank you! :) (by nomanrasheed)
Dual Sorting Ascending Order
 
Hello, How do I change this function from sorting in descending to ascending order? Can't seem to fi...
[no replies]
by tr1944
Enclosing classes in namespaces
 
I am trying to figure out how to include a class in a namespace, but I can't even get it to compile...
[1 reply] : base1.h namespace x{ class base1 { public: base1(int... (by ne555)
Issue using the pop command for a Queue
 
I'm getting an error message flag up in the code that I'm writing, the error message states "Cannot ...
[2 replies] Last: Thanks for the help, I've been really struggling with Queue functions,... (by JoshObyrne92)
by gmac
std dev.
 
Need a little help. computes the standard deviation1 of a list of numbers in a file. The program...
[12 replies] Last: You say "similar". The devil is in the details, so show your exact cod... (by keskiverto)
Pages: 1... 34567... 93
  Archived months: [nov2014]

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