Beginners (Page 6)

converting while loop to a for loop
 
Hey guys, so just doing some practice questions and came across this one in particular where i feel ...
[4 replies] Last: Thank you very much for the explanation! (by Falkner92)
Should dynamically allocated arrays be null terminated
 
I have just had a nightmare debugging a call to Postgresql's PQexecparams() which requires a char** ...
[5 replies] Last: @Duthomhas, thanks for the clarification, this is pretty much the info... (by timh1970)
Input validator
 
I'm trying to make it so that when the user enters anything below 0 mins it'll say that its invalid ...
[2 replies] Last: Hello Ryoka117, Some suggestions for you to consider. Lines 6 - 8 wo... (by Handy Andy)
Problem with exercise
 
Hello, i have a problem with an exercise: Modify the Vector class header and implementation files ...
[4 replies] Last: Thank you! (by Perilun)
FUNCTIONS LOOPS AND FILES (3 IN 1)
 
please help me to get some more practice. i use cpp and i want to have some questions involvin...
[1 reply] : You can create your own questions. Real skill is knowing you can code ... (by Ihatov)
remainder
 
Write your question here. double a,b,c,g; cout <<"Enter two whole numbers separated by ...
[4 replies] Last: another.Also there is no point of having a remainder for decimal divi... (by Ihatov)
space between 2 numbers
 
Write your question here.
[2 replies] Last: cout<<2<<"\t"<<3; (by suyashsing234)
fill array with random numbers without repetition in the column
 
Hello, I am generating bingo cards for each player. The bingo card is represented by an array and ha...
[4 replies] Last: Regarding the shuffle, I don't think that is the direction I am suppo... (by keskiverto)
Anonymous namespaces - working or what?
 
I wrote a little test snippet to clarify some things for myself. Everywhere I looked, it says anony...
[5 replies] Last: @ Ihatov, Thank you for the correction. Andy (by Handy Andy)
merge files
 
I want to merge two files such that contents of second file are appended to contents of first.The co...
[3 replies] Last: Your merger function only opens one of the files. But it opens that fi... (by Repeater)
enter between lines in file
 
Like i enter in file like this suyash singh hello and then i can enter between like this ...
[3 replies] Last: Basically read one line at a time. Examine its contents and decide whe... (by Chervil)
How do I fix my computer to add the multiple of a number less than a 100?
 
I am writing a program to add all the multiples of a number less than 100, but I can't seem to figur...
[3 replies] Last: There are quite a few errors I can spot: 1) It should be using namesp... (by Ihatov)
Hey i need help with my little homework my teacher gave me today
 
So i wrote this program you kinda see what i am trying to do, is there a better way to make this pr...
[8 replies] Last: The code i wrote in the beginning works fine. I just didnt understand... (by jlb)
Validating infix expresssion (Checking correct brackets)
 
Greetings to all. I am writing unit tests for testing the Reverse Polish Notation. The first thing ...
[2 replies] Last: @Ihatov, I have tested it with "(24-5)+553*(2+2)" // correct (... (by blongho)
Need someone to debug this program.
 
I have made this chatbot(not finished) but I am finding some difficulties in doing so. #include<f...
[2 replies] Last: I am having problem in the file handling part. The switch case 4 is co... (by pulkitg2k)
Iterating through a vector errors
 
I'm getting weird compiler errors: line 65: qualified-id in declaration before '(' token ...
[4 replies] Last: The inputs are the accounts that the user has created, for example: c ... (by runrabbitrun)
Vector subscript but not array out of range
 
I am not sure why having a vector instead of an array is a problem here. I've narrowed down my issu...
[3 replies] Last: And don't forget that reserve doesn't alter the size of the vector and... (by jlb)
references
 
hi guys I must be mistaken,as I thought references are aliases to other variables of the same type s...
[7 replies] Last: If you bind a const reference to a temporary, then it extends the life... (by MikeyBoy)
by Bopaki
This program is exactly as it is in the book C++ by Malik but I am getting these errors
 
2 0 C:\Dev-Cpp\MalikChapter10\Example10-1\main.cpp In file included from main.cpp 4 50 C:\Dev-Cpp\M...
[6 replies] Last: The list and length are included from "arrayListType.h" now I do not k... (by Bopaki)
C++ Programming Mentor?
 
I need to find good mentor. I heard there are three people on this site who do it for free. If this ...
[no replies]
Pages: 1... 45678... 42
  Archived months: [aug2017]

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