Beginners (Page 22)

c++ helping please
Consider that the file student.txt contains the name and corresponding exam scores of 20 students i...
[2 replies] Last: You need to check if the file opened correctly before you can use it. ... (by Thomas1965)
by polip
struct and arrays
when i run the program it only display the info of 8 subscriptions then the program exit I want to...
[4 replies] Last: For what I can see you’re doing well by your own. You really don’t... (by Enoizat)
Looping when user input is not the specified number.
Hi everyone, this is my first post on here so apologies if it hasn't been done right. I need help...
[3 replies] Last: Thanks everyone, I have used the solution on Chervil and it's working ... (by mElizabeth)
building a wall console game
Hi guys I'm creating a simple snake console game and I have run into trouble while trying to build t...
[9 replies] Last: sleep will be fine for a text based game. It probably is not the best... (by jonnin)
by chuvak
Code breaking with pointer
My program keeps crashing and/or not printing the correct output. Am I managing dynamic memory incor...
[3 replies] Last: Hero::getSize() still does not answer my question about whether your C... (by AbstractionAnon)
Iterators question
Hi guys I am making a live flights departure system and in the program I have a vector of Flight obj...
[3 replies] Last: hi Jlb the first snippet caused a crash thanks guys I never knew that... (by adam2016)
by Chayma
How could i wrote this program , i need ur help ?
Hey , i really need your help to write this Programm c++ ? Write a converter that converts decimal ...
[1 reply] : Please note that this is not a homework site. We won't do your homewor... (by keskiverto)
error: invalid types 'char[int]' for array subscript
Hello all, I am developing a program that is menu-driven, allowing for the following menu choices...
[1 reply] : The function getline: (by Repeater)
by Yertoo
What next??
Hi guys! I just had a quick question for any experienced programmers out there, I have been stumped ...
[7 replies] Last: All I know is that a lot of games are made with c++ so I figured that... (by Thomas1965)
by dribs
Why won't my program get out of the first function?
I finally got my program to compile but it won't leave the first function. #include <iostrea...
[1 reply] : Line 49: isTimeValid is supposed to be a function taking a parameter... (by lastchance)
How would I write this for loop as a while loop or a do-while loop?
Hey, I'm really new to coding. This is my first semester taking C++ and I need help translating this...
[1 reply] : for (initialization; condition; increment){ body; } { in... (by helios)
confusing prime factorization code, please help :(
Hi there! I was hoping for some help with this code for my school c++ class. We have to create a pro...
[3 replies] Last: Thank you both a bunches:) I was able to work it out! (by cppnewbie13)
Airplane seating Functions
Hello, In the function Reserve, it should automatically update the seating chart text file with an ...
[1 reply] : You've ignored much of the advice given in your previous thread. Igno... (by AbstractionAnon)
Airplane seating reservation
Hello, This is my code for reserving an airplane seat. Im having trouble writing the cancel a rese...
[3 replies] Last: All the statistics can be determine by examining the seatChart array. ... (by AbstractionAnon)
catching a pokemon
So i'm writing this code for a class of mine but i'm having trouble understanding the boolean expres...
[3 replies] Last: got it, thanks for the heads up on that rule, guess I overlooked it. (by edubya91)
user input bug
So technically the program works fine, but i'm trying to figure out a way to limit the amount of cha...
[1 reply] : Here's a compilable version that does what you want #include <iostre... (by Ganado)
Outputting a square wave as raw data
So I've very recently started learning C++ and am using it for audio programming. Up until now it's ...
[4 replies] Last: And also thanks jib, I have created a square wave that holds +1 and -... (by minituffy)
by CuRSeD
Moving character in matrixes made by pointer
Hi, I tried to create console game in my first attempt, i maked a 2d array in main and controlled a...
[4 replies] Last: the problem is not x,y I tried any direction and tried only the MapDat... (by CuRSeD)
by CuRSeD
Moving character in matrixes made by pointer
Hi, I tried to create console game in my first attempt, i maked a 2d array in main and controlled a...
[1 reply] : What is this line supposed to do? l1.Map(4, 4) = mymap; Hints: #i... (by Enoizat)
Error on matching operands
Just finishing a Menu project but when trying to add a convert from decimal to base, I receive this ...
[6 replies] Last: Worked! Thanks ne555!! (by vacisneros)
Pages: 1... 2021222324... 34
  Archived months: [nov2017]

Cannot post in this page. To post a new message, go to the first page.