Beginners - October 2009 (Page 2)

Cow & Bull exercise asking for criticism
 
/* Name: cow_bull.cpp Purpose: to create a working example of a console cow & bull game. *...
[2 replies] Last: Your main/try/catch blocks are mixed together for some reason. Try/ca... (by Bazzy)
Asking for advise .
 
Hello, i just start from scratch programming in c++. Is quite difficult but fantastic too. I found a...
[4 replies] Last: The standard is rather hard to read except for the simplest things (e.... (by helios)
run-length
 
I need to write a program that I can input a ASCII file into it to decode it. I have saved the file ...
[2 replies] Last: http://www.cplusplus.com/doc/tutorial/files/ (by Bazzy)
Beginner Projects
 
Does anyone know of anywhere with some beginner project ideas. I am taking a C++ college course righ...
[3 replies] Last: I like these a lot. While the first few are very basic it still helps ... (by cbouwkamp)
struct and union
 
we are using a struct and a union to map a 32bit microcode instruction to its corresponding bit fiel...
[7 replies] Last: As yet, no one has mentioned that the thing the OP is trying to do is ... (by Duthomhas)
If statements involving a string and a int
 
Hi everyone, I'm new here :). I was looking for a way to query an answer from the user, and then, d...
[7 replies] Last: http://www.cplusplus.com/forum/beginner/15368/page1.html#msg76089 Tho... (by Duthomhas)
by minix
Debugger
 
Hi, I want to make a debugger for my application. which also print line number and and file nam...
[3 replies] Last: http://www.cplusplus.com/forum/general/14694/ (by minix)
how to use fstream?
 
hi guys, My point is to make a program that could read from given file byte by byte.. somehow it ...
[9 replies] Last: http://sl.iciba.com/viewthread-52-634575-1.shtml (by zhangwenlang)
by Aazor
Mac open source programs
 
I have been programming with C++ for a few months now and I am curious if anyone knows of a any site...
[10 replies] Last: It is already installed. Thats good that its not just takin up space o... (by Aazor)
by robezy
Doubt about member functions calls
 
Hi, This might seem trivial, but i got a doubt. I have class like class SomeName { ...
[1 reply] : Yes. (by kbw)
arrays
 
1.Input characters from the user until a '-' character is reached. The input will all be characters,...
[2 replies] Last: Thank you very much! ok so my program is as follows but it says my le... (by spazamatic2)
How do I code computer shutdown?
 
I have computer addiction and need a program that will help me break it. Unfortunately, I couldn't f...
[4 replies] Last: Or you could use SetSystemPowerState(). (by helios)
by JWP321
must be nonstatic member function error
 
Hi, when I compile my code for proj07.string.cpp, i receive the following errors: proj07.string.c...
[1 reply] : You're defining the function wrong in the .cpp. It's not String::St... (by helios)
working with do-while statements
 
so im haivng trouble writing this program, here is my task: "Develop a program that accepts several ...
[4 replies] Last: Mate334 is correct... You're using incorrect logic here... }while... (by pjwarez)
Question in Arrays - Give an advice
 
The following problem has to do with Arrays. I would appreciate if someone could give an explanation...
[3 replies] Last: You should never ask this question because it should never happen. DON... (by mbittel12)
Looking YACC grammar for 8085 or any other assembly language
 
Hi, i have started working on writing a assembler and need to write Lex/YACC grammar for the same...
[11 replies] Last: Yes, you're right. This actually could work pretty well. Of course,... (by Abramus)
ADD CODE ERROR ,Reference-parameters
 
I ' m a beginner... Can anyone help me too find out what's wrong with my code and fix it. thanks ve...
[2 replies] Last: Thank you very much!!- hamsterman very helpful... (by james1008)
by rej3kt
Initialising an array within a for loop
 
All i'm trying to do is get the program to ask the person to enter a number in an array then test we...
[4 replies] Last: this can also work if ((number >= 1) && ( number <=50))... (by Maimaje Bello Abdullahi)
Error Checking ofstream?
 
#include<fstream> #include<iostream> #include<string> #include<cstdlib> #include"person.h" usin...
[2 replies] Last: Okay I took it out for now. How should I use .bad() properly? I looked... (by cbouwkamp)
by Claymz
Abstract Base Class
 
hi, base class becomes abstract class, when it containes atleast one pure virtual function. so...
[3 replies] Last: You make functions virtual if you want derived classes to be able to o... (by jsmith)
October 2009 Pages: 1234... 25
  Archived months: [sep2009] [nov2009]

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