Beginners - March 2012 (Page 64)

by atjm88
2D Basic Array
 
#include <iostream> #include <conio> int main() { int i, j; int a = {1,2,3,4,5,6,7,8,9...
[4 replies] Last: Thanks...is that mean, int a in line 7 control the for loop? I mea... (by atjm88)
Beginner's questions
 
Hello... #include <iostream> using namespace std; int main() { int *piNumbers ; ...
[19 replies] Last: Stewbond you were right + two lines of code... #include <iostream> ... (by Gregor Pavlic)
Turbo C help
 
Ok I had this problem Any call started 6:00pm (1800hours) upto 8:00am (0800hours) will be discoun...
[2 replies] Last: thank you very much, worked now =) (by clampzy)
Need hints URGENT!!
 
I have been given a 5 assignments and if u guys can just give me the hints for it i would be gratefu...
[6 replies] Last: thanks a bunch!!! people sorry if i did anything wrong as i dont know ... (by essexboy)
Ifstream help
 
Hello all! When reading files, how is it possible to skip the next character in the file? Thanks i...
[10 replies] Last: It still wont automatically format it, but I have managed to use a pre... (by Exispistis)
by Jynks
ASCII in the console...
 
So I wanted to jazz up some of my consol apps with sime ascii.. I found a few good apps that will co...
[3 replies] Last: #include<iostream> // this program converts any symbol to ASCII c... (by MinwooJu)
Need a little help
 
For a past assignment I was asked to allow the user to input the name of a file. Here was part of...
[6 replies] Last: Okay, so you are finding that the file was not found. This worked oka... (by Stewbond)
random number in sequence
 
Hi, I am making a program that requires you to get 3 random numbers in rapid sequence. I created ...
[3 replies] Last: First: srand() should not be called more than once! Take it out of ... (by Stewbond)
Help with recursive function!!
 
Write a recursive function that does the following. Given a number, add all the digits and display t...
[1 reply] : Don't put a cout in a recursive function. You can't control how many ... (by Stewbond)
by PL285
How to declare A Namespace In a Class?
 
Hello, here is my class. How can I declare these namespaces? I have tried several things and none of...
[1 reply] : are you're trying to declare a namespace or using an existing one? bec... (by chipp)
by mania
student book issue
 
Hi I have created student data (i.e)rollno and names using dat file and i have created book data...
[4 replies] Last: Hi I have created bookissue and book dat file, when i enter boo... (by mania)
by Oswld
String Subscript out of range.
 
So I am trying to run this program, its not everything but I think the problem is in one of these fu...
[2 replies] Last: void get_names(vector<string>& names, string name) { ifstream inputf... (by cire)
please help with my calculator! It's not working properly
 
Can you please help with my calculator? My % isn’t working. I need to get the remainder of 2 int...
[2 replies] Last: Thank you for the help! (by agent99s)
Functions
 
I have an assignment due at 11:59PM. Here are the directions: Goals: Using functions Problem: ...
[12 replies] Last: no - when you're professor said an "identifier" - in this context, mea... (by georgewashere)
Number Guessing Game Help
 
Below is my code for a number guessing game. The problem seems to be that if you guess the number o...
[6 replies] Last: Congrats (; (by georgewashere)
I/O using string failed so many times
 
hi guys i have been using c++forum for quick review some times but never had an intend to register u...
[3 replies] Last: You should try to read it as a number first, and if it fails then try ... (by LB)
by PL285
HELP WITH SIMPLE FUNCTION!? Please
 
Hello can someone please tell me what I'm doing wrong? I am trying to compute the total amount of fo...
[6 replies] Last: duplicate http://www.cplusplus.com/forum/beginner/63392/ (by vin)
by Oswld
Checking for valid input in inputfile
 
Hey, I'm writing a program that involves file writing. I have a question regarding that. I am readin...
[2 replies] Last: Oh wow... I feel dumb... Thank youu (by Oswld)
Question for sqrt
 
Hi guys, I was doing some practice for testing the prime number and I used the 'sqrt' command but...
[4 replies] Last: the % operator will not work because it the modulus operator applies t... (by georgewashere)
March 2012 Pages: 1... 6263646566... 71
  Archived months: [feb2012] [apr2012]

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