Beginners - December 2015 (Page 9)

by jk237
passing dynamic string array
 
I want to be able to dynamically create an array of strings. For example, I might want to create an array of state names. The number of states and string length...
[5 replies] Last: Ok, here is a tutorial for dynamic arrays, I benefited from it in the ... (by DeathLeap)
by leBOB
Please fix my program
 
I tried this out and I had no build/compile errors but when I run it a message appears that says "test.exe has stopped working" and when I close that the progra...
[6 replies] Last: Thank you very much. I'm a beginner so I did not know any of that. :| (by leBOB)
Adding data to a txt on different line
 
I want to make a database of people but its over riding the text in the .txt. How would i do this ived tried my hardest to figure it out but i cant so all help ...
[1 reply] : http://www.cplusplus.com/forum/beginner/181546/ (by DeathLeap)
storing data in a txt
 
im trying to make a program that store a person firstname, lastname, birthday etc in a txt. how would i make the txt file be named to the persons lastname and f...
[5 replies] Last: Hi, I coded this real quick for you. #include <iostream> #include ... (by DeathLeap)
Really Need Help...please...
 
First of all, I am total new to c++ and far from being expert, so I really need help to complete my task and improve my skill.Everything in the source code is w...
[4 replies] Last: Solve the problem already last night Thank you for your great help tho... (by WanHazyan)
Need help on ifstream and array assignment
 
I have been working on this program for a while now I am a beginner so it is fairly hard and I have restarted many times if someone could please help it would ...
[1 reply] : Well, maybe you were almost there - instead of restarting yet again, p... (by Chervil)
Comment on this Factorial Class
 
I am fairly new to C++ Programming and I'd like some input on this program. This is a simple program that calculates Factorial of a given integer. With this p...
[3 replies] Last: I'm sorry. I don't understand what you mean by "maintaining any state... (by cire)
by nafy
HELP with do-while loop
 
here is the question im sorry it might be silly but it is because i have just started learning c++ My question is that im trying to get information from the u...
[1 reply] : Check the input before you put it in your array. If it isn't what you ... (by booradley60)
loop
 
Help me, Im a total beginner. Idk what to add to this program and what to edit out? On the first day there were 'k' items sold, every next day there were 'm' ...
[2 replies] Last: The new variable in for loops is always my mistake. It's really hard t... (by materialisticsociety)
Why does my code not work
 
Problem statement: You are given a group of N letters, and a 2D array of X, Y dimensions. You have to complete the 2D array with the pattern that derives from ...
[2 replies] Last: pattern = chars ; if (counter==n){ //if this is tr... (by ne555)
fstream ifstream ofstream
 
i want to know if we can use these three in a single program i have designed a program to create a .txt file (if it doesn't already exist) and to enter some l...
[3 replies] Last: Think of it like this: int a = 3; int a = 6; int a = 5; ... (by Chervil)
by Nanyo
Help!!!!
 
Hello everyone! Thanks for the help in advance!!! I need to create a program that gets an input of 10 names(strings) and after inputing each name you also in...
[3 replies] Last: hello people sorry xD I solved it already but thanks for the help (by Nanyo)
Task Required
 
I am a beginner in c++ programming but i want to improve my skills any small tasks so that i can work on it (y)
[1 reply] : These beginner exercises are quite amazing for, you guessed it, beginn... (by TarikNeaj)
Need help with "Strings are your friends until they betray you" excersize
 
I've been trying to solve the following problem but my code crashes for some reason, and I can't seem to find the problem. Any input? Write a program that as...
[7 replies] Last: Also, its worth looking at the example code given for the string funct... (by Chervil)
Reading from file causes crash
 
I'm trying to read a .json file into my program. I'm using the rapidjson library and following this tutorial: http://rapidjson.org/md_doc_tutorial.html ...
[2 replies] Last: The error is here:[code firstline=6] "playerstart": { ... (by Chervil)
by Nanyo
highest scores program
 
Hello everyone! Thanks for the help in advance!!! I need to create a program that gets an input of 10 names(strings) and after inputing each name you also in...
[no replies]
why no int main() or int winmain ()
 
so for the first time i was trying to understand the source code of a program I found online, I understand this is visual c++ and there are some minimal differe...
[2 replies] Last: ok thank you so much (by donvigor)
by osur
class private accessing issues
 
Hey all, I'm currently learning about private/public parts of a class, and have some basic understanding about them. While making a simple translator program, I...
[3 replies] Last: Thank you both for the replies, With cire's correction I was able to r... (by osur)
Detection of word NANO from a string using c language
 
Why my code is not perfectly working ? #include<stdio.h> #include<conio.h> #include<string.h> enum my_state_t { STATE_1=0, STATE_2=1, S...
[2 replies] Last: Not sure why you need to jump from state to state like that? Is this s... (by Smac89)
by GTHell
Recommend me a good beginner book please!
 
I'm learning C++ in college but I feed the need of wanting to be good at language. Recommend me a book base on my skill please: Pros: I'm a decent studen in ...
[2 replies] Last: Seem like a great list but they still recommend "Programming: Principl... (by GTHell)
December 2015 Pages: 1... 7891011... 43
  Archived months: [nov2015] [jan2016]

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