Beginners - September 2012 (Page 29)

Where to begin?
 
Where do I begin with C++? I have Code:Blocks and Code lite. I like the way code lite looks because ...
[6 replies] Last: After getting a good grasp of that... you could create small console s... (by strongdrink)
by sdub
Reseting a static variable?
 
Thank you. I had previously tried to initialize n in several different spots (but hadn't tried to i...
[2 replies] Last: In this line you are setting the static variable to 0: for(n = 0; sa... (by pogrady)
Help!Printing a single byte!
 
I wanted to see how float numbers were stored in computer's memory. So I typed the following code: ...
[2 replies] Last: Thanks for help. Now it's working! (by george86)
by dean
const member initialisation
 
Hi guys, suppose I have a set of instance variables declared as const double, I would like to initi...
[4 replies] Last: oky thanks guys (by dean)
by skarla
send e-mail
 
How i can send a simple e-mail in c++? For example if i have this: string a="hello"; how i ...
[2 replies] Last: could make a simple program to see how i can send the vaariable in the... (by skarla)
Hailstone Program
 
Hello! I am stuck trying to figure out the last couple of things for this program. The program is su...
[2 replies] Last: Honestly, this is my second week of programming and I don't even know ... (by jnutt011)
CString Substring
 
Hi good afternoon everybody, I have a CString containing a datetime eg 20111213164136 But I need t...
[2 replies] Last: That never occurred to me but would work perfectly, Thank you (by grocerykid)
Program always outputs the same, weird number
 
This is my very first attempt at C++, and I must be missing something big. This is an assignment for...
[5 replies] Last: @doctorkwack101 I forgot to mention, please use code tags in future -... (by TheIdeasMan)
by gta100
How to stop user input with a different variable type?
 
Hello everyone! I am having trouble stopping user input with a different variable type. In my case, ...
[10 replies] Last: > I think my problem is that I want to specify my very own "End-Of-Fil... (by JLBorges)
classes and array of struct - syntax?
 
I am starting to use classes and have a question regarding array of struct declaration in a class fi...
[2 replies] Last: Thank you - that helps a lot. (by badkaykay)
my program disappears
 
im trying to teach my self c++ from a book and it has several activities. i compile it fine but whe...
[5 replies] Last: This article was written for your problem: http://www.cplusplus.com/ar... (by Duthomhas)
by Maygs
<< no operator matches these operands
 
Hey, after google searching I'm still stuck on this problem. I have the same implementation of this ...
[4 replies] Last: Yeah, good luck! (by Aceix)
| < > >> CLI commands
 
Where can I find documentation? I don't know what to ask the manual.
[3 replies] Last: Will this help? https://docs.google.com/viewer?a=v&q=cache:au1dOsNN7J... (by Aceix)
cli int arguments printf || atoi
 
Hello all, just trying to understand how to do this simple function. All I want to do with this litt...
[4 replies] Last: Just a trivial point from me. scanf returns an int which is equal to ... (by TheIdeasMan)
If else
 
Hello I am trying to write a program and the objective is to have the user enter in 3 numbers and th...
[4 replies] Last: Comparisons of floating point very often won't work that way, because ... (by TheIdeasMan)
by jc4bs
Problem With Function Calculation
 
#include <iostream> #include <cmath> using namespace std; int main() { float windSpeed; float temp...
[2 replies] Last: Thank you pogrady! I looked back over my math and found a few errors. ... (by jc4bs)
Can anyone give me a hint on where to start?
 
I'm in a C++ programming class at my uni, and just received this assignment. I have no idea where t...
[4 replies] Last: oh ok this is making more sense now. Thanks! (by stfnhill)
by Weefy
Stack implementation Problem
 
Hi all, This is my first time posting here and I am seriously hoping you guys could help me. I am d...
[3 replies] Last: yes, once your question is answered just mark it as solved. It helps k... (by Need4Sleep)
Help
 
I have an assignment in my C++ course where I need to get a user defined amount of integers and the ...
[7 replies] Last: Alright, I was about to say we haven't covered arrays in my class yet,... (by brainmush)
by htown
read and compare with file i/o
 
void batch() { char word ; while(!indata.eof()) { indata >> word; ...
[1 reply] : "==" does not work with c-strings. Either make word a string ( std::s... (by Lowest0ne)
September 2012 Pages: 1... 2728293031... 62
  Archived months: [aug2012] [oct2012]

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