Beginners - August 2012 (Page 35)

by Chubbs
Output syntax
 
Hello everyone, I have a code outputs this: "Enter a search word: Searching for the word ... ...
[15 replies] Last: then just System("CLS"); before makeing it display it in backets.... (by IWishIKnew)
Printing from structures
 
Hello, My class is over but I want to figure out how to print from a structure. In my program the fi...
[2 replies] Last: Thank you very much. I got it fixed and it works great. I replaced cou... (by thumperslpss)
trouble with a for loop
 
I'm trying to build a program that will take a dollar amount, a percentage, and a number of years. I...
[2 replies] Last: cool thanks! (by Hydrasin)
by gerfy1
Don't understand pointers and references
 
I do not understand references and pointers well. I don't understand the difference between each oth...
[1 reply] : This question is asked over and over.First, please read this to learn ... (by Moschops)
Memory and Optimization [tutorial? pls?]
 
Does anyone have any good tutorials for C++ on optimization and or memory? Those are my interests so...
[12 replies] Last: Hi there, I hate to say it, but google really has a lot of links turn... (by closed account o3hC5Di1)
How to print the multiples of 2? (1,2)
 
I remember this part but I can't just figure it out.. My current code: /* Make a program that ke...
[20 replies] Last: I finally got my program to work haha. I see two (tiny) mistakes in y... (by Bufflez)
by beakie
% (mod) for floats
 
Need some code to perform a mod style algorithm on floats or doubles. So... 123.2 % 3 = 0.2 An...
[4 replies] Last: oh yeah.. duh. I always forget fmod exists because I confuse it for m... (by Disch)
The same result
 
Hello Everybody, Im new here and im learning c++ from the e-book here. while im reading the point...
[5 replies] Last: A pointer to function, from C++ point of view, is a functor (just like... (by Cubbi)
by agatte
simple question [istream]
 
Hi, I am doing first steps in c++. I have very basic question. I want to read data from txt fil...
[2 replies] Last: Thanks very much for help ;) (by agatte)
by agatte
question ? []
 
Hi all Useres ;) I am beginner in c++. I received an error. vtkXMLFiberDataSetReader.cxx 1...
[3 replies] Last: Which libraries did you link it with? Looks like you miss some of them... (by KRAkatau)
inputting strings into a character array
 
int main() { char str ="hello world"; cout<<str<<endl;//outputs "hello world" cin>>str;// input...
[5 replies] Last: Ah I didn't know that. (by Zephilinox)
Getting the boost framework
 
I need the boost framework/library for the c++ xcode program i am making. Where can i get the framew...
[1 reply] : a. If you haven't done so already, install MacPorts http://guide.macpo... (by JLBorges)
by Siren
Display return value of a sub function
 
What this code does is user enters a number and the console displays "the number entered is (what is...
[4 replies] Last: I see. Thanks for clearing the confusion :) (by Siren)
2D Array problem
 
I'm trying to write a program challenge out of this text I bought. The problem is to write a 2d Arra...
[1 reply] : Ive commented the minor changes I've made. I didn't any crazy characte... (by closed account 4izT0pDG)
utilizing cin.get()
 
hi Everybody, Im totally new in working with c++, and i got stuck I think in some stupidity I cant f...
[3 replies] Last: you would use this while(!infile.eof()) No, you shouldn't. Loop on ... (by ne555)
by ekard8
why does this keep closing
 
#include <iostream> using namespace std; int main() { int lol; cout << "Hello, and welcome...
[4 replies] Last: I understand your issue after reading this. First, you're not understa... (by Volatile Pulse)
by mp3nut
Using a loop to print a decimal array
 
Ok, I've rewritten this program a million different ways and I dont seem to be getting anywhere. I b...
[6 replies] Last: Great! Can't believe I overlooked it I've been going over this code so... (by mp3nut)
Program has stopped working
 
My program keeps crashing. Every time I run the program, it'll print the original sales array, proce...
[7 replies] Last: Maybe you didn't have any error indexs in the last one. Or simply you ... (by Volatile Pulse)
by mp3nut
Using a function to find the mean
 
I am working on a program in my first c++ class. I have been doing ok so far I guess, but I cant fi...
[2 replies] Last: Thank you so much! (by mp3nut)
Initialization of non-aggregate type with an initializer list
 
class monthData { int days; char name ; }; const monthData months = { { 0, " " }, ...
[6 replies] Last: It is important to know the definition of an entity you are dealing wi... (by vlad from moscow)
August 2012 Pages: 1... 3334353637... 45
  Archived months: [jul2012] [sep2012]

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