Beginners - February 2009 (Page 8)

program about the personal income tax
 
can you make a program for personal income tax.. or just give me suggestions regarding with that program. thanks...
[1 reply] : try www.rentacoder.com (by anders43)
serial Port C++
 
How to modify the settings on serial comm port?. I use C++
[1 reply] : This is an operating system dependent question and doesn't really rela... (by anders43)
fstream problem
 
This little program is intended to write the following text in a .txt file. Hello (This is first line) 0123456789 (This is second line) #include<iostre...
[2 replies] Last: Thank you. Your suggestion worked. (by Beginner101)
what method to write this program?
 
Write a program that reads a temperature value and letter C for Celsius or F for Fahrenheit. Print whether water is liquid, solid, or gaseous at the given tempe...
[4 replies] Last: duuude, I have NO idea how to do this even with the articles, ill post... (by PolishSasquatch)
ifstream trouble
 
I am doing a project for school and I have to get information from a file. All is good when i write the code all in main, but that isn't very good coding. I h...
[3 replies] Last: stream::open takes a C string argument, InFile is a C++ string I... (by Bazzy)
DataType of inFile ??
 
Hi there, I'm working on a project, and here is some of my code. I copied this code, because hopefully everyone can get the general idea what's going on. Th...
[5 replies] Last: streams don't have the copy constructor so you have to pass them by re... (by Bazzy)
Problem with strings
 
Hi everyone: I'm starting to learn C++ and I'm creating a program to mix up the questions on the multiple choice exams that I give my students. The part of th...
[9 replies] Last: Yep, I must have read over it too fast; my fault. (by seymore15074)
by Chrisj
error: no match for ‘operator=’
 
I'm writing a small openGL program to do keyframe animation. The lines of code I have highlighted in my code appear responsible for the error I get when compili...
[6 replies] Last: Because there is a little clause in the standard that says you cannot ... (by jsmith)
by Duncan
#pragma once versus #ifndef
 
I've heard that these are essentially the same: //Automobile.h #ifndef _AUTOMOBILE_H #define _AUTOMOBILE_H #else //... #endif vs //Automobile.h #p...
[13 replies] Last: Still, not worth it, in my opinion. It clutters the code for hardly a... (by seymore15074)
First Game
 
Heyo - I'm working on my first game and I am stuck at the moment and could use some ideas at how to proceed. I can get the player character to move, but not the...
[5 replies] Last: You have other problems as well. In draw_map(), you are not callin... (by jsmith)
using .length()
 
i have this for my code string str; int len; str = ReadStr(); len = str.length(); return len; I am getting an error saying no function defin...
[2 replies] Last: One problem you might have (as I had it) is that you have missed a } ... (by awasteoflife)
Prime numbers
 
Hey, this is my first post around here! I've been playing with c++ programming for the last couple weeks and thought joining a forum would be helpful in learni...
[2 replies] Last: First you should think about what makes a number prime: it can only be... (by fatllama)
by masiht
stepwise refinement
 
can anyone tell me what is stepwise refinement or tip down design ?
[2 replies] Last: yes (by masiht)
rand ( ) with decimal values
 
Hello! I'm just need somebody to tell me if everything I have here its right and what its wrong if anything its wrong. Prototype //Para calcular nume...
[8 replies] Last: So it should never used for setprecision value to be set by the user..... (by PSPMAN90)
teach me.
 
this is my code for c++. #include <stdio.h> int main() { float num1, num2; char op, sum ; gets(sum); { sscanf(sum, "%f ...
[3 replies] Last: Sorry but I don't understand what you are asking. You want to input th... (by Zhuge)
Having a problem geting this to run!
 
heres the cod,e i now understand i cant have a being defined as multiple things #include <iostream> #include <cmath> using namespace std; int main() { ...
[2 replies] Last: sorry, forgot to add that: 1. Write a unit conversion program that ... (by PolishSasquatch)
by masiht
quesiton about array
 
// arrays example #include <iostream> using namespace std; int billy = {16, 2, 77, 40, 12071}; int n, result=0; int main () { for ( n=0 ; n<5 ; ...
[1 reply] : //simplest_array_example.cpp int a ={0}; (by helios)
want to find simple calculator code
 
i need code for simple calculator.please
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by helios)
by masiht
address of variable
 
I have been reading this tutorial here . I want to know what does it mean by address of variable in Array.please explain with example, I will be thankfull.
[2 replies] Last: A pointer maybe... int* number; int myarray = { 0, 0}; num... (by eker676)
by pino
setstate
 
About the IO condition states, if I try to set and clear the condition flags, it works. However, for the IO library function s.setstate(flag) , the C++ Primer ...
[1 reply] : Read that sentence over a few more times. It's just poorly-written. (by seymore15074)
February 2009 Pages: 1... 678910... 22
  Archived months: [jan2009] [mar2009]

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