Beginners - November 2015 (Page 46)

Constructor
 
I know in main() should be A a1 instead of A a1() but I'm curious why A a1() doesn't do anything? ...
[5 replies] Last: Presumably you meant a1 and not z1 . As I said, it's a function de... (by cire)
Tower of Hanoi explanation
 
Can someone help me with this program it's about Towers of Hanoi and it's non recursive solution i f...
[no replies]
by DanaN
Splitting string and assembly issues
 
I can't seem to get my spaces to show up in my text and the numbers and letters are not appearing in...
[2 replies] Last: #include <iostream> #include <string> using namespace std; int main... (by gelier)
Is there any other way to solve my problem?
 
Hello everyone, I am very new to this forum and so in C++, I started just few weeks ago by reading a...
[1 reply] : The solution would be, for each physical property, to store just a few... (by Kevin C)
by boxsta
Averages Sums & Loops
 
Hi guys, I'm new to this coding game, it's one of my uni modules. We are currently looking at loo...
[2 replies] Last: Here is some code to get you started: http://www.programming4beginners... (by Kevin C)
by nazis
Problem with a program, help please!
 
My program finds the secondsmallest number in an array, but when user inputs " 1 ; 1 ; 1 ; 2; 3" pro...
[1 reply] : If the input is 1 1 1 2 3, then the smallest number is equal to 1, and... (by Kevin C)
by Orzo
READ AND EXTRACT VALUES FROM A .DAT FILE
 
I have to make a program using c++ that open and read a file .dat in which there are a lot of lines ...
[no replies]
i can't figure out the problem in this program
 
We're supposed to print out the numbers divisible by 3 in between 1 - 100 #include <iostream> usi...
[5 replies] Last: By the way, http://cpp.sh is the native shell most of the code from th... (by YFGHNG)
Ich habe ein problem mit mein code.
 
Ich benutze das: CHOLESKY:CHOLESKY:CHOLESKY:CHOLESKY:CHOLESKY:...
[no replies]
How do you pull specific strings from a text file?
 
I have a text file with various pieces of information that I need to define and send through some ot...
[no replies]
by zezimo
Generating Permutations of a word Alphabetically
 
For my assignment, I must write a class called Permutation which is used to generate permutations of...
[no replies]
Program crashing - Help needed!
 
The following is a relatively short and simple program that creates an array of student objects. Inf...
[4 replies] Last: You're welcome :) (by MikeyBoy)
Help in my RPG
 
I am trying to make a text RPG and need help so that when the user types in a certain command it wil...
[5 replies] Last: Sort of. You don't have a return statement. The reason for putting ... (by AbstractionAnon)
pseudocode
 
I want to create a program that does the following: Write a process that would create a function ...
[2 replies] Last: could you help by please elaborating on that more? i.e. how that would... (by gml5121)
by Orzo
Read from a .dat file made of strings of numbers
 
Hi everybody! I am a very beginner in language c++. I am doing a thesis and i have to elaborate som...
[no replies]
by kivaj
How to resolve matrix
 
Will upload soon
[2 replies] Last: Will edit for upload code (by kivaj)
Runtime Error
 
Well, I accidentally delete when Editing... I make a little change in the code... #include<stdio.h...
[5 replies] Last: you cannot initialise VLAs > format '%d' expects argument of type 'i... (by ne555)
Exiting do while loop
 
How do I exit the do while loop after k=3, so it won't exit after I type in an answer, but before th...
[7 replies] Last: Figured it out #include <iostream> #include <math.h> #include <i... (by rojan1918)
Having some trouble with an array.
 
I have a list of baseball teams and I'm trying to store all the names in an array. I have written c...
[1 reply] : remove line 11 and replace it with: std::cout << winnerList << std::... (by Kevin C)
November 2015 Pages: 1... 4445464748... 53
  Archived months: [oct2015] [dec2015]

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