Beginners - April 2009 (Page 27)

by turke
Character place
 
How can I take characters from their place and put them into variables? Example: User input : 5+9+...
[6 replies] Last: Yes it is but I wanted to do it using str.at... (by turke)
If Statements
 
NULL
[2 replies] Last: Thanks for the link, got the program working and functioning fine! (by jayray23)
Format Text - ofstream-ifstream
 
I'm having problem with a program im trying to write that reads a .text sourcefile and then format t...
[2 replies] Last: I did that already, What i'm trying to do is remove the excess white s... (by ghost305)
Trouble with FIFO(Queue)
 
Description Create a Queue class that implements a queue abstraction. A queue is a FIFO list (Fir...
[4 replies] Last: isn't mpHead the first item on the list? The removeItem is supposed... (by ghost305)
Decimals are all zeros?
 
I've heard that there is an assignment in school that says you have to write a code for the quadrati...
[3 replies] Last: Forget the 20 local variables you have. Simplicity is the key #inclu... (by eker676)
Enum
 
What is an enumeration? What is its purpose and how do I use it? Your help is most appreciated!
[5 replies] Last: Not exactly. Sometimes it is quicker and less error prone to use an en... (by eker676)
by jzackt
Combining arrays?
 
Is there a function you can use to combine arrays in C. If not, does anyone know how to do it? Als...
[7 replies] Last: ok thanks i will try it (by jzackt)
New to C++ and programming...stuck on programming project
 
Hi. I am new to the world of C++ and programming, i have been self studying it for approx. 3 week...
[15 replies] Last: Thanx, youre awesome x) (by zydeoN)
Yes/No Statement
 
I want to know how to make it a yes or no statement. How to make it Yes I want to buy the shield, ...
[3 replies] Last: Put quotes around the y if (buy == "y") (by eker676)
Problem with a template class.
 
This is for practice only; My knowledge of C++ is extremely limited and I'm wanting to expand. I wan...
[11 replies] Last: I don't care either, I was just posting the information in case anyone... (by firedraco)
by gogo
What's wrong
 
I want to get the maximum number from input numbers and get area, bat program doesn't work!can anyo...
[1 reply] : Take a look at lines 60-61. Every time the user inputs a number, you ... (by jdd)
Initializing a normal array through a non-constant variable
 
My teacher keeps insisting that this will work. int number = 10; int myarray ; Indeed thi...
[8 replies] Last: I told her that it wasn't standard and declared a dynamic array instea... (by eker676)
reading file stops at 0x1A
 
I am reading file to char, checking readed chars and writing to another file with fputc() and fgetc(...
[2 replies] Last: It helps. thx. (by sigutis)
Problems with scanf() and getc(stdin)
 
Hi, I don't know why I need to use two getc(stdin). Some people said me it was a newline in the buf...
[5 replies] Last: You are doing fine. The better alternative, if you want it, is to s... (by Duthomhas)
by masiht
constructors
 
I am trying to make programs with constructors . Can anyone please tell me what is wrong with this p...
[15 replies] Last: When an object of a class is declared it calls the constructor so Cl... (by Bazzy)
Changing tags from upper case to lower case
 
I am making a program to determine how many html tags and comments are in a file, the program has to...
[3 replies] Last: So far I have got the program to open the files, check if the file is ... (by mat1989)
multuple struct in seperate switch case
 
hi, i am wondering , can you put different structs in seperate switch cases . is there a metho...
[4 replies] Last: Disch was putting it lightly. Honestly, I don't have the slightest cl... (by kempofighter)
A problem here
 
#include <iostream> using namespace std; class Car { public: Car(double a,double b) {oil_weig...
[1 reply] : Line 32 is wrong. Look closely. (by jsmith)
Timer
 
So I just made a pretty simple little game, and I am trying to make it that if you don't complete a ...
[2 replies] Last: Oh sorry guess I didn't notice that :P. Thanks I'll see if I can put... (by epiqu1n)
by sobi
Creating a 2 dimensional array in C
 
Hello, I'm having a problem trying to create a 2 dimensional array in C.The array consists of a tab...
[3 replies] Last: I have a good example of this being done in a small program that takes... (by closed account S6k9GNh0)
April 2009 Pages: 1... 25262728
  Archived months: [mar2009] [may2009]

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