Beginners - March 2008 (Page 4)

by dan123
Need help on Trapeziod integration assignment!
 
hey, im a first year engineer at u of a and for whatever reason it is decided by alberta that i am required to take a programming course in c++. i have done ok ...
[1 reply] : sir dai ako makaka exam saimo T_T dai pa kaya ako tinawan permit from ... (by albuerne)
Where to start
 
Hi I am just starting out in learning C++, I have basic programming skills from using Delphi and am pretty confident with PHP and Mysql. I am hoping to b...
[5 replies] Last: elow shyne balote ng WRI (by albuerne)
repetition question
 
hello i am having trouble completing an assignment. i am able to create a single sided bow.. like this: ********** ********* ******** ******* ****** **...
[no replies]
by BMH
Simple question about instances and for loops
 
Hello, I've got 8 instances named food0,food1,food2 ... until food7. They're instances of a class which contains 3 ints. When i want to cout the stunErbij...
[11 replies] Last: I've got about.... 11 hours before my deadline :). (by BMH)
#include <string>?????
 
Can someone exlpain this to me..... I can compile and run my program using string variables I declared WITHOUT including the header file <string>. Why didn't...
[18 replies] Last: Thanks for this interesting discussion. (by ropez)
Leading and last significant digits
 
I just can't come up with a way to have my program determine whether the leading significant digit is a certain digit (as in in; 23443421 - is the leading digit...
[no replies]
by tzuch
Problem with code in the tutorial
 
I'm a beginner to C++, but not to programming. I understand the stringstream function and what it does. However, I copied the code on the I/O Functions screen...
[1 reply] : It might be that you are using an old version of Visual C++. From w... (by vince1027)
Stack-Based Calculator
 
I am writing a programmer for a basic C++ class that uses a 2 stacks in order to evaluate an equation. I have everything in order and even saw my teacher a cou...
[2 replies] Last: Allow me to indent that for you :-) #include "linkedStack.h" #inc... (by magicalblender)
The program terminates just when it starts (Novice Question)
 
Hi I'm new to C++, and I was following the tutorials on this website. I'm using visual studio 2008 and when I run the program it terminates just when it star...
[2 replies] Last: Thanks a lot :) Kindest Regards GBStudio (by GBStudio)
by tomao
Open file, not in folder
 
how do you open a file with the complete location, rather then the name of the file, and have it in the folder as the program? I have this code, to drag a file...
[4 replies] Last: Thank you very much! :) You don't know how much you have helped me! (by tomao)
Protected Inheritance question/problem
 
I have two classes: class A { protected: virtual void render() { /*code*/ } }; class B: public A { protected: A *aInstance; virtual void render() { a...
[7 replies] Last: First, friend is a bad option for this. A friendly access is all about... (by satm2008)
by Rope
Console exits when .at(i+1) is used
 
Hi all, I've got a small problem. Im working on a lexical analyser for school bu when I add this in my code char nextChar = input.at(i+1); A...
[8 replies] Last: I’m glad you got it working. I doubt if it will cause you a probl... (by closed account z05DSL3A)
Help pls
 
Am a beginner in progaramming generally. 1)Am given an assighment in school to write a C++ program to determine the determinant of a square matrix and the det...
[1 reply] : What have you got so far and/or what problems are you having? (by closed account z05DSL3A)
function or #include problem
 
i need help when i run this program it has a lot of problems what i want the program to do is prompt the user to put in two differernt dates and output the num...
[8 replies] Last: It works for comparicon (==). Assignment (=) is something completely d... (by ropez)
i need this program to find the average what is wrong with it?
 
# include <iostream> using namespace std; int main () { int count, total, measure1, measure2, measure3; total = 0; for (count = 0; count < -1; ...
[4 replies] Last: I realized that you don't actually have an infinite loop. Instead you ... (by ropez)
help please
 
I took this C++ class online because there was nothing else available and I needed to keep a full load. It is flat out kicking my tale, I just don't get some o...
[7 replies] Last: hi im ismael ... from phillipines i think try this new code... i th... (by takemewithyou)
Does new initialize memory to 0?
 
Does new initialize memory to 0?
[2 replies] Last: OK, thanks. (by Nate879)
Arrays
 
How do I arrange the code to have the output (number of right answers) in increasing order instead of decreasing order /*THIS PROGRAM WILL SCAN EACH OF THE S...
[2 replies] Last: How do I arrange the code to have the output (number of right answers)... (by cppjsan)
by Rope
Getting '\n' out of a variable string
 
Hi all, I'm trying to check if a string contains a \n character and then incrementing an int to get to know the currentlinenumber. This is what I've got s...
[3 replies] Last: #include <stdio.h> #include <string> #include <algorithm> int ... (by closed account z05DSL3A)
how to terminate a program?
 
first of all learning c++ on your own ain't easy at all. second, i'm sitting here going crazy and not knowing how to terminate a program by using a letter. here...
[5 replies] Last: sry for the late reply. but thanks for the help. i really appreciate i... (by evomunk)
March 2008 Pages: 123456... 15
  Archived months: [feb2008] [apr2008]

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