Beginners (Page 2)

Printing a vector
 
I have some trouble printing a vector. I tried printf and cout but no luck so far. struct c...
[9 replies] Last: It is solved thanks for the help. (by niksacokica)
by JayGln
New Programmer Problem solving
 
Sorry no code on this one... This question is one that I know many of beginner programmers go th...
[2 replies] Last: Ok so i'm going back 30, maybe 40 years and there is no way I can reme... (by SamuelAdams)
Multiple Bouncing Balls Program in C (Please Help)
 
I am trying to make a program in C with multiple bouncing balls. I know it is a very known program a...
[17 replies] Last: Try without kbhit() while (true) { HideBall(&ball); Update... (by Thomas1965)
by Zalkin
Need help with read from and write to a .txt file.
 
Hey i'm new to programming. I am coding in c++ and have to make a program that reads names and their...
[3 replies] Last: The reading can be simpler: #include <iostream> #include <iomanip> #... (by Thomas1965)
Complex boost regex does not match string
 
I have the following simple program that aims to replace all lines starting with -- or with space an...
[2 replies] Last: Duthomhas, your solution works as advertised. Thank you very much. (by konradedgar)
by darje
Deepest Node in a Given Tree algorithem
 
i have some algorithem i saw in some book how to find the deepest node in a tree i didnt quite under...
[4 replies] Last: It is difficult to understand only several pieces of a thing. Look at ... (by Duthomhas)
by Thelps
IF statements that feature strings with the != operator.
 
Trying to write an IF statement that compares a string that contains user input with a group of spec...
[1 reply] : if (a != "y" || a != "Y") However, keep in mind that the condition... (by helios)
by jebin
i have wriiten a program and i have encountered errors which i couldnt solve
 
i get some errors please help mee..... #include<iostream> #include<conio.h> #include<stdio.h> u...
[3 replies] Last: Hello jebin, Welcome to the forum. It would be helpful if you would ... (by Handy Andy)
cannot convert from 'const char [5]' to 'char *'
 
Hi there, I am really new to c++ so be gentle. I am following 'thecherno" lessons on youtube. ...
[4 replies] Last: thanks all (by skidmark)
making a Password with string, do,while, if and else
 
Hey guys first let me tell you that i am taking class of basic programming and i am a little slow o...
[7 replies] Last: Handy Andy (1353) Don`t worry i already fix it i change practically... (by Redstar6)
Link errors with my Doubly Linked List Class Template?
 
I keep getting Link errors when trying to run my code. I have 4 LNK2019 Errors saying that there is ...
[4 replies] Last: As @dhayden said you can put the code in a #include "DLLTemplate.i" ... (by globaltourist)
24 hour clock
 
I am writing a program for class where it converts from military time to standard. Everything else s...
[4 replies] Last: Here is your code with comments and code tags. See my comments below t... (by dhayden)
ROT13 encrypter help
 
I'm new to programming in c++, but i do have two years of experience in python, but I am moving into...
[3 replies] Last: It takes a while to learn to read the error messages, but once you 'ge... (by jonnin)
not fast enough
 
So i have to write a programm that reads integers and if a) the number of positive integers is the...
[10 replies] Last: i tried to run the code even without comparing the 2 lists (without ... (by dhayden)
Printing text x times in one line?
 
Is there any way to do the following without an error? #include <iostream> using namespace ...
[2 replies] Last: Woah! Thanks didn't expect this^^ (by Sigge414)
Simple compile time/cout error
 
I am trying to make a table for my beginners C++ class. In doing so, I have been using the Cout comm...
[2 replies] Last: Ah, Thanks! I don't think ill forget this in the future. (by Awillits)
Make files and doxy files
 
Hey guys. So i've got this object oriented programming class i'm in and the teacher isn't very good ...
[2 replies] Last: Read the introduction to GNU Make: https://www.gnu.org/software/make/ ... (by mbozzi)
HELP? "Id returned 1 exit status"
 
How do I get this error to go away so I can successfully compile and run? #include <iostream> ...
[1 reply] : Check your spelling and remember that C++ is case sensitive 'A' is not... (by jlb)
by Innoox
Compare elements of the string.
 
Good day, I need to get several numbers from the user and compare it. If they are growth - print ...
[1 reply] : I need to get several numbers from the user and compare it. If you'r... (by jlb)
Why can I not fully alter data members of a dynamically added structure?
 
Hello, I am using an insert function to add a node to a doubly linked list after the tail node. ...
[2 replies] Last: Your linked list handling code doesn't look right to me. Normally hea... (by dhayden)
Pages: 1234... 35
  Archived months: [nov2017]

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