General C++ Programming - December 2015 (Page 17)

Checking diagonals in an array
 
I need to find all diagonals rows, and columns, in a multi dimensional dynamic array that share a co...
[1 reply] : So you are looking for three in a row. Take any particular cell an... (by closed account 48T7M4Gy)
college assignment,text file~
 
i can read the first customer detail only,others cant read....how it work to read all customer? here...
[1 reply] : Hi, You should use code tags to make your code easier to read : http... (by aquavillan)
How can I continue my question until the user enter the valid input?
 
Hello, I am writing a code in c++ and I need to ask the user to enter the number between 0-4 0= ...
[3 replies] Last: No problem selflearner , treat it as a redirect for anyone planning t... (by closed account 48T7M4Gy)
Expression Tree
 
Hello! I am going over a study guide in preparation for an exam and wanted to make sure that I was d...
[2 replies] Last: Tinypic sucks I'm sorry. Sometimes you have to refresh the page a coup... (by coolioschmoolio)
Why does this code return "3, 5" when the array is not called by reference?
 
#include <iostream> using namespace std; int searchlist(int list ,int n,int value, int foundIn...
[2 replies] Last: Array is passed by reference into the function, because a pointer is ... (by closed account 48T7M4Gy)
by Anony
PLease help, grade depends on this.
 
int main(){ // Bubble Grader Main Driver program created by Bob Bradley for CSCI 221 Program 4 Fal...
[no replies]
My pointer argument won't accept a byref to a pointer
 
I can't compile my code. Hey guys, I'm a little overwhelmed so I will try and break it down. See, ...
[5 replies] Last: GameObject doesn't have a default constructor but it looks like class ... (by dhayden)
Binary search tree not printing
 
Hello, I am trying to print a binary search tree. By debugging i know that root remains equal to 'n...
[4 replies] Last: > Isn't a pointer an address itself. When I am passing a address, shou... (by ne555)
Magic Square
 
Magic Square -Write a program will accept 9 input values. -The program will accept 1-9 values. -T...
[3 replies] Last: Is that the definition of magic square? I thought it was just another ... (by Shadowwolf)
Entrance to randomly generated maze
 
Hello i made program that randomly generate maze with # walls and . as path But how do i define ent...
[3 replies] Last: You should give your already existing code so help can be given. (by Kartoffel)
Bytes in multidimensional arrays
 
Hey, i'm wondering how you find out how many bytes are used in multidimensional arrays. I've been lo...
[3 replies] Last: Okay thanks guys that's how i thought it was done. (by Blybarger7)
Error "string" is undefined
 
VS 2013 keeps saying that "String" is undefined, but I ain't sure what the problem is. #include "M...
[3 replies] Last: The CLI String is in the namespace System. int main(array<System::St... (by Thomas1965)
Biased random generation
 
I'm trying to make map generator. I'm using Perlin noise to make a height map(using 8 octaves and zo...
[no replies]
by Leance
selection using arrow keys
 
Can someone help or tell me where the problem for this? i can't find the error i'm not send all th...
[2 replies] Last: thanks (by Leance)
Segmentation Fault
 
Hi, Someone can help me to solve the problem with segmentation fault ? This is code below, err...
[3 replies] Last: At the beggining in almost empty project my code also appeared to w... (by cire)
by Molly
Snake game using graphics.h and 2D arrays
 
As I'm a starter , I've been trying to make snake game by using arrays and graphics.h library (Well ...
[3 replies] Last: Hi Molly, To store the location of a circle you can use a struct like... (by Thomas1965)
Can my code cause a memory leak with STL Linked List?
 
Suppose I have the following class and I implement the following logic. list<Dock*> myDockPtrs;...
[4 replies] Last: Thank you! (by keanedawg)
How to add ub before each vowel in c++?
 
Hello, I am writing a program that need to translate in ubbi dbbi translator. However, I am not su...
[5 replies] Last: You seem to have the code down pretty pat. Looking at it, you already ... (by YFGHNG)
pointer ambiguity
 
I understand why array_size is relevant, but I don't understand why array_size doesn't cover array (...
[3 replies] Last: Hi, My question is why add array_size + my_array? Why not just array... (by TheIdeasMan)
Housing Market
 
i want to create a programm oa a Housing Market (need address, #of Bed, # of bath, sqfeet, price) t...
[1 reply] : Well you better get started then :) Goodluck! (by TarikNeaj)
December 2015 Pages: 1... 1516171819... 22
  Archived months: [nov2015] [jan2016]

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