
please wait
by SheldonFan
"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 portion, I've removed it to work on it separately. The goal is ... |
Feb 17, 2014 at 6:59pm
[2 replies] Last: That is it! Thank you so much; I'm not sure why it didn't occur to me ... (by SheldonFan)
|
by bwilfong3
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, but I am running into a problem. I have an encryption ... |
Feb 17, 2014 at 6:06pm
[no replies]
|
by kmartar
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 Heading that has data members to hold the company name and the rep... |
Feb 17, 2014 at 5:38pm
[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 is "000-1.#IND" What am I doing wrong? Any help or tips are a... |
Feb 17, 2014 at 5:21pm
[4 replies] Last: I'm not completely sure but maybe you could try using int functions in... (by axtyax)
|
by Kulis18
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 (showing by function show_wall). What I do wrong? My second que... |
Feb 17, 2014 at 5:12pm
[no replies]
|
error fstream |
I have some problem with the ifstream/ofstream both in the two functions. This is my class: using namespace std; class 78{ public: 78(){} void codi... |
Feb 17, 2014 at 4:46pm
[1 reply] : Class names can't start with a digit. If you have other problems ple... (by Peter87)
|
by MOSKing
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 very large file. The code below reads in the entire file and... |
Feb 17, 2014 at 4:22pm
[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 #include<iostream> using namespace std; void Input(int ... |
Feb 17, 2014 at 3:57pm
[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 limited so I'm not sure what to do. The program below runs ... |
Feb 17, 2014 at 3:56pm
[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 0 6 8 The first number on the line is the number... |
Feb 17, 2014 at 3:49pm
[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)
|
by BreezedStars
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'm writing a program that works with two sets of numbers put... |
Feb 17, 2014 at 3:44pm
[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 print out this: 1, 2, 3, 4, 5, 6, 7 1, 3, 4, 5, 6 ,7 ,2 ... |
Feb 17, 2014 at 2:54pm
[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 a tic tac toe game with arrays. I used my previous working ... |
Feb 17, 2014 at 2:39pm
[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 from underneath me. I spent so much time writing out just ... |
Feb 17, 2014 at 2:13pm
[5 replies] Last: Hey! I figured out where to put the IF Statement to print out either A... (by aju33)
|
by Tiawulf
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 them in order from smallest to largest and check for a depu... |
Feb 17, 2014 at 1:17pm
[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 it is (I like a challenge) and found myself giving it ago in ... |
Feb 17, 2014 at 10:34am
[10 replies] Last: > Is there any specific reason as to why the variables need to be init... (by JLBorges)
|
by Xylotron
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 to work that it tells me how many different Palindromes are t... |
Feb 17, 2014 at 9:02am
[5 replies] Last: It does look like the OP actually wants to type a list of words and ex... (by keskiverto)
|
by Fate2122
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. Basically, I need to write a function named range- which r... |
Feb 17, 2014 at 8:43am
[4 replies] Last: Too much code. 1. Initialize the static/global "min" and "max" sensib... (by keskiverto)
|
by Xylotron
Bsearch Linear Search User Defined function.
|
Can anyone rectify the following code by me. I wanted to do Linear Search through User Defined Functions, The code should tell whether the an Item (inputted by ... |
Feb 17, 2014 at 7:29am
[1 reply] : #include <iostream> #include <conio.h> bool bsearch(); void main() ... (by Smac89)
|
by bbunn77
Assigning random values.
|
Hello forums, so i need to create a linked list in which each node is assigned a random value consisting of 0,5,20,100,500,1000,5000,10000 or 25000. So my quest... |
Feb 17, 2014 at 5:37am
[6 replies] Last: Like i said in the OP, i need to create a linked list in which each no... (by bbunn77)
|