Beginners - December 2009 (Page 21)

Question about using derived class pointer to base class and vice versa
 
Hi, I am new to C++ and have gone through many of the online tutorials and books that are availab...
[5 replies] Last: Thanks again, kbw. This finally clarifies everything. Thanks aga... (by nayakan88)
reading & handling command line args
 
Hi im i student working on a assignment and need some help. we have to do is read in arguments from ...
[7 replies] Last: You can't use 'row' on line 7 before you declare it on line 8 (by Disch)
how to get Program to read entire text file......
 
i currently have the program to process one word from the file, but i want it to read the entire t...
[4 replies] Last: You need to hit the textbooks again. Read the chapters on functions an... (by Duthomhas)
print on LED screen.....
 
I m a beginnering of C++ I m trying to print a phrase dEaF on LED screen, but I have no clue how ...
[1 reply] : Um, I'm confused as to what the picture is as that certainly isn't pri... (by Zhuge)
separating implementation
 
I can't separate my implementation; I have template <typename Object> class list { public:...
[5 replies] Last: I writed class list<Object>::node * list<Object>::del(node * xy) ... (by akayrak)
Blackjack Program
 
I am having a lot of problems with my blackjack program. It doesn't run at all! If someone can help ...
[4 replies] Last: One more question, have you used structures or pointers at all yet? I... (by UNkillableThrill)
by TanKCR
C++ ofstream not working
 
I am struggling with my code. I need the program to accept inputs and write them back into a text fi...
[3 replies] Last: If you're going to do this: ofstream taxFile ("Tax.txt"); Then... (by lace28)
wrong function
 
And so..Need help. i have string of numbers and i have to print out those pairs of numbers which ha...
[7 replies] Last: Ok, here's the pseudo-code for the simplest version of gcd (copied fro... (by jsmith)
count letters in a string
 
Hello! Can someone please help me? Im trying to make a program that would cout what letters and h...
[6 replies] Last: ty (by award982)
Program problem??
 
#include <iostream> #include <iomanip> #include <cmath> using namespace std; int y,r,s,C,n; ...
[2 replies] Last: smh of course! thanks (by Bobby Reds)
Combining a template recursion into one file?
 
Header: template < class T > T minimum ( T value1, T value2) { T minimumValue = value1; ...
[4 replies] Last: You need a loop. Assume that the minimum value is the first one in th... (by jsmith)
Strings using <cstring>
 
If I have a string with no spaces (\0) in it, how can i break up the string into to separate strings...
[2 replies] Last: You can use strtok: http://www.cplusplus.com/reference/clibrary/cstrin... (by Bazzy)
hi fellas
 
guys iv got urgent question and asking for help:what i need to do write? "code which takzes words f...
[1 reply] : You need to do 3 things: read words from file A turn words around w... (by joeriMJ)
Int Main problem
 
#include<stdio.h> void Mid_Display (int x,int y, int z) int main() { int x,y,z; printf("MID NU...
[2 replies] Last: ofcourse! thank you (by metalheadrenzo)
Making a program end without displaying the output
 
I am sure this is quite simple, but I just want the program to end when the user enters -1. With the...
[4 replies] Last: Sweet...that makes sense. Huge help...So it executes as long as a coun... (by thebenjamins)
Converting numerical sequence to MIDI sequence
 
I am a total novice to programming and C++ and I need some advice on how to develop a program for cr...
[1 reply] : My knowledge of MIDI is limited, but as far as I understand it, it's b... (by Disch)
How to count the vowels in a word?
 
Good day! I'm in desperate need for help. No one I know understands C++. I've searched the web fo...
[16 replies] Last: Agree with Disch, c-style strings are antiquated. They can be useful b... (by tummychow)
by token
Pyramid Programming
 
I'm trying to make a program that prints two pyramids next to each other. the program takes in an i...
[1 reply] : conio is nonstandard and you are only using it to control your program... (by tummychow)
Finding minimum value in a vector
 
I got code here that uses max_element. However, can someone help with a more simplicated version th...
[1 reply] : You can get rid of lines 7, 8, 14 and 15, then call the algorithms lik... (by Bazzy)
Unable to write in file the \n in unicode
 
I am trying to convert from ansi to unicode using the MultibyteToWideChar. The problem is that when...
[8 replies] Last: solved, opening file in binary worked. Thanks a lot (by maxitis)
December 2009 Pages: 1... 1920212223
  Archived months: [nov2009] [jan2010]

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