Beginners - March 2009

How can i make loops post a 10 by 10 square of stars
 
I need to write a program that displays a 10 by 10 square of stars....can you help?(ima newb)
[3 replies] Last: @gumber: Don't just give solutions please...just give hints, people le... (by firedraco)
What one to use, your opinion...
 
After seeing so many people say that using gets() is a bad idea I decided I may aswell start doing i...
[2 replies] Last: sorted.... thanks :) (by mcleano)
by tjinx
Amicable numbers in a range...
 
Code Guidelines and Requirements Given two numbers, if the sum of the proper divisors of the ...
[3 replies] Last: Change your isAmicable function to this: bool isAmicable(int start, ... (by eker676)
by masiht
problem in a program
 
I have made a simple program using classes but It is not running . Can anyone please tell me what is...
[3 replies] Last: Thank you jdd ! you cleared my concepts ! (by masiht)
The end of my program won't display.
 
I'm writing a program for class that plays the game 21 pick up where players take turns picking 1-3 ...
[2 replies] Last: There are a number of different ways to keep the console from closing ... (by jdd)
Teacher/Mentor/Free
 
Obvisously if you are reading this, You didnt come in the post thinking, Yea i'll help you, for a pr...
[3 replies] Last: Start with the tutorial on this site. It is comprehensive. (by seymore15074)
String Error
 
Hi everyone, I'm trying to compile this simple RPG game on Dev C++ and get an error at the commented...
[3 replies] Last: Awesome guys, sorry for not posting the error message. I got it to wor... (by midnight)
Sorting in descending order, how do I output correct order?
 
Hi, I have an assignment where I have to read in data from a file and then output the original order...
[4 replies] Last: hope you are successful in fetching data from the file.. correct? the... (by writetonsharma)
Factors code
 
Hi, i've written some code that returns the factors of any number inputted by the user. There are a ...
[10 replies] Last: Thanks for your reply guys, i'll have a read of that article later! (by mcleano)
dynamic array in sub-subclass
 
i can see the array in my subclass, but not my sub-subclass. im working on another project and it to...
[2 replies] Last: thanks, u were right, when i put void myFunc::subclass(int* arr){ ... (by dulahdaglace)
by mukhan
Socket Programming
 
Hi, I need to read information from the file that is on internet. For example, if you click the fo...
[1 reply] : You could use the wget source to save the file to memory instead of th... (by helios)
by Tepes
newb :S
 
hey all im seriously new to C++ and struggling a bit. im trying to write some code to change roman ...
[4 replies] Last: Also, main needs to include an empty parameter list and an opening bra... (by jdd)
read from and write to binary files: array of structures
 
Hey, I've made an array of structures. I did so by making an pointer to an array of pointers (by dy...
[2 replies] Last: Hey thanks! It turned out well! I changed the reading-code: infi... (by nicolasfranck)
A problem with "include" definition and makefile
 
Hello everybody. Help please to write makefile with simple program that is divided into different...
[5 replies] Last: thanks a lot (by junketeer)
Tricky problem about getline() function
 
Hey guys, I have a tricky problem about getlien() function. I tried to use getline() to reading a wh...
[4 replies] Last: The getline function can be used to read multiline strings by supplyin... (by Xenophilius)
Function returning
 
Hello again! I've been messing around with functions lately. I'm trying to understand return type...
[8 replies] Last: A pointer stores basically the memory location of a variable while a r... (by Xenophilius)
by masiht
nested structure
 
I have studied structures and a little confused about nested structure. I will be very thankful ,If...
[1 reply] : pfriends is global variable. Just move line 17 into main(). (by pet)
trying to create dynamic file names
 
hey guys, im trying to create a program for an assignment that allows the user to create a file on t...
[6 replies] Last: The reason why cin >> (string) does not work is because it is not defi... (by firedraco)
by masiht
constructor questions
 
I am reading the tutorial here.I read the constructor part but I didn't get alot. Can anyone please...
[1 reply] : #include <iostream> using namespace std; class CRectangle { ... (by Gumbercules)
Sorting through data in descending order
 
I have a problem with my code... First of all, is there a way (in very basic fstream) to store valu...
[no replies]
March 2009 Pages: 123... 29
  Archived months: [feb2009] [apr2009]

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