Beginners - December 2015 (Page 18)

Need dev c++ example
 
Hi, freind you know i am new in c language, i want to you share with me your own working dev example, and project's, advance thanks.
[2 replies] Last: http://www.cplusplus.com/doc/tutorial/ (by JayhawkZombie)
Question about Dynamic Memory Allocation
 
///Write a complete program that will randomly assign the values of 3 - 38 to an array of 70 integers and then print these values to the screen. A constructor m...
[2 replies] Last: You're also using mismatched new and delete operators. Kind of. Except... (by Moschops)
Unable to compare values
 
Hi, I am trying to check the player position against the Monster position so I read the player position in using a pointer to the player (Player* playerPos)...
[1 reply] : What is a Player? You're probably going to need to show more content... (by jlb)
by noodel
for loop and if statement
 
HELLO. This program counts the average height of n people, how should I make it count how many people are higher than 1.6meters? How hould I use IF statement? I...
[3 replies] Last: Inside or outside the loop? If all you care about is the number of ... (by andywestken)
Help!!!! SomeOne?
 
Write your question here. Test Monday, trying to do this example and I can't finish it here's the Example Exercise #1: Declare a structure called Student which...
[5 replies] Last: Since you need it by Monday, that's considered a emergency service, a... (by FighterCoder)
i need explain
 
I have code it run okay . but I need explain first what is difference between int Y and Z and I need to know how the code run #include<iostre...
[2 replies] Last: no, the code give us to explain ,, I understand all ,but the Z I don't... (by ibrahimha7)
Please check my Mode Program
 
This program finds the mode of a given data set. By definition, mode is "the value that appears most often in a set of data". There can be more than 1 mode. Th...
[2 replies] Last: This is how it would work for data set of doubles between 0 and 1 Let... (by mpark4656)
please help me
 
Write your question here. please help me to write this program my teacher told us to write this program and no one write it , it is difficlut You are require...
[3 replies] Last: I did this cod and i don’t know how to complete it to calculate the ... (by iiifaris80)
by dana18
convert txt to csv
 
how can i modify this code if i want tor use a file CSV? the cellules are separated by " ;" and the firs line contains the name of the column #include <std...
[1 reply] : This is essentially replacing every ; with a , https://stackoverf... (by Moschops)
by ohad
happy hanuka
 
can u please tell me whats the reason for the breaking in the end of my program? #include "stdafx.h" #include <iostream> #include <allocators> #inclu...
[2 replies] Last: It works fine.. but ends with a break. Its not close normally from som... (by ohad)
Please help interpret this question.
 
Hi all, I have a hard time understanding this question from my textbook: "Write a recursive function named oddNum that accepts three arguments: an array, ...
[3 replies] Last: I would love to see your code when you are done. Also so much for goi... (by MarketAnarchist)
Including files.
 
Hey guys so I think that I will write different functions in different .cpp files and include them into main.cpp. But I don't know how to do it. Do you keep the...
[3 replies] Last: Thanks guys! For the record, I'm using Deuter IDE on Android, since my... (by TheLoneWolf)
by GTHell
Can I learn two languages at the same time?
 
Will I be able to learn C++ while learning HTML? I'm learning C++ at college first year but it's bored and I want to teach myself HTML. I also teaching mysel...
[7 replies] Last: No, no, I never think that HTML help me with C++. I just want to know ... (by GTHell)
fibonacci numbers
 
Does my logic make sense? // What is the index of the first term in the Fibonacci sequence to contain // 1000 digits? #include <iostream> #include <mat...
[no replies]
Help with reading from txt file
 
Hey guys, I need to get all the lyrics from my txt file into my program but unfortunately when I put a test run in there it keeps saying that the file is not fo...
[17 replies] Last: Found what the issue was. I didn't save the file name under ".txt" and... (by C0D3FR3AK)
finding sum of 2-d array
 
So i'm just trying to find the sum of rows and columns of this 2-d array. I keep getting the same output and feel like I'm not actually calculating a sum, here ...
[5 replies] Last: kind of... So, here's your array. It's a different size than yours, ... (by JayhawkZombie)
program to display most repetitive alphabate
 
i need information that i am trying to print most repetitive alphabet. my program is working but i just need to know that whenever in a sentence number of alpha...
[1 reply] : In your example, H L and E are appear twice. Is that what your trying... (by SamuelAdams)
guessing game
 
Does anyone know why I only get the first letter correct? When I try to guess the letter "h" or any other correct letter, it prints out "try again" instead of "...
[8 replies] Last: That is exactly what I am working on now haha! (by galaxylfc)
Question on unions
 
What exactly are they used for and please help me with a few questions. union { //Why am I able to have no name for a union? How would you call this? in...
[2 replies] Last: I don't have much background, but what you're talking about appears to... (by keanedawg)
by srah
Why is this not working?
 
Hello guys! For some reason, when I display the list of numbers I just get one random number instead of the real list. Also, I get negative numbers in the tot...
[5 replies] Last: @Peter87 Yeah. But I was basing the 50 on what the OP shows in their ... (by whitenite1)
December 2015 Pages: 1... 1617181920... 43
  Archived months: [nov2015] [jan2016]

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