Beginners - October 2008 (Page 14)

Searching for substrings within a file
 
I am currently working on an assignment for my CS1 class and need help. We are to write a program t...
[3 replies] Last: I would stick with getline to get stuff you the file, since I am prett... (by firedraco)
by matiw
copy constructor for const members
 
hi everyone; i need to know how to make a copy constructor that let me copy a value of a const memb...
[2 replies] Last: thank you i was not sure if i could do it in this way. it really sol... (by matiw)
Trouble with (propaply) an array.
 
I was trying to make a function to find the GCD... What's wrong with it? int divisorlist ; in...
[3 replies] Last: And how the for loop should be? (by HeatMan)
Did I do this right?
 
Write a program that inputs a line of text with functin gets char array s . Out put the line in Upp...
[1 reply] : That just means it doesn't have to load any symbols...it's not an erro... (by firedraco)
Something wrong?
 
#include "stdafx.h" #include <iostream> #define pi 3.14 using namespace std; int main () {...
[10 replies] Last: Thanks psault I got it (by drag421)
by Hazer
Delete one letter
 
Hi, thaks for this forum becaus i'm working A-OK now! I've got one questios... How to delete one l...
[4 replies] Last: If you know where the letter ist, yes it is possible to overwrite the ... (by int main)
Guess My Number Problem
 
In this Guess My Number Program, you have 20 tries to try and get the number 1-500. It tells you if ...
[7 replies] Last: As far as what i understand, this program would only need just a singl... (by ja23jr)
by kaisin
need assistance in drawing graphs...urgent! Tchart Line graph
 
hi, am going in to see my professor in 1 hr time and have yet gotten the graph plotted. what i ne...
[no replies]
by true
Little problem with Dev-C++
 
Hello, I have some compilers installed on my PC - Dev-C++, lcc-win, Borland C++. Most of the tim...
[1 reply] : I had this problem too. I don't know why it worked before and then sto... (by tgruwell)
How to sort an array of integers and an array of strings at the same time?!?
 
I need to write a program that allows the user input 5 student's names and grades. Then the program ...
[3 replies] Last: The name has to change at the same time the grade does for example ... (by Umz)
String/Data to Array
 
Goal: To store data in an array. What: Given a list of data say something like this George ...
[1 reply] : Use a map (or a vector of pairs, but the map is better for this). (by firedraco)
What is the difference between VB script and Java script?
 
Which one is the better tool for client side validation? I am using java script .Can any one sugge...
[2 replies] Last: Javascript would be better. I'd question the VBS engine on Linux/FireF... (by Zaita)
by chiwah
what's wrong with the program?
 
i would like to write a console program that replace some lines in a existing bin file, the command...
[1 reply] : Where's your fopen() for the fptr? (by TheWzrdOz)
by sparky
Pointer to a Linked List
 
Hello, I keep getting the following error when ever I try to create a pointer to a linked list from...
[1 reply] : You at least have to forward declare ContentsOfFile before using it. ... (by jsmith)
Cin problem.
 
Hi guys. I have a small problem that I can't solve. And I don't think the problem is that hard, exce...
[5 replies] Last: LOL, thats entertaining at least, your prof. is a funny guy (by Umz)
by elika
Simple games on comp
 
Hello. I'd like to get some hints for a game. I'm not getting how to start with the problem: Mat...
[3 replies] Last: for the hanoi...You can use recursive function.If you know for n-1,you... (by Nandor)
Loop Issues
 
Hi, new to the world of C++! I'm trying to write a program to compute the intersection angle betw...
[3 replies] Last: Just put the input at the start of a loop, eg; ifstream slope_a; ... (by Faldrax)
How to Check Values in an Array
 
I have a program in which the user inputs data and it gets stored into an array. However, no two of ...
[7 replies] Last: For the cityExists() function, what value are you puting into name ? ... (by Umz)
opening a file
 
i understand that you can use c++ to open a file to read, but when you output in a file can you then...
[2 replies] Last: Yea you can do something like what firedraco says to output data to an... (by Umz)
by quant
class _> struct
 
Hi all. Please, help me in this. I've that strange template class and I want make with it the stru...
[4 replies] Last: I'm no expert but I'm pretty sure that C doesnt have templates, I th... (by Umz)
October 2008 Pages: 1... 1213141516... 20
  Archived months: [sep2008] [nov2008]

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