Beginners - December 2013 (Page 66)

Object creation with constructor parameters
 
Hello. I have some code like this: Scanner myObject = new Scanner(System.in); How this wo...
[2 replies] Last: Hello! Thanks for the reply! I'm not a newbie... I've learn that. But ... (by iQChange)
by Ratham
Accessing Class Through Template
 
Hey all, it's my first time working with templates and I'm running in to some weird stuff. On top of...
[4 replies] Last: [quote=Ratham]Would probably help if the constructor for Task was set ... (by norm b)
Extracting data from txt file
 
I am currently working on a C++ project that will calculate the passer rating for NFL QBs. The code ...
[3 replies] Last: Erm, I am a very new beginner, so I would appreciate elaboration, as i... (by bwilfong3)
by azura
Combination of while and do-while
 
I need HELP!! I can't figure out what's the prob with this code. Can someone help me. *** This...
[16 replies] Last: @RabMac, I get it now. Thanks.. (by azura)
delete
 
delete
[no replies]
Entering A Decimal
 
I'm writing a code that requires the user to enter a decimal as an int value, but when I have gone t...
[2 replies] Last: I figured it was something simple like that, much appreciated! (by kolo7880)
Error on CIN
 
I'm getting an error on the operator sign of cin >> The error says while trying to match the argume...
[4 replies] Last: Nevermind doublemain, I just fixed it! Thank you for your response tho... (by fahmankhan75)
Help with a loop(which kind?)
 
I have a main which asks the user for hours, minutes, and seconds. As long as the hour is not -99, I...
[3 replies] Last: Nevermind I figured it out. its a while loop like that then an if else... (by jkelly18)
by hilft
Float + int = ??
 
Where can I find informations regarding addition/subtraction/multiplcation/division of float/int/dou...
[2 replies] Last: for clarity it's often a good idea to explicitly cast. In visual stu... (by Stewbond)
Saving text file in an array
 
Hello, I'm trying to save a text file to an array, and then displaying the text file when the progra...
[2 replies] Last: Thanks very much for the link, i'll go through it and see if i can get... (by Michael 11)
text color change
 
I am trying to have the "X" printed red and the "O" printed green but it is all green, before it all...
[5 replies] Last: http://www.cplusplus.com/forum/general/48596/#msg264748 (by Duthomhas)
if statements
 
Hello everyone, I remember that there is a way use a '?' in an if statement, but I remember the synt...
[1 reply] : The ? operator has three parts: condition ? true-value : false-v... (by Duthomhas)
unclear "comand"
 
Hi, can someone tell me what "for(;j;j--)" exactly do in this given "program"? i used it in class ...
[3 replies] Last: Too late. Validation for spam behavior. http://www.cplusplus.com/forum... (by Duthomhas)
receiving an image/ structure with c++
 
Hi, I am struggeling with this: i have this "image/structure" given: 0 00 000 0000 00000 00...
[3 replies] Last: Patience, young paduwan. http://www.cplusplus.com/doc/tutorial/contr... (by Duthomhas)
Repeated Averages Being Displayed
 
I'm writing a program which calculates the average of several students' test grades. Whenever I run ...
[4 replies] Last: That fixed it. Thanks, cire! (by castellanspandrell)
How to read specific numbers from .txt
 
Basically I am trying to do calculations with numbers from a txt file. 4 32 8 38 6 38 6 16 7 ...
[1 reply] : When you have read the file, have you stored each separate number from... (by Mats)
How do I know what code an address points to?? Debugger isn't very helpful
 
My program keeps crashing on some function, and so I ran the debugger and it gave me an address. But...
[16 replies] Last: Sure, I'll look at it. (Why not? :) ) (by long double main)
Dynamic array inside a structure
 
Another 11th hour challenge from my homework. I know exactly what I need to do, just not how to do i...
[no replies]
Inheritance Help!!!!!!!!!!!
 
When I compile, i get an error stating that I need a return value for my GetArea() function inside o...
[3 replies] Last: It compiles perfectly now. Thank you! (by Raspb3rry14)
Pointer Problems
 
My test runs but I don't think I am using my pointers right but after days of trying to figure it ou...
[no replies]
December 2013 Pages: 1... 646566676869
  Archived months: [nov2013] [jan2014]

This is an archived page. To post a new message, go to the current page.