Beginners (Page 55)

do-while loop help
Hey everyone. I'm trying to make a program where people can input from 2-5 numbers then choose the o...
[2 replies] Last: I think it works now thank you! I don't have a compiler to actually se... (by RocketGrunt)
Shuffle function not working
Can anyone help me figure out what's wrong with my shuffle function? It shuffles some songs, yet ...
[no replies]
Theme creator - Moonrise
hi all for those that use Eclipse Kepler, there is one great theme, named Moonrise its a dark ...
[no replies]
Return statements working with Strings and int's
So I am trying to write a function when called with break up a 3 digit number into a "ones" places, ...
[no replies]
File Problems (Really Nooby Problem)
Okay so Im trying to learn how to write to a txt file and read it. I am still new to programming so ...
[4 replies] Last: Okay thanks I will change the names of the functions. I will come back... (by MasterGeek)
by Blue22
How to Calculate Algebra problems
I'm taking a computer science class that deals mostly with coding. I'm terrible at stuff like this b...
[11 replies] Last: One lots of small things ..... const double k = 6.67e-11; // doubl... (by TheIdeasMan)
Code is outputting the wrong values
Whenever I run my code it's outputting strange values for the number of values in CS 250. wh...
[5 replies] Last: Post the smallest complete program that illustrates your problem, one ... (by jlb)
by hhhr
Find the last line and word in a file
Im trying to find the last line in a file and the last word in the line. if the last word has space ...
[1 reply] : Break into pieces: string wordfromline( string line ) { istringstre... (by keskiverto)
How do I get random swapping in arrays?
I'm trying to figure out how to randomly swap different elements in an array of structures, but I'm ...
[1 reply] : If you don't... (by MiiNiPaa)
chip game
Hey guys, my instructions where to write a chip game, which I have done. Except, I have one issue wi...
[no replies]
by davez
problem with array (1,2)
is it possible to declare a two dimensional array that stores a name and grade because the data typ...
[21 replies] Last: multidimensional array is not like: int array1[ size ]; // size is... (by Gadamatik)
Validity of struct statement.
Is the below statement valid or invalid. Explain answer in either case. classList .pID = 000011...
[10 replies] Last: that is what was stored in classList .pID. pID contains int. int is a... (by MiiNiPaa)
by mimi7
C++ Diamond pattern output
Hey you all. Does any of you know how to solve the code below to make a diamond pattern output? I ju...
[4 replies] Last: Code tags, please. You almost get there: if ( ( (abs(x-3) < y) && (x... (by keskiverto)
Multiplying two arrays
I'm trying to multiply two arrays they are set up number{......0,0,0,0,1,2,3} , number2 {.......0,0...
[3 replies] Last: I am starting at the end because the numbers in the arrays are at the ... (by mtbrooks1993)
Cin problem
I'm trying to make a simple program that asks 2 users for their name and age and then does a simple ...
[4 replies] Last: Okay, thanks. I won't edit the code. I thought I needed to use the ==... (by UnclePutin)
cin is giving me an infinite loop
Hello, super new c++ programmer here. I am trying to make a program that allows uses to input movies...
[3 replies] Last: Ahh I see now, I figured it had something to do with the cin value. So... (by solaire)
problem with encription program
hello i have a problem with encripting a string. the encription method is called hill cipher the ...
[no replies]
by fevzi
Random crashes
The code is supposed to take two matrices from txt files, multiply them and display the result, it w...
[3 replies] Last: Thanks guys, I solved it. Should I post the solved version of the code... (by fevzi)
by rink15
function error.
Write your question here. I have just started learning C++ .This is my first function ,I am not sur...
[2 replies] Last: Thanks Sir, really appreciate your help .I spent almost two hour to fi... (by rink15)
Don't understand how the code is working.
Input and Output Input to your program will consist of a series of lines, each line containing ...
[4 replies] Last: When it sees a letter at line 15 it is at the beginning of a word and ... (by dhayden)
Pages: 1... 5354555657... 97
  Archived months: [aug2014]

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