Beginners - February 2011 (Page 29)

All headers in one file
 
I'm wondering if it is considered a good practice to make one file, say "include.h", and include the...
[2 replies] Last: Well I'm thinking about precomiled headers only, and only considering ... (by Hioushi)
Question on Variable Creation
 
I just had a simple question on proper procedure when it comes to creating variables in functions. I...
[6 replies] Last: What would be the reason to break my code into smaller segments or fu... (by Disch)
Starting over a primary loop from a secondary loop?
 
I am trying to put together a calculator program. So far I've got everything to work except for rest...
[no replies]
a beginner's problem
 
Hello everyone, I'm new to the forum, to C++ and to programming in general. I'm having a little pro...
[4 replies] Last: what a fast and useful reply! thanks everyone! I like this forum alrea... (by misterT0AST)
Debug Assertion Failed: _BLOCK_TYPE_IS_VALID
 
Hey all, trying to get a project working for a class, and I'm running into an odd error. We're using...
[4 replies] Last: I just had the derived destructor set the pointer to zero after delet... (by Disch)
stopwatch errors
 
ok so this is my code int main() { string s = s; system("PAUSE"); double time = 0...
[7 replies] Last: still having trouble... that was a link to the errors. i have tried ma... (by cainen172)
guessing game
 
Hello, i new to C++ and trying to learn some things on my own. I'm trying to construct a random numb...
[no replies]
by Janman
Ofstream char problems
 
Hey. I have some problems writing char to a file with ofstream. this is how the code looks. ch...
[5 replies] Last: write in binary mode http://www.cplusplus.com/reference/iostream/ostr... (by ne555)
not understanding how cin value is behaving
 
I have what is probably a simple question but I am unable to find the answer here or in any of the o...
[2 replies] Last: While finally going back to the "Don't use: system("pause"); " threa... (by rippa829)
Returning a random number from the function
 
Hello guys. Please advice how to get a random number from the function. I have to "throw a coin" on...
[2 replies] Last: Thank you very much, Grey Wolf (by andreychernukha)
User Input To Choose An Operation
 
i'm writing a program that allows the user to choose to find the area of three different geometric s...
[5 replies] Last: aha! thanks so much! i was wondering why the code would run, but it wo... (by nekoxandu)
Dereference pointer to int Error message
 
I have two problems. My first problem: #include <iostream> using namespace std; int main(){ ch...
[2 replies] Last: ok thnx (by Helegurbann)
Random Number Problem
 
Hi, I'm moderately, (very), new to c++. I've been working on a little text game and I've come across...
[5 replies] Last: Trying deleting "int dmg = (rand() % 3) + 1", in line 15 and adding it... (by Da0omph)
Calculator H.E.L.P.
 
program crashes when i try to enter the first operation. any help is great. Here's the code: #i...
[5 replies] Last: anonymouscoder6, No, this need not be in curly braces. An IF state... (by cppmatt)
by W Neto
MySql + C++
 
how do I make a interation between C++( or C) and Mysql?... I'm studing mysql with PHP, but I want u...
[2 replies] Last: thanks man! I will use it. I've started studing today, I've downloaded... (by W Neto)
how to clear the values of the variables in win32 console?
 
I'm a beginner in C++, my first project is to make a menu type program using win32 console applicati...
[3 replies] Last: You can repeat the programme like this: int main() { do { ... (by Moschops)
by GulHK
finding unequal elements in a vector
 
Hello everyone I have written a small program where I am trying to find similar elements in a s...
[4 replies] Last: Hello moorecm I have tried some simple '!=' and bool operators and ... (by GulHK)
or execution priority
 
When a logical OR of two boolean variables is checked, is the second value going to be checked, if t...
[3 replies] Last: If you don't like that behaviour you could create a Boolean class that... (by ne555)
New to programming... what's next?
 
Hello everyone, I am pretty new to this whole thing, and basically don't know the "path" to bec...
[2 replies] Last: I just wanted to say thanks for your detailed response. It is very muc... (by BigPlayChad8)
February 2011 Pages: 1... 2728293031... 43
  Archived months: [jan2011] [mar2011]

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