Beginners - May 2009 (Page 13)

file manipulation
 
1.I would like to take primitive line commands. 2. Then I would like to store them as text in a dat...
[2 replies] Last: You are looking for an interpreter. Check out Tcl http://www.tcl.... (by Duthomhas)
Array problem
 
Hey everybody, Here's the problem. I'm trying to create my own file finding function that would b...
[1 reply] : You are going about it the hard way. Use opendir (), readdir (), an... (by Duthomhas)
by jayt
any ideas about recursion ?
 
I have a test on recursion and I have been studying it.I want to test myself.So can anyone give me a...
[14 replies] Last: a nice recursion example--not as challenging as the binary search invo... (by Joe101)
by ibama
Another array problem
 
I'm supposed to use an array to print out the highest funds raised, lowest funds raised, and also th...
[11 replies] Last: sorry people. Newbie here. Okay don't have a cow, man. (by ibama)
by jayt
template question
 
Hello Friends, I want to ask , Can we use template functions without using any class ? If yes , ho...
[5 replies] Last: yeh helios ! I got it Thanks (by jayt)
Passing dynimic matrix to a function
 
Hi, mates! I tried many ways to write it, but no success :(. for example : cin>>N; int A ; C...
[10 replies] Last: You are right, on line 88 there is a stupid mistake. I dont know if l... (by MrProfit)
i Hope i did this right
 
I am writing my code in c++. i am not sure if i did this right : Write a complete class implement...
[2 replies] Last: 2. should be friend bool operator==( const Worker& w1, const Worke... (by jsmith)
polymorphism example (beginners)
 
Thanks Bazzy and many others that help me to start understanding "polymorphism". Below is a kind of...
[3 replies] Last: I would rename Swap() to something else then. swap has a specific mea... (by jsmith)
File Manipulation in C++, is what I have so far ok?
 
Here is my code, I'm trying to allow the user to input a path to a text file. It reads it, stores it...
[1 reply] : You never stored anything -- you only read each line and echoed it t... (by Duthomhas)
by mac7
Dynamic array of arrays
 
Hello people, like the title says, I need to know how to create a series of dynamic arrays using...
[5 replies] Last: Thanks a ton Duoas, But I don't see the dynamic part of the arrays ... (by mac7)
variable int with other type of value
 
hey guys, I'm new at c++ programming and i have a few question but this one is killin me. look a sam...
[2 replies] Last: What does "escolhaJog" mean? (by Hammurabi)
Troublesome output placement
 
I have the entire program down, but I'm having a small problem with the output. The program is askin...
[4 replies] Last: Thank you, I appreciate the help. (by Comrade)
Advice on Histogram
 
Hi There I would like some advice on my code to produce histogram for marks...Just looking for gu...
[1 reply] : I would say ... no. You are using old-style headers. Do this instea... (by Hammurabi)
by ddamq
Problems with char array and atoi function
 
Hello all I'm having a small problem, who tends to get bigger and bigger, as I cannot go past it....
[1 reply] : #include<iostream> #include <stdlib.h> int main() { char* r... (by closed account z05DSL3A)
by Bv202
Vector question
 
Hi, Is there any way to add multiple elements to a vector at once? Like you can do: int array...
[3 replies] Last: vector<> has an insert() method that takes two iterators which define ... (by jsmith)
"space character"
 
I define char A ; , then write .... cin>>A; cout<<A; Why if i write, for example, a...
[2 replies] Last: For user input, you should be using getline () with string s. #i... (by Duthomhas)
i need suggestions in c !!!
 
Hello! I have a homework doing a game (checkers). It likes chess. when i begin to write the s...
[4 replies] Last: thanks for your replies.. I have finished the game. I prefer to use... (by karalius)
by Joe101
Please point in right direction
 
Why does the code below only cout the addresses? --- int* pointerTest(){ int z ; f...
[2 replies] Last: Disch, thank you yet again. (by Joe101)
copy an instance of a Stack class?
 
Hello, I am trying to write a program that manipulates a stack containing integers. I have written...
[1 reply] : Your stack is a stack of ints held in a fixed array. You can do a bit... (by kbw)
by kfex
cc1 error fixed on dev C++ for vista
 
It fixs the error you get when you compile with resources and icons for vista users Heres what y...
[no replies]
May 2009 Pages: 1... 1112131415... 21
  Archived months: [apr2009] [jun2009]

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