Beginners - October 2012 (Page 63)

the benefit of "this" pointer ?
 
hi guys i know what's this pointer is,but i don't figure out what's it's benefit other than returning the instance of the current object ! another benefit...
[2 replies] Last: i know what's this pointer is,but i don't figure out what's it's bene... (by kbw)
error C2039: "GetLine" in not a member of "class"
 
..........hello there ..... ..........after I compiled my following code ... .......... I'd appreciate any help // Day10View.cpp : implementation of the CDay10...
[2 replies] Last: kindly TheIdeasMan can you explain better ...... (by Abo3odai)
Making a new file extension
 
I remember a game I played a while ago that stored all of it's character information inside of a .txt file. It really made it easy to open the right file and ma...
[3 replies] Last: Thanks pogrady, that was so much easier than I expected, but it works ... (by newbieg)
by G3PO
Math issue with long max
 
Hey, quick question. I'm doing a program putting in the long max plus one and the min minus one, but I keep getting an error and am not sure what the problem is...
[7 replies] Last: Yes, that sounds right. It's just a matter of how the binary values wh... (by Chervil)
Stuck with a loop
 
I need to write a program that adds 1/3 to itself 1 billion times and displays the result every power of ten times. I've written some simple programs in the pas...
[1 reply] : Any code? With code tags - the <> button on the right. Look at the re... (by TheIdeasMan)
Read from file, String to int
 
This assignment was due last Friday. I am supposed to read a set of numbers from a file. The numbers have $'s and ,'s, I need to take them out to get the sum of...
[no replies]
help with loops and if else
 
Solved.
[3 replies] Last: you can think of if else statements like: if(this is true then) { tr... (by Endl3ss)
arrays and cellular automaton, rule 30
 
I have been given a skeleton code, and it has been verified as accurate, i just need help with the finer details. I cant figure out how to write the update_row ...
[no replies]
Help with a program involving structures and classes
 
Can someone help me get started with this program? Write and compile a C++ program that simulates the arrivals of airplanes at Regina airport. An airplane is r...
[1 reply] : Did the professor say why a struct was used instead of a class? (by pogrady)
Palindrome Program
 
Hey there again fellow code monkeys! I'm stuck on a program. I need to prompt for the user to enter a potential palindrome ( so the usual cout cin right?) Re...
[1 reply] : an idea might be to have a list of palindromes in an array that a refe... (by Endl3ss)
Problem with function undeclared error
 
In the function for overloading the >> operator I am getting this error: 84`rationalize_number' undeclared (first use this function) this is the function: ...
[no replies]
Making a multiplication table using while loop
 
I have been working on this homework problem for quite a while now and I just can't figure out how to get the program to print out more than one column/row. I ...
[4 replies] Last: Nevermind, I get it now. Thanks for the responses to help me understa... (by Reynolds773)
linker error
 
When using the interval_since member function I get a: [Linker error] undefined reference to `DigitalTime::interval_since(DigitalTime const&, int&, int&) const...
[1 reply] : The function void interval_since(const DigitalTime& previous,int& hou... (by vlad from moscow)
by emk0
Replacing . (dots) in a string with numbers
 
Hi i have the task to type in the following numbers 111000 in a string, and then type this format in another string something ... something ... the final ...
[2 replies] Last: #include <iostream> #include <string> #include <algorithm> #include <... (by vlad from moscow)
Hello there O.S homewokr problems!!
 
hello i am an exchange student and english is not my first language and i am having problem with my programming assigments, this it what i have rigth now 1. ...
[1 reply] : this are the sample files: // sample file to deal with UNIX semaph... (by ElPapiVerde)
problem with a nested if using some logical operators
 
I am getting a very minor error in my program, hopefully someone will be able to fix this easily (I am definitely a beginner): I need my program to output grade...
[no replies]
random number generator
 
Hello So this is my program: //Steven Velazquez,Michael Reisenweber, Andrei Kuzmiankov #include <iostream> #include <cmath> #include <iomanip> using name...
[no replies]
by NOFYE
Completely lost
 
Okay folks, I'm completely lost, I'm new to C++ and have no idea how to start. I'm aware that there's "no doing peoples homework" rule in affect, but I'm sever...
[9 replies] Last: thanks, there's a donut coming your way (by NOFYE)
Help with a while loop
 
Hi! I am trying to write a program that gets an integer from a user and uses a while loop to sum all of the integers from 1 to the number that the user input. B...
[3 replies] Last: Well, that was an easy fix! Its working now... Thank you! (by cspctec)
delete
 
delete
[no replies]
October 2012 Pages: 1... 6162636465... 84
  Archived months: [sep2012] [nov2012]

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