Beginners - September 2009 (Page 7)

by motd
What about this book ????????????
 
What about this book ???????????? C++ - How To Program, 5th Edition ....... do you advice me to start learning from that book or there is better source ??...
[4 replies] Last: Return 0; thanksssssssssssssssssssssssssssssssssssssssssssssssssssss... (by motd)
by robezy
Problem with character array and integer representation
 
Hi All, I'm trying to do arithmetic's of large numbers. I'm using an array of characters to represent the number. I have read in K&R that s - '0' giv...
[7 replies] Last: I can, but I will be away from a computer for a week after today. (by jsmith)
Indexing Output Correctly
 
I wrote a code to solve the 1D diffusion equation using the Crank Nicholson method. However, when I try to output my solution values they continually overwrite ...
[no replies]
Overloading Operators
 
I need some help on implementing the friend functions in the following program that overload the operators == and <<. I am pretty sure I have them declared righ...
[5 replies] Last: Though I would have to say that I would not use operator== in this cas... (by jsmith)
best reference for C++
 
hello everyone... maybe i just want to ask something simple but it is really helpful for me later... btw, do you know the best e-book reference (beside the ...
[1 reply] : It isn't an e-book but you can use the reference section of this web... (by Bazzy)
Reading an unknown amount of data from a file into an array
 
Hello, This question pertains to a programming problem that I have stumbled across in my C++ programming class. The Assignment: ------------------------...
[1 reply] : You can store the numbers in a resizable container ( eg: std::deque ) ... (by Bazzy)
what am i doing wrong
 
I saw a topic on here it was like this but my problem is kind of different when I run the program my average is always the number i typed in but i want it to t...
[1 reply] : cout<< "average "<<average <<endl; remove from the while loop... (by kevinchkin)
by vRltwE
Output to Terminal
 
Hi, I noted that if I put so much output to the terminal my program runs slowly. Is there a solution for this?
[8 replies] Last: X is designed so that very little information needs to be sent back an... (by Duthomhas)
GPA Calculator!
 
In my programming class we are making a program to calculate GPA by different inputted semesters. i can't figure out how to get the user to input the name of t...
[4 replies] Last: getline(cin, SemName); (by Warrior2089)
by motd
Problem in <cmath>
 
salutations this is my code : int main() { cout<<"The square root of 25 is \t"<< sqrt(25) <<endl; return 0; } _________________ this ...
[4 replies] Last: If you are trying to do that, use a static cast for converting to doub... (by vishant)
error with hello world!!!
 
Hi. im using borland c++ 5.02 and im working on my first program in this language and am having difficulties. heres what i have so far. -----------------------...
[2 replies] Last: Borland C++ 5.x came out before the C++ standard was etched in stone. ... (by Duthomhas)
by isthan
Getting C++ Project started Eclipse Galileo on OSX 10.5
 
Hello out there, my first post on this forum. I am trying to get started with programming in C++ with the Eclipse Galileo IDE. I havnt had much luck with usi...
[2 replies] Last: Fantastic information! Thank you! After adding .h and .cpp source ... (by isthan)
String Tree
 
Hello guys! I just started with C development and I'm trying to make a C program wich will read some informations from a ".txt" file and make a Tree with some ...
[1 reply] : Oh! Feel so shamed... I forgot to check if q == NULL... so my proble... (by macedog)
Logic for star pattern program
 
Hi all, Can any one give me logic/code to make following patterns: * * * * * * * * * * ...
[5 replies] Last: suvojit168, programming is ALL about logical thinking. Within that, a ... (by closed account S6k9GNh0)
how to remove item from array
 
I have the function removing items from position 0, but it won't remove items past that, and I don't know why...does anyone else see the problem? I have a dyna...
[9 replies] Last: Did you also want to resize it every time through the loop, or just on... (by jsmith)
Turning int into an ASCII character
 
SOLVED Hello, In this program, I open a text file with a username and password on two lines which are in ASCII value and turn them back into character...
[10 replies] Last: while (usernameLine_ss >> username_int) { ... (by bluezor)
by motd
VI how to desigen program?????
 
Salutations I wanna know if i have an idea for a program ex regesteration program how can i design it ???? i mean : what algorithms i must use...
[4 replies] Last: thanksssssssss (by motd)
by motd
Is this good programming or bad?????
 
i wrote this cod to be the password interface to my first full program i am so beginner in programing advice me please is this good programing or bad ???...
[3 replies] Last: chewbob I told you i just stated learning c++ so that now i am lo... (by motd)
Moving a variable outside its scope
 
I'm new to C++ and I am having a problem with a programming assignment I have. I have a constructor and a destructor, and my constructor takes char name. In my ...
[2 replies] Last: Of course nameOfYourCharVariable should be a member of your class, if ... (by Bazzy)
Simple maze game
 
#include <iostream> using namespace std; int col = 1; int row = 2; const int ROWMAX = 11; const int COLMAX = 16; char maze = { {'B','B','B','B...
[3 replies] Last: Last line of the array initialization: {'B','B','B','B','B','B','B',... (by Bazzy)
September 2009 Pages: 1... 56789... 23
  Archived months: [aug2009] [oct2009]

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