Beginners - October 2009 (Page 5)

Virtual fuctions
 
okay im trying to make a sort of data base, i dont really need it to store the data permanently, rat...
[15 replies] Last: ok, you can store the address of derived classes with the help of poin... (by screw)
Division Function
 
Hello, I'm just learning to program in C++. I constructed a working multiplication function from a t...
[2 replies] Last: so obviouse now too. Thanks for the help. (by pressence)
C++ cleaning string problem
 
I'm having trouble with cleaning a string from nonchars correctly. When the string contians for exam...
[13 replies] Last: Appareantly it has trouble with the getline() 3rd parameter, wich is a... (by Nature1)
Program not running? Fatal Error stated on Visual STudio 2005
 
I'm using Visual Studio 2005, and after building the solution. An error comes up stating "fatal err...
[13 replies] Last: or would it be something like this? double *r; while... (by sl02ggp)
Visual C++ 6.0
 
Hi all, I am trying to implement few functions from a library, but for that I need to use the old...
[5 replies] Last: Also, What if there is a way of using the linux based PRL code and ... (by abhipro)
Battleship Game
 
Hi All! I'm in Programming I and out latest project is to make a one player battleship game out o...
[4 replies] Last: It is a little late to start paying attention in class... // Use... (by Duthomhas)
by MYST
Calculator loop question
 
Hello guys! I wrote a calculator program a while ago - just curious as to how i could loop it wit...
[3 replies] Last: The point of indentation is to make structure more clear. Yours is all... (by helios)
making a wait in milliseconds function?
 
For my class I have to make the game snake. And I have the snake drawing with linked lists correctl...
[8 replies] Last: Erm...couldn't you just get rid of foo and use the value i from the fo... (by demosthenes2k8)
Function calling problem
 
I'm supposed to write a program that prints the bit offset of the first character of a line, followe...
[2 replies] Last: Wow... I can't believe that. Thanks (by DamagePlan)
by glaza
where is the problem????
 
i get an error in the loops and the constructor when i run this program and it crashed for A_num>2.....
[2 replies] Last: You can't do this: A=(train*)malloc(A_num*sizeof(train)); B=(tr... (by jsmith)
Vector as an argument
 
Hi, I am new to C++. I am required to write a program that reads in 3 vectors plus other arguments a...
[2 replies] Last: stripping the values 0.5, 0.8 etc out avoiding the "(" and ")" rather... (by Bazzy)
linkerror
 
hello please help me to compile this program this program has a link error how can i compile this...
[2 replies] Last: hello can yuo help me to solve this link error please (by tah206207)
by Dodle
stdio.h vs iostream
 
Generally I have come across "hello world" tutorials that use the iostream library, but when I was t...
[9 replies] Last: Thank you everyone, I understand much better now. I'm going to contin... (by Dodle)
by jukov
a example httpserver via python
 
I am webmaster, using Apache, IIS many, many of time. so sometime I aware they are not success in so...
[no replies]
Groups of characters within arrays
 
Hi there. I am trying to work out the coding for having an array with characters within the array...
[5 replies] Last: Wow! Thanks so much. It worked. I've wanted to know how to do that str... (by JazzCat)
Variable problems
 
Ok so I'm making a program like the card game High-Low where you flip a card and then guess what car...
[5 replies] Last: The short version of what helios said (no jab at you intended, helios,... (by jRaskell)
by nrose
how to keep track of how many characters are output
 
my program is supposed to only output 10 characters per line and i got that but i also need it to ke...
[4 replies] Last: thanks that helps a bit i will work with that to see if i can get it (by nrose)
#include<filestream> problems reading file
 
#include <iostream> #include <iomanip> #include <cassert> #include <fstream> #include <string> ...
[1 reply] : Use std::getline() to get information into std::strings: http://www... (by firedraco)
Void Function problem
 
Trying to use two void functions to display average of three test scores. Any help would be apprecia...
[2 replies] Last: What did your final program look like, just curious?? (by smalldog21)
by sparky
How do I add the 2 digits of a number?
 
Hi, how do I add the 2 diggits of a number? For example: int num = 15; sscanf(num, "%1d%1d",...
[2 replies] Last: Thank you very much demosthenes2k8. It worked. (by sparky)
October 2009 Pages: 1... 34567... 25
  Archived months: [sep2009] [nov2009]

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