Beginners - May 2008 (Page 5)

using class
 
help me write a c++ programe using class to read in a persons name address and age of two people and print out the older person.the program should print out the...
[1 reply] : Your assignment (which i assume this is) appears to be to create a sim... (by Faldrax)
Increasing cache memory
 
Hello everybody! I saw something strange in a program I coded, however I am not sure if it is really a problem. So, what I want to do in the program; I ha...
[2 replies] Last: Thanks for the answer, this clarifies the issue! (by tomasito)
while loop
 
Hi i am trying to write a program that will ask a user to enter number between 1 and 20. If number is greater than 20 the first functione which is inputInforma...
[4 replies] Last: Guys thank you very much for your input i really appriciate, The funct... (by velaphi)
stremp
 
Can somebody help me to or how start it? write a program that uses function strcmp to compare two strings input by the user. The program should input the numb...
[5 replies] Last: Hi rserrano, you need to start writing some code yourself otherwise ... (by Faldrax)
Draw a rectangle
 
Hi i am trying to draw a frame with asterisks, i dont know what is wrong with my code. I've tried to use this link http://www.cplusplus.com/src/triangle.zip for...
[8 replies] Last: Sure, but circles are more difficult to draw in text mode and off the ... (by jsmith)
by Reiyn
Question
 
Where do you gurus suggest going for VB help? I have C++ and VB this quarter and need a hand going a bit further than we have in class to make my final project ...
[no replies]
by MrTran
Hi, everybody!
 
My name is Tran. I am a new member. I have some questions for eveybody. Someone can explain for me what functions "rand","strrchr","strchr" in C library. Tha...
[1 reply] : Hi, take a look at http://www.cplusplus.com/reference/ which has doc o... (by Faldrax)
Ideas on beginner projects?
 
I've read through some tutorials and have a pretty firm grasp on the basic concepts.(The tutorials on this site). I'm liking it so far, but they don't have any ...
[15 replies] Last: Sadly enough, I haven't been able to really do any projects or learnin... (by Dirtrider)
Subtracting large number from smaller without getting (-) answer
 
Please see line 14 for my question. Thanks. //This program takes two times (each in 12 hour cycle) and returns difference in Seconds. int main(){ int Hou...
[2 replies] Last: Duoas, Thank you. it works. (by UserName)
by botman
create a window in DOS
 
Hello!! I want to create new window in DOS like function "window()" in CONIO but after operation who I want to finish he automaticly close and show main window....
[1 reply] : I think you are talking about a "viewport" (as Borland called it)? ... (by Duthomhas)
Random Even or Odd numbers in a given range Or Set
 
Hi I am new to programming and need help with coming up with a "single" statement that will print a number at random from the set of : a) 2, 4, 6, 8, 10 ...
[6 replies] Last: Thanks jsmith. This is smart way to do all of them. It was educational... (by UserName)
by Vyen
Hangman Game and Char Arrays
 
#include <iostream> using namespace std; int main() { char solution ; //holds solution char blank ; //holds "*"'s for unsolved letters int counte...
[2 replies] Last: Hrmm...VC++2005 wouldn't let me use strcmp_s, but strcmp did the trick... (by Vyen)
Is there a way to pause your program while it's running?
 
Is there a way to pause your program while it's running?
[4 replies] Last: Use the system("pause>nul"); line to pause it. #include "stdafx.h"... (by Demosthenes)
I'm brand new, sorry but this is a dumb question :P
 
How do I open a C++ project that I made, but not open it with the compiler? Like I want to open the program from anywhere that I put it, and then my project run...
[2 replies] Last: Ah I found out how to release it, thanks. (by Demosthenes)
Random Numbers Generation in large scale.
 
Hey guys, I am looking for a method (or a library) to create "special" random numbers generation. 1) I need it to be larger the scale of normal rand() fun...
[2 replies] Last: Also check out this web page for an RNG that has a much larger period ... (by jsmith)
cash five lotto
 
Hi i need help with the program that follows and am unsure how to start it: The Cash-5 is a daily lottery number game. Each evening five numbers are drawn to d...
[2 replies] Last: Top down programming, start with the biggest chuck, break it down smal... (by fonzie)
by dingye
need help for my c++assginment
 
Hello! I am new to c++, here is my assignment :): My job is to write a class TwoDimArray implementing a 2-dimensional array of ints as an abstract data typ...
[2 replies] Last: a simple for loops works well for me anytime I do arrays for (i ... (by fonzie)
by itsme
class program to read two and print one
 
may i need ur help in this Program, im stuck in this program. >> a class program to read in a persons names address and age of two ppl and print out the pld...
[1 reply] : The best option here is to: 1.Create a struct with all this inform... (by fonzie)
by g0dwyn
Reading Multiple txt Files
 
Hey everyone, So I've got a few txt files that I want to read in sequential order. The filename starts with "name_" and then a more specific tag, so "name_m...
[1 reply] : Sure, just open them in order. The easiest way would be to get a li... (by Duthomhas)
Array of derived classes
 
Hello. I have 2 classes, one is the base (bibliorafia) ad the other the derived class (sinedria). I want to create an array of pointers that start as the type...
[6 replies] Last: It worked perfect for me also... I don't know, probably i made a logi... (by Mitsakos)
May 2008 Pages: 1... 34567... 12
  Archived months: [apr2008] [jun2008]

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