Beginners - October 2009 (Page 13)

If someone would take the time to review my code I would appreciate it.
 
edit: removed because it is no longer relevant.
[no replies]
a big number to separate characters
 
Hey all! I need to separate a number to different numbers, for example something like this int i...
[2 replies] Last: You can use the function itoa() however it is not standard and may n... (by mcleano)
Problem with ostream overloading
 
Okay. I have searched both my textbook and the internet for the past few hours, and I've made progre...
[4 replies] Last: Maybe I'm being particularly dim tonight (in which case I should proba... (by GriffinWolf)
Reading from standard input
 
Hey Guys, Just wanted to make sure whether this is the right way to read from standard input and ...
[2 replies] Last: You can also use >> operator for input Don't use >> with cin , see h... (by Bazzy)
Instance, instance variable and instance of variable
 
Well...Why is it called instance variable, instance? What is the different between instance varia...
[1 reply] : Never heard of "instance variable", but here: Type object; object ... (by helios)
Do while loop not working correctly
 
Here's my code: #include <iostream> int main (void) { using namespace std; int...
[3 replies] Last: You're have to move the while(true) statement to the end of your do ... (by QWERTYman)
by triz
Unhandled exception
 
I have written this program, which compiles with no warnings and no errors, but when I run it, it se...
[4 replies] Last: Can't think why that would make any difference. (by guestgulkan)
by JamesB
2d Array Checking / Error Handling?
 
Dear All, I've just started learning C++ and am wondering if there is a way of checking whether a...
[7 replies] Last: I think this will do the job jsmith. Thanks. Could you explain to be... (by JamesB)
for loop problem
 
Please, help! I have this problem to do and I am a little stuck. I believe I have most of the code d...
[6 replies] Last: another thing i see is that the else if statement will never get ran b... (by btripp)
Problems with streams
 
I actually have a few problems in one with this. First of all, can I make a pointer and assign it t...
[2 replies] Last: Thanks for the advice, I'll look into that for sure!! For now, can an... (by Moose9999)
My program isn't looping
 
I've stared at this forever, and I can't figure out why it isn't looping. Everything works fine, exc...
[4 replies] Last: Ohhh dang, you're my life-saver. Thank you so much :):) (by mrb9337)
by eiba
How do i write a for loop to a file?
 
Hi. I'm just wondering how i write a for loop to a file. I've tried to look at generals examples on...
[2 replies] Last: Awesome :D (by eiba)
know how draw a triangle, but not a square
 
Hi, I follow a directX tutorial to draw a triangle http://www.riemers.net/eng/Tutorials/Direc...
[5 replies] Last: DirectX only works with triangles because they are the simplest possib... (by jRaskell)
Input in a char pointer
 
How to get a whole string input from a user with whitespace charaters and store it in a character po...
[3 replies] Last: Thanks I got the point (by Waqar Anwar)
by JamesB
Make a 2d Array into a Row?
 
It seems (from http://c-faq.com/aryptr/dynmuldimary.html) that it's possible to convert a 2d array i...
[2 replies] Last: #include<iostream> using namespace std; void mult_to_row(int arg ... (by btripp)
Getline & cin.ignore trouble
 
Hey guys just needed some help with a code for school, it is pretty basic but i'm stuck on an error ...
[6 replies] Last: You are using std::cin>> on lines 27, 34, and 41, don't mix it with st... (by firedraco)
Fibonacci Green Crud
 
Here is the question/goal: // Write a program that determines the size of the green crud populati...
[3 replies] Last: Thanks for the help but I had someone else help me. Everything was fin... (by Silverplaya909)
how do I destroy a text file.
 
How do I delete a text file when I am finished with it? And does it make a difference whether it is ...
[1 reply] : http://www.cplusplus.com/reference/clibrary/cstdio/remove/ Good luck! (by Duthomhas)
by MikeT
Problem with a deque object with embedded deques
 
This could be as simple as what's wrong with the following line of code :- wc_children .wcc_chld...
[3 replies] Last: Ha, that MikeT's an idiot. The issue (the idiot hopes, only basic c... (by MikeT)
How difficult would it be for me to make a roguelike?
 
We recently had an assignment at school to create a Diablo clone in the console window with text onl...
[13 replies] Last: I would recommend the SDL library too ... even though I never got it w... (by DrChill)
October 2009 Pages: 1... 1112131415... 25
  Archived months: [sep2009] [nov2009]

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