Beginners - October 2012 (Page 21)

Where is this program wrong?
 
I have to create a program to determine the number of calories to intake daily to maintain weight, based on gender, activity, and weight.My program runs when I ...
[7 replies] Last: ty (by colin striefsky)
by rd3
MinGW
 
Is MinGW a good compiler for a begginer?
[3 replies] Last: try this: http://sourceforge.net/projects/mingw Once yoe put it in th... (by Qmechanics)
help
 
I have a problem... this code outputs a and b like it needs to, but it must output c it shows weird numbers (0x0018f.....) basicly a and b arrays ar random,...
[4 replies] Last: You are writing to the same elements in c in both loops. If you want c... (by Peter87)
loops in functions...why does one example work but the other doesnt?
 
so i have this board called brdray it has bunnies on it and when one is above the other the program will dynamicaly create a new object, each go they will move ...
[5 replies] Last: and why does this fill the whole board with * Because this if ((brd... (by naraku9333)
I'm not sure why this isn't working...
 
For some reason my decimals are coming out wrong. The program asks for your fractions, and will print out the fraction and the decimal underneath, except I can'...
[2 replies] Last: ok, thank you for the help. I thought I was setting the values, but ma... (by noylekul)
by cOde5
simple examples of using "->"
 
Hello, I'm learning C++ & stuck at -> May I see some simple examples of using -> please. And anything more to know about -> (Sorry if the questi...
[4 replies] Last: Hello all, Thanks for the helps. It's much more easier now. Special... (by cOde5)
by EZX
A task about RANDOM and massives
 
Hi, its been i while since i needed some help, but i can't seem to wrap my head around this: The task: Make a program, which asks user [a,b] a and b borders ...
[3 replies] Last: set total to zero int total=a; for each element in A for (int i=0... (by Moschops)
How do i put this in Standard deviation?
 
#include <iostream> #include <cmath> using namespace std; int main() { float score_1 = 47; float score_2 = 42; float score_3 = 43; float score_4 = 49;...
[no replies]
Vector, rus sumbols
 
Hello world. =) I have: #include <iostream> #include <vector> #include <string> using namespace std; bool main() { setlocale(LC_ALL, "Russian"); v...
[3 replies] Last: yep: int main()... string tmp("рус"); cout << tmp << endl; // suc... (by MEPTPAH)
by AIVIO
C++ Builder or VisualC++? Which one is better?
 
Hi friends! I'm working with VisualC++, but today I accidentally saw a topic in a persian site discussing the same question I asked and the resualt was C++Buil...
[8 replies] Last: Sorry if I'm asking too much questions, but NOTHER ONE: My main purpos... (by AIVIO)
by ab123
Accessing attribute of object
 
Hi I have a scenario like this: Outer.h---> Outer{ Foo* f; Bar* b; } Foo{ int a; float b; } Then, In Outer.cxx I want to create object b of Bar ...
[5 replies] Last: for the non static case: yes (by coder777)
Makefile
 
Im doing a Makefile to include 3 files: Weapons.cpp Weapons.h and assignment 10.cpp is this correct code for the Makefile: 1 assignment 10: assignme...
[2 replies] Last: I believe we were taught this method: project.exe: main.o weapon.o ... (by Lowest0ne)
by ghadf
I want to check for duplicate.....can you help me please?
 
The par that is bold is about checking for double, I have tried any thing I could but it doesn't work...please help me on this. ( Please let me know if the hole...
[3 replies] Last: You missed my point. I understand i is the number of elements in your... (by AbstractionAnon)
Simplest possible C++ networking tutorial?
 
There are lots of nice tutorials for beginners on YouTube for C++, but I couldn't find any "professional" tutorials about simple networking using C++. I'm an i...
[2 replies] Last: Try learning Winsock, it's not easy but so what: http://msdn.microsoft... (by codekiddy)
by skarla
sdl problem
 
http://pastebin.com/wCsFp26Y Here is my source. The problem is that the checkcollision works good for the (player) but not with the heroe(the image.) So ...
[no replies]
".h" Explanation and Downloading help
 
Would somebody please explain to me where to put the .h and .lib files I downloaded from this tutorial? http://www.kathekonta.com/rlguide/article1.html "T...
[11 replies] Last: No don't be, you saved me a lot of time and I understand libraries now... (by jim hurley)
Help with assignment !!!
 
Here's my assignment: For this assignment you will write a simple Weapon class and a test program. The Weapon class should have three private data members: tw...
[5 replies] Last: try adding semi colon ';' at the end of the weapon class declaration (by vichu8888)
Trouble with Try/Catch illegal argument exceptions
 
Hey guys, I'm a bit confused about how to "throw" an illegal argument exception and do the whole try/catch thing. In particular, I would like to do this ...
[no replies]
Need a little help with Fractions and Structs
 
Point me in the right direction? For an assignment I'm suppose to put an Array in my program that I have already made. The program is very simple, you put in a ...
[6 replies] Last: Not in C++. (Good old C has variable-length arrays, which are what you... (by Catfish2)
by bjt223
Want to play again?
 
Right now, I'm working on tic tac toe programming. I already got the code in and the game work fine, it's just that when I try to ask players if they want to pl...
[6 replies] Last: In the else statement on line 60 I am guessing you are trying to end t... (by dtaqee88)
October 2012 Pages: 1... 1920212223... 84
  Archived months: [sep2012] [nov2012]

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