Beginners (Page 57)

fibonacci sequence help
Hey guys, I'm writing some code to output a fib sequence up to a certain term. My problem is that it...
[3 replies] Last: @dhayden Thanks for the reply, i understand it now. (by CpluspProgrammer)
Read Word file into String Array
Hello, working on a school project and asking for sanity check of my code. I have a word file single...
[3 replies] Last: You need to pass in the wordsArray as a parameter. If it's a local var... (by dhayden)
array of pointers confusion
The purpose of the code is to practise on an array of pointers. I want to see this output: touch...
[5 replies] Last: Sorry, I can't help myself: You're using <iostream> and namespace std... (by tipaye)
C++ Craps game
I have gotten this far with my program (to make a working craps game with two randomly generated die...
[2 replies] Last: also lines 27, 28, 42 and 43 have no effect If you really want the us... (by tipaye)
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] : (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)
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]
Pages: 1... 5556575859... 91
  Archived months: [dec2014]

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