Beginners (Page 27)

my while loop doesn't stop
 
i'm writing a program that classifies positive integers as odd or even but when I type a number the ...
[1 reply] : x doesn't change within the while loop, so the loop either doesn't run... (by dhayden)
I need help with .txt input, can someone help me?
 
The basic concept of this code is that you take input from a .txt file about The type of operation y...
[8 replies] Last: Oh okay, i got it. Thanks for your help! :) (by Luca Strano)
Strange console/pointer behaviour
 
I am working on a bit of code that includes arrays in and out of functions, but my programs insist o...
[4 replies] Last: It's important to understand the difference. Your randomizeArray funct... (by Ganado)
by kada17
Having trouble with looping over two const char*
 
I have a function that finds the difference between two characters that are in a null terminated arr...
[13 replies] Last: Those are just examples that you can then apply. Show us your main fun... (by Ganado)
by sambix
My program isn't opening my file?
 
I'm sure that i have the correct file name. The output I'm getting is "Cannot open file". What am I ...
[2 replies] Last: For this to work, the file "data.txt" has to be in the working directo... (by Repeater)
Polymorphism
 
hi guys so this is a pretty basic question which I probably should know by now but I'm going to bite...
[3 replies] Last: thanks guys that makes a lot of sense now :) (by adam2016)
Duration Calculator
 
I have been trying to write a duration calculator and I cant get the one's place value or the correc...
[9 replies] Last: Hello RegalCppNewb, In keeping more with your code here is another wa... (by Handy Andy)
by ZekDe
Common variables
 
hi friends, I amusing Qt Creature and I have two form ,this two form must use common variables that...
[2 replies] Last: It’s hard to give a complete answer with so little information. You ... (by Enoizat)
Buttons
 
I am making a windows application and i can't find a way to destroy a button by pressing another but...
[6 replies] Last: Unfortunately i don't have the money to buy the books but i will take ... (by niksacokica)
by cle
homework
 
Hello! I have to write a program that outputs a text vertically. I have a print_all function spe...
[1 reply] : What actually is your problem ? To see how the print_all function work... (by Thomas1965)
General Variable
 
Hello, I was wondering if there can be a general type of variable in c++, that if the input, for ...
[7 replies] Last: Maybe auto is what you're looking for? See: http://en.cppreference.c... (by JustAMan)
by mt280
Basic Blackjack Game
 
This is a basic blackjack game. It is stuck saying that I can't have else statements without an if, ...
[3 replies] Last: Why don't you check response after line 42 before you add num4 to num3... (by Thomas1965)
File Types
 
I was wondering how the .h and .cc files work together. I am trying to make a program that uses the ...
[2 replies] Last: Thanks so much. That helps a lot! (by IIAnicII)
best way to print a text menu
 
I am writing a console application and I want to have menus that the user navigates through via getc...
[no replies]
C++ RPS
 
this is for a rock paper scissors game Function format we must use >> bool isRoundWinner(char mov...
[2 replies] Last: http://www.cplusplus.com/forum/general/229299/ (by chicofeo)
by masony
classes, data, member function and objects
 
Hi, just list down which one is classes,data,members function,and object no coding required. I just ...
[5 replies] Last: thank you all! (by masony)
help home work
 
Request Complete the following program so that the long-long Fibrek (long long n) function recalcul...
[1 reply] : Here is an example: int i1 = 1, i2 = 1; while (i1 < 200) { int tem... (by rjphares)
int main(int argc, char *argv[])
 
The program below does not allow me to enter argv. it goes directly to line 58. How come? // T...
[10 replies] Last: Thanks Ganado and helios. Doing the compiling and linking from the ID... (by phztfte1)
Skipping cin statements
 
I am new to C++ and don't know too much yet. I need an input for every cin statement. I am only able...
[2 replies] Last: I changed gender to a char because an Int is a whole number. a char is... (by Kevin211)
basic input and output problem
 
I am new to c++, I just start to learn programming from yesterday, and I already stuck at a very sim...
[2 replies] Last: oh, I understand now, thank you very much! (by astropolaris)
Pages: 1... 2526272829... 45
  Archived months: [dec2017]

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