Beginners - July 2011 (Page 15)

by sf123
1/3=0?
 
I noticed that when I divide a small number by a large number such as 1/3 it is equal to 0. Is there...
[3 replies] Last: Yeah that will be fine also. (by LBEaston)
by Baso
problem with _atold and strtold
 
My compiler doesn't recognize the conversion string functions _atold() or strtold() I i...
[2 replies] Last: Thanks Turbine for your replies I fixed it by using stold() functio... (by Baso)
Where to put .h and .cpp(imp)??
 
I need some help trying to create a class and I am confused about where to put the files. When creat...
[2 replies] Last: Yep, there are some exceptions where you must write the definition in ... (by Turbine)
problem with atoi function
 
i have numbers stored in my text file and i need to sort them..each number is been stored i a differ...
[14 replies] Last: Heres a detailed link about debugging in wxDev C++ http://wxdsgn.sourc... (by Nisheeth)
by codrgi
turn timegettime into minutes?
 
im using the TimeGetTime function, it works great but i have a question, when i set a variable as ti...
[1 reply] : Never heard of that function, it must be a Microsoft one. Assuming it ... (by Turbine)
graphic user interface
 
can i get a tutorial on GUI programming???i am using wxdev c++ on windows 7
[1 reply] : This combination you're using is quite simple to use, you can generall... (by Turbine)
what's wrong with this?
 
#include <iostream> using namespace std; void z() { cout << "z"; } int main() { cout ...
[3 replies] Last: omg what a careless mistake! thx guys.. haha, long time didn't touch c... (by Eldy Voon)
multiple definition of... (class function)
 
class aClass { ... public: aClass(); // constructor aClassFun(double aParam); // public...
[7 replies] Last: Thanks everyone. The last post and the link to header guards made the ... (by paolopiace)
dynamic memory question
 
I just started learning c++. I'm using the tut on this site and I bought 2 books. I'm now experim...
[3 replies] Last: Yes, do not forget that delete p only marks the memory spaces p poin... (by Maese909)
by omzy
How to step off the basics?
 
Hello, Omzy here : I was wondering how i could step off the begginer programming level off c++ t...
[4 replies] Last: There is a nice tutorial on this site http://cplusplus.com/doc/tutoria... (by Mathhead200)
by Method
Consol issue
 
For some reason, this little program I made to act as a cheat sheet for Ascii codes keeps displaying...
[3 replies] Last: No problems. By the way, try to use the [code ] and quote templates... (by eidge)
2 SDL questions
 
1. I am trying to make a pong paddle move by holding down a button. Rigtht now, it doesnt move at ...
[11 replies] Last: Okay i fixed it yVel was never intialized lol. Thanks everyone for hel... (by nano511)
test problem...undefined main
 
// Fig. 3.3: fig03_03.cpp // Define class GradeBook with a member function that takes a parameter; ...
[5 replies] Last: ok i figured it out...i had to update code blocks (by metulburr)
#define and just declaration
 
What's the difference between #define BLAH_BLAH_BLAH 123 and int BLAH_BLAH_BLAH = 123; ? ...
[7 replies] Last: I was assuming something like this. #define BLAH_1 123 const int ... (by shacktar)
two dimensional array bouns calculating program
 
This is a class assignment and I'm stuck to say the least. I have been working on it most of yesterd...
[1 reply] : Couple of things, first and most important: remove your name from the ... (by Intrexa)
question about loops
 
i am writing a program for my introduction to c++ (and programming) class that has us writing code t...
[4 replies] Last: thank you that got it to work. thanks!!!!!!! (by seawolfmoose)
keyboard input question
 
hello everyone i am pretty new to C++ and have looked over many topics about this but cant seem to g...
[1 reply] : Windows provides many functions to make using the keyboard easy. If yo... (by Intrexa)
Can someone explain this structure?
 
struct node { node(int data_p) { data=data_p; next=0; } int data; node *next; }; ...
[5 replies] Last: Oh OK. That means we are entering the realms of C++. I was hoping I c... (by Sputnik)
odd and even test wont work
 
#include <iostream> using namespace std; int main () { cout << "please type in any number to defin...
[1 reply] : #include<iostream> using namespace std; int main() { int valu... (by creekist)
by nand
how to make dungeon crawl with classes?
 
Hello, I recently the dungeon crawl exercice (http://www.cplusplus.com/forum/articles/12974/) ...
[3 replies] Last: Hi, I implemented something that works using classes and a vector, as... (by nand)
July 2011 Pages: 1... 1314151617... 54
  Archived months: [jun2011] [aug2011]

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