Beginners - May 2011 (Page 44)

POS with inventory
 
Im writing a program that has point of sale and I would like to have Inventory control at POS here is my code so far there is alot missing with my menus and suc...
[no replies]
Errors in classes
 
Hi all, I'm trying to compile this program, but I'm getting errors; #include <cstdlib> #include <iostream> #include <cstdio> class weight{ pr...
[3 replies] Last: Ah, not entirely sure how I missed the class name out :P but thank you... (by Jonnyisonfire)
Advice?
 
Hi, i'm new with C++ and i want to start simple, but first i would like some advice. Iformation about me: I use Dev-C++ 4.9.9.2. I've read 12 tutorials. ...
[6 replies] Last: Thanx (by Harry909)
if (firstnumber % 2 != 0)
 
If i am correct then the % divides a number and collects its remainder, at this point i want to see wich numbers are odd and wich are even. what does the title ...
[6 replies] Last: No problem, anytime. (by Mohamed Fouad)
Searching a word in a text file
 
hello forum i just wanna ask how can i search a word in a textfile.. i know the basic of input and output stream... now i want is to search a word in the textfi...
[1 reply] : This can easily be done as follows: #include<fstream> #include<iostr... (by Mohamed Fouad)
by yassar
Open image..
 
Hi, How do you Open a file image in C++, not like LoadFromFile(""); But like.......the user would click...File->OPen->and choose a file of there choice and...
[no replies]
by zz77z
2D Array sorting?
 
how could i output the sum of the array rows on the screen in form of biggest row sum to smallest row sum.? for exampel we have this 2D Array : 3 2 3 ...
[1 reply] : struct Row{ //this could be a template class int r ; //you co... (by hamsterman)
Help with code
 
Hi. I´m new to C++, but I already worked with C, and I´m having some trouble to work with OO together with pointers. The code below is aimed to manage pile it...
[1 reply] : You can't have arrays of undefined length (line 13). Either choose a ... (by hamsterman)
by firix
class locale
 
hi, What makes a class locale? http://www.cplusplus.com/reference/std/locale/locale/
[no replies]
File input and output
 
Where on this site is some helpful information about this question? Write a program that asks the user for their name (in one variable), address (in a second...
[3 replies] Last: #include <iostrean> #include <fstream> #include <string> using namesp... (by marniel647)
Base and Derived classes: default constructors?
 
I'm trying to create a database using maps. The default constructors for the base class and the derived class essentially add details to these maps. (Create an ...
[2 replies] Last: Adjusted - sorry about that; My initial plan was to create a "databas... (by NoteToSelf)
possible? If (score == 90-100) ???
 
How can i make it possible to if (score == 90-100) cout << "you are a winner\n; ? I basically want it to success if it it from 90-100
[6 replies] Last: @Love236 Please, mark this thread as solved. (by Mohamed Fouad)
Can main() return a value to another method?
 
As the title says, is it possible for main to return a value to another method?
[3 replies] Last: In my knowledge. No. (by writetonsharma)
Help with switch
 
Hi im new to programming and the forum. :) I'm creating a text game in C++/ C using just cout, cin, switch etc as I dont want to over do it on my first go.. ...
[2 replies] Last: Opps! I just added a break and it worked like a charm :) Thank you v... (by vodkaman6661)
FIND INTERVAL
 
hi every one i have to write a programme to find the interval for which tan(x)=2x please help me to find algorithem to find interval for this equation ...
[2 replies] Last: You could try Newtons method for finding the roots of an equation: htt... (by closed account D80DSL3A)
Write a program converting Base 10 numbers to any base from 2 - 16
 
Can someone give me some advice/hints in regards to writing a program that takes a decimal number from the command line and converts this number in REVERSE orde...
[14 replies] Last: I don't think below code is doing the correct comparison assume argv i... (by sohguanh)
Need help with array average
 
#include <iostream> #include <cmath> using namespace std; int main() { // Prompt the user to enter array size cout << "Enter array size: "; int...
[1 reply] : First: Use code tags [co de] Your code #include <iostream> #incl... (by coder777)
by miaria
Array of strings vs array of pointers?
 
These are the instructions for my assignment: Write an application that uses random-number generation to create sentences. Use four arrays of strings called ar...
[1 reply] : #include <string> and then declare your arrays like this: std::stri... (by m4ster r0shi)
Assistance Needed: Variable type used in ambiguous code.
 
Hello, I am going through a book concerning physics simulation and gradually porting is to AS3. My problem is that the variable type is being called in the co...
[5 replies] Last: Take a book on C like "The C programming language" and start reading a... (by writetonsharma)
by firix
isalpha() and isdigit() (1,2)
 
Define a set of overloaded versions for isalpha(), isdigit(), so that these functions work correctly for char ,unsigned char ,and signed char bool isdigit...
[21 replies] Last: question in this way.I'm not asking the question, C + + creator asks. (by firix)
May 2011 Pages: 1... 4243444546... 48
  Archived months: [apr2011] [jun2011]

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