Beginners - February 2014 (Page 28)

"Map" printing with nested for loops
 
I am trying to print a "treasure map" for a class. Because my program works well without the map por...
[2 replies] Last: That is it! Thank you so much; I'm not sure why it didn't occur to me ... (by SheldonFan)
Reading text file into an array
 
Unfortunately, I am in a different class right now, so I do not have my source code until I get home...
[no replies]
STUDENT PRORGAMMER NEEDING HELP GETTING STARTED WITH A PROGRAM USING A CLASS.
 
I am writing a program for class and i need help. The instructions say; Design a class called Headin...
[5 replies] Last: Or rather: Heading( const std::string compName = "ABC Industries", ... (by keskiverto)
by htx281
Void Functions
 
My program runs perfectly fine until I get to the void functions. The output for the void funtions i...
[4 replies] Last: I'm not completely sure but maybe you could try using int functions in... (by axtyax)
Creating object in 2D board, using dynamic array
 
I try to create 2D board with random object (#), but the position of "#" do not equal with cords (sh...
[no replies]
error fstream
 
I have some problem with the ifstream/ofstream both in the two functions. This is my class: u...
[1 reply] : Class names can't start with a digit. If you have other problems ple... (by Peter87)
Reading in from a File
 
How do I modify a program to read in a specific part of the file? For example, "zip: 00000", from a ...
[1 reply] : How do I modify a program to read in a specific part of the file? Yo... (by Computergeek01)
set calculator
 
my program is not running and i cant find the problem in it please help. It is a set calculator ...
[3 replies] Last: This: int *A=new int(size1); //creating dynamic array int *B=new int(... (by kbw)
by sheep
Big Number Problem
 
Hi, I'm currently having a few problems with the following code. My knowledge of coding is pretty ...
[2 replies] Last: The current program works for values of N up to several thousand. Howe... (by sheep)
Trying to input matrix from text file into Array
 
Say I have a text file named "matrix.txt" and it looks like this... 3 5 7 10 5 3 2...
[5 replies] Last: I just dont know how to input the matrix... 3 5 7 10 5 3 2 0 6 8 Whe... (by blackvelvet77)
Removing Elements From an Array with Overloaded Operators
 
I asked this question last night and I didn't get any replies. I figure I'd give it another go. I...
[1 reply] : insert() should deal with duplicates and ordering. Why does operator+... (by kbw)
HOW TO GET ALL COMBINATIONS OF ONE ARRAY?
 
does anyone know how to make a sorter for example we got 7 numbers from 1 to 7, what should I do to ...
[6 replies] Last: JlBorges thank for your contribution, thats what i was trying to do to... (by closed account ivDwAqkS)
MIPS assignment question for arrays
 
Working with MIPS in college, never seen this before. Last assignment worked out well, this one is ...
[no replies]
by aju33
Functions and time
 
Gee, I have a doozy this time. I can follow along in class, and then the homework pulls the rug out...
[5 replies] Last: Hey! I figured out where to put the IF Statement to print out either A... (by aju33)
program crashes for unknown reasons
 
when option 2 is run the program crashes. option 2 is designed to generate a set of 23 number, sort...
[8 replies] Last: > I've translated your problem into c++. the original code was valid c... (by ne555)
My first program
 
So, I recently found myself growing a passion for learning the c++ language after reading how hard i...
[10 replies] Last: > Is there any specific reason as to why the variables need to be init... (by JLBorges)
How to find Number of Palindromes
 
I have made the following C++ code, It tells me if a String is Palindrome or not. How do I make it t...
[5 replies] Last: It does look like the OP actually wants to type a list of words and ex... (by keskiverto)
Difference of 2 #s using static variables
 
Hi. I'm doing this homework assignment for my c++ class and I'm (for lack of a better word) stuck. ...
[4 replies] Last: Too much code. 1. Initialize the static/global "min" and "max" sensib... (by keskiverto)
Bsearch Linear Search User Defined function.
 
Can anyone rectify the following code by me. I wanted to do Linear Search through User Defined Funct...
[1 reply] : #include <iostream> #include <conio.h> bool bsearch(); void main() ... (by Smac89)
Assigning random values.
 
Hello forums, so i need to create a linked list in which each node is assigned a random value consis...
[6 replies] Last: Like i said in the OP, i need to create a linked list in which each no... (by bbunn77)
February 2014 Pages: 1... 2627282930... 60
  Archived months: [jan2014] [mar2014]

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