Beginners - February 2016 (Page 16)

Calling Min and Max from a 3D Array
 
I made a randomly generated 3D Array, but I need to call the Top three Max numbers and the Bottom three Minimum number. How do I call the Mins/Maxs and cout th...
[no replies]
by llll
project help
 
I am a new com sci student still improving and learning, , I haven't started it yet but posted it early to get help asap. I haven't started it yet, I think I wi...
[no replies]
A Problem about a Sentinel
 
So, I have been working on this problem for quite some time and I know I am making mistakes but I don't know what those mistakes are. First of all I would like ...
[6 replies] Last: Final version of the code: #include <iostream> using std::cout; usi... (by FrostyPine)
Dynamic Memory
 
I have a quick question about dynamic memory. Some say that one purpose of dynamic memory is to let data exist even after the underlying scope that created it h...
[6 replies] Last: The ownership of an object can only be shared with another shared_ptr... (by JLBorges)
Enigma
 
Hello everyone and tank you for reading this topic first. Second I will tell you my problem I'm a student in secondary and for my end work I chose to create a ...
[1 reply] : You are starting with a fairly complex problem. You might want to star... (by Duthomhas)
Add two integers together 20 digits or less
 
My assignment is to have the user enter two numbers that have 20 digits or less and then output the sum. If the sum has more than 20 numbers have the message sh...
[3 replies] Last: I found a video that explains this problem in C++: https://www.youtub... (by DeathLeap)
Question about strtok().
 
Can someone tell me why doesnt strtok() accept a string variable? I cannot use c++ string in this project. So, how do i go about tokenize the string? stri...
[3 replies] Last: char lines ; This is C-string. What you're using is c++ string.... (by TarikNeaj)
loops
 
how would i display the amount of letter grades there are for example if there are three As in the finally section it should display A's: 3. im not very sure ho...
[1 reply] : also for this area im supposed to show the out put of more than one st... (by natdomi)
Mode Question
 
For my comp sci class i need to fix code i made for a program that calculates the mode of a specified amount of numbers and spits it out at the end.I have my p...
[no replies]
Counting char array w/out using the class
 
Have a project I am working on. Basically, The getFileLength function should accept a filename (an array of characters) as an argument and return an integer th...
[5 replies] Last: A very simple way would be to read in a character, and add one to the ... (by Moschops)
by Thelps
how to call specific functions via keyboard input in simple c++ program
 
Hi all, I've written a simple 'Hello World' C++ program. I have also written a simple 'Hello User' C++ program (Identical to the 'Hello World' program apa...
[3 replies] Last: in the above example, is it possible to define a cin variable that wil... (by Thelps)
How to reset the accumulator
 
So I'm in the process of finishing this program where I need to find the average grades of student 1 and the average grades of student 2 but it's giving me the ...
[4 replies] Last: thanks for the help i finally cracked it !! (by natdomi)
help with triangle
 
help me please why can't I set the coordinates triangle??? my code int a=1; int top=5; //coordinate int left=3; //coordinat...
[4 replies] Last: thank you very mach. (by nfnicolas)
point me in the right direction pls!
 
I have a pretty decent grasp on value returning functions but having a little trouble with the voids. Just need a little push in the right direction. Heres th...
[6 replies] Last: Thanks for your timely help Tarik, but wife and kids aren't going to s... (by Billyin4C)
Need help with making a random word genereting program
 
Hi, I'm making a program which will generate random words and the words shouldn't repeat. I'm new in programming and I would like to get some help :) #inclu...
[3 replies] Last: Can anyone give me an example, please ? (by StoyanD)
Issue with identifiers and user prompts
 
I am currently writing a project for college C++, and this week I am supposed to ask a customer using my application for their name, phone number, and other inf...
[7 replies] Last: got it ok, thanks - now i'm trying to ask for their address - I have t... (by Sparrow17)
Getting segmentation error using atof?
 
Was wodering if someone could help me with why I'm getting a segmentation error? My goal is to get a string array through stdin, have the input stop on the wor...
[3 replies] Last: What's with sizeof(int) ? You may not use malloc with non-trivial ... (by cire)
Fun Programming challenges
 
I would like a programming challenge that will: 1) Doesn't require that much math 2) Is interesting and somewhat unique Every challenge I seem to find i...
[4 replies] Last: @Thomas1965 That is just the kind of idea I was looking for![ (by jdm1891)
Data Stucture Topic Need
 
I need Data Structure Project Idea. Project idea should be include Linked_List Sorting Method.
[1 reply] : merge sort for a linked list (by g3n0m3)
pass 2-d array to function in turboo c++ (1,2)
 
#include<iostream.h> #include<conio.h> int BiggestEntry( int arr ); // what about " two parameters representing the row and column"? void main() { ...
[20 replies] Last: [quote=Muhammad Abdullah]why dont you fix the error? Please note that... (by keskiverto)
February 2016 Pages: 1... 1415161718... 46
  Archived months: [jan2016] [mar2016]

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