Beginners (Page 65)

I have no idea where's my code wrong~~
 
Please help me check T.T~~ My code keep in never end loop condition T.T int x = 0; int y = 0...
[3 replies] Last: You seem to have solved it, but I would suggest you look into switch s... (by Yay295)
Linked List returning NULL
 
My program works correctly except for the fact when i call this function to display whats in the lin...
[2 replies] Last: count is so it only displays 10 items per line. What you provided sol... (by mattm86)
A parameter declared inside main is not same as parameter declared in another function.. Why?
 
I notice a variation in this two results: int sub(int x=2, int y=1) {int z; z=x-y; return z...
[9 replies] Last: Keskiverto.. Ur reference helped me undrstand ganado's comment.. Thanx... (by Javaspell)
by marcoE
Constructors with conditionals
 
Hello guys, I'm learning C++ step by step. github: https://github.com/CreativeSoftware/DiamondQt T...
[no replies]
scramble number
 
please help me, what is the formula or code to scramble a given number for example the user will in...
[1 reply] : http://www.cplusplus.com/reference/algorithm/random_shuffle/ (by Yay295)
My Function No Responding When Run
 
This is my subfunction and I have no idea where is my codes wrong~~ Please help solve~~ Thank You...
[10 replies] Last: Oh I See ~~~ Thanks ya @chervil ^.^~~ (by quisite)
nan
 
im making a full calculator but why is the output is always followed by nan ex: 9+9=18nan ...
[11 replies] Last: @Chervil yeah it was some other code. by the way thank you (by Lorence30)
Book for c++ beginner?
 
Hi! I was wondering if anybody had any advise for a c++ beginner (never programmed before except ...
[2 replies] Last: any c++ book will do you good. or you can check this out. http://stack... (by Lorence30)
Trying to have my Calculator go on infinite loop
 
The line with For ( It says that h doesn't name a type. #include <iostream> #include <cstdl...
[2 replies] Last: line 159 should have change into this while( o >= 0) if you are doin... (by Lorence30)
by Nell34
Basic questions from a newbie...
 
Hi all, I'm an absolute beginner in using C++. I have some knowledge in programming in Java, but ...
[4 replies] Last: They are similar, C++ compilers translate references to pointers behin... (by Ganado)
order of declaration and definition
 
Hi,guys, I've encountered a problem regarding the order of declaration and definition and I hope tha...
[2 replies] Last: Get it, thanks a lot! (by glenjoker)
WINAPI Buttons and Shapes
 
Why doesn't this work? i am trying to make the button make the circle red. #include <windows....
[9 replies] Last: Thanks, just for anyone witha similar problem, = is the assignment op... (by coder777)
Simple while loop
 
Basically, everything works until the user types anything that ISNT a number. When if you type 1, it...
[7 replies] Last: the exact same thing.. menus in cmd. that's why i posted here. i was ... (by kong288)
pointers help
 
Having a problem getting these pointers to work. Not sure what im doing wrong, any help is appreciat...
[2 replies] Last: Sorry about that, thanks for the help, its always the simple things. ... (by elite zero)
Rock Paper Scissors Lizard Spock
 
I have most of this figured out but I am coming across one problem. When the user either wins or ...
[5 replies] Last: Are you on the same class as: http://www.cplusplus.com/forum/beginner/... (by keskiverto)
this is compiling but giving an error not dislaying the sum
 
A function Count is passed a double array along with two other parameters val and dval, val indica...
[1 reply] : I don't know how you got it to compile. line 7 is not valid. Array siz... (by Yay295)
Rock, Paper, Scissors, Lizard, Spock issues
 
Hello, I have to write the rock, paper, scissors, lizard, spock game. I'm having an issue on where ...
[2 replies] Last: I wouldn't write the program like this but I have to for my class. The... (by kdillon56)
Postal Barcode Lab Issues
 
Hi!! so for my CS lab were supposed to encode a 5 digit zip code into bars (using : and |'s) then ...
[2 replies] Last: Your check digit function is over complicated for checking valid zip ... (by Smac89)
How to match array?
 
I have a question here. How do I match/overlap the array location of subfunction with/to main fun...
[3 replies] Last: (subfunction) menu = 3 (subfunction) return menu -> (main) men... (by quisite)
by Ganado
Comments and effectively using getline(f, line) with >> operator
 
I am trying to make a config file that has the capability of detecting that a line in it is a commen...
[6 replies] Last: I got it to account for white space by doing bool onlyContainsSpaces... (by Ganado)
Pages: 1... 6364656667... 82
  Archived months: [jun2014]

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