Beginners - September 2010 (Page 5)

Recursive File Inclusion problem
 
i want to make a chess game consisting of the following classes: Game // will have a player as a pr...
[2 replies] Last: Ok i see i forgot to post 'Player' behind 'affinity', Though, If i try... (by FinalFortune)
by ritika
Why it doesn't work as expected...
 
Hi all, I am new in C++. I tried to get the result like this: (n, i) 0, 0 1, 0 2, 0 .. .. ...
[3 replies] Last: break means break out of the innermost loop containing the break. ... (by sohguanh)
matrix
 
Can someone check my code and see what is wrong :( it complies but the outputs are not correct. The ...
[12 replies] Last: Actually macros are a source of frustration for run-time errors back i... (by sohguanh)
Math in programming (1,2)
 
Wrong part of the forum? I don't know. I couldn't find a better place. Maybe a mod can? Question:...
[34 replies] Last: In general, the issue is, you are discretizing everything - from the v... (by kfmfe04)
trouble with mortgage calculater program
 
Hi I am trying to write a program that computes monthly interest, monthly bill and new balance. The ...
[1 reply] : Divide and conquer - attacking that program's syntax all at once would... (by closed account 3hM2Nwbp)
C++ as a first language
 
I have seen some comments on this forum as to the difficulty of starting C++ as a first programming ...
[16 replies] Last: I've always looked at this question differently than most people. In ... (by closed account 3hM2Nwbp)
got a question about Reading from a file
 
my question is this... i was givin a paragraph and was told to write a program that will read from a...
[7 replies] Last: Replace the for loop in the code with a while loop. (by naivnomore)
Changing variables.
 
Would there, by chance, be a way to have a variable constantly and automatically change to equal ano...
[2 replies] Last: Ah, thank you :) (by dstrichit)
an error in my code
 
this is my code #include <iostream> #include <cmath> #include "graph1.h" using namespace std...
[3 replies] Last: We need to know more about drawRect, it seems. Could you maybe show us... (by Albatross)
Runtime Error in I/O Exercise
 
I am doing an exercise from Stroustrup's book. It is the drill from chapter 10 on input and output ...
[1 reply] : Nobody has yet replied to my question. My question was solved on anot... (by nathan10)
by Kness
Integral/enum type needed.
 
Hey again.Each new program I try to create brings about new errors I don't know how to deal with. Ca...
[4 replies] Last: I didn't hallucinate. Trust me. My instructor writes the start of the ... (by Kness)
Storing Char Problems
 
Hi everyone. I got a few projects from school today. The last one I need to do is make a program wer...
[4 replies] Last: I wouldn't check for lower AND uppercase characters - just convert it ... (by Kyon)
txt to matrix back to matrix.
 
i got the barebones of my program down. i need to split it into two functions one that prints the am...
[1 reply] : Oopsy: The problem is this line: void print_matrix ( int matrix ... (by kooth)
i have a problem with an equation
 
i need to Compute the length of the line using the distance equation given below: √(x1-x2)2 + (y1...
[7 replies] Last: The formula is completely wrong for the reason Albatross has pointed o... (by helios)
by neml
binary to decimal converter, needed code review
 
basically almost everything works, besides the output my output is 2 less than it should be. ...
[7 replies] Last: @StereoMatching i never used "bitset" class, but it seems to work, s... (by neml)
codeblocks vs visual studio
 
Hi everyone =) I'm really new to C++... Codeblocks is free, so simple and easy to use.. So the q...
[17 replies] Last: Oh, c'mon, laugh a little, helios. It will only cook your head from th... (by Albatross)
by tonnot
undefined reference error. Any idea ?
 
I have this code at myclass.cpp #include "Wfile.h" string file_path="c:\\afile.txt"; WFileUtiles ...
[2 replies] Last: Oh my god !! I'm .... Thanks binarybob to answer this stupid questi... (by tonnot)
Raw Memory Dump/Access Outside Memory
 
This is sort of a two part question. The first (and more practical) is, can I dump or somehow view t...
[6 replies] Last: I should clarify - my goal here isn't to crack software. I was just cu... (by closed account Lv0f92yv)
what is the output of this snippet ?
 
Hello , I had written a small C code snippet. Why the below snippet doesnt print anything. #i...
[10 replies] Last: thanks to all of you .... (by ravikandagal1)
Beginner VS Compiler
 
Ok. So after searching and talking to people on many forums across the web, it has become painfully...
[5 replies] Last: go to www.mingw.org download the installer (choose the automatic, tho... (by Hell0 W0rld)
September 2010 Pages: 1... 34567... 32
  Archived months: [aug2010] [oct2010]

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