Beginners - April 2010 (Page 21)

Creating an object to a class only using new
 
Hi all, I want to write a class which will allow to create an object only using new (Dynamic obje...
[5 replies] Last: Make all constructors private, then write a friend function that retu... (by choisum)
Using getline() or something else that will count spaces.
 
Hi, I'm obviously new to C++ (hence being in this forum) and I'm working on an enigma (encrypter...
[1 reply] : #include <iostream> #include <string> #include <iomanip> using na... (by gunner13)
read text from a website
 
Hello, I have been searching the net and cannot find any basic help with my task. I simply need...
[no replies]
double linklist
 
Can someone please give me some examples about double linklist for add a new element, delete ,insert...
[1 reply] : http://lmgtfy.com/?q=examples+double+linklist+ (by kbw)
Trouble using a .dat file
 
I have been given an assignment where I must build a function that will read data from a file sig.da...
[1 reply] : Put the file in the same directory as your program's executable. If yo... (by Duthomhas)
"multiple inheritance"
 
i want multiple inheritance explaination & syntax
[1 reply] : http://www.cplusplus.com/doc/tutorial/inheritance/ (by Bazzy)
why "delete" by using TIniFile
 
I am just writing a program in c++ (Borland c++ builder) In my program, i want to read from/write t...
[1 reply] : I already get an answer somewhere else :) for people who also had ... (by runtime error)
How do you add a string to a part of a variable name?
 
I'm working with the following piece of code. void XIClickMouse(string button, bool release) { ...
[2 replies] Last: Bummer. (by hypocorism)
access darray data from struct
 
i am doing a program for my class to calculate loan payments. i implemented my darray, struct of va...
[3 replies] Last: OMYAHHH...so my mistake was.... #include "loan.h" float loan::mon... (by alexandern17)
Just curious.
 
Ok so I was wondering if it was possible to make it so if my while looop variable isn't a number any...
[7 replies] Last: But... I like forcing people to think! All well, I'll just insert a fe... (by Albatross)
by JoshMP
Passing vectors into a function
 
Here's what I have so far: int save(int &x, int &y, string filename, vector<string> *); //fun...
[1 reply] : The declaration indicates a vector pointer but you are passing the obj... (by kempofighter)
Problem with enum
 
From what I've read, an enum's value can be implicitly casted to its type. I'm trying to complete th...
[7 replies] Last: Ohhh, of course! I had the logic backwards in my head. Changing all th... (by closed account jwC5fSEw)
How do you write structures?
 
Im new to C++ and I'm really confused about how structures work. Write a short program to create ...
[2 replies] Last: thanks for the help man (by TMercier)
Temporary Files... How do they work?
 
Hello. I have been given an assignment to code a program to calculate an average from a list of num...
[6 replies] Last: Here's the thing I told you about: http://www.cplusplus.com/forum/art... (by Duthomhas)
Binary Puzzle Solver
 
I decided to make a binary puzzle solver, it will solve a puzzle with binary input by checking every...
[8 replies] Last: Here's my final version: // Mini-solver.cpp : main project file. ... (by Arbruteblade)
square, square root, functions
 
I'm just a few weeks into my C++ class, so I apologize for any lack of knowledge on my part, and for...
[4 replies] Last: Hey dude i really like how this code is built but I have found you... (by MSkillet)
Lottery Program -still looking for someone to review latest post (1,2)
 
Hi Everyone, I have begun an assignment to create a lottery program. I am not allowed to use ar...
[25 replies] Last: @majesticmixers, if you have program in this shape, think about sha... (by mtweeman)
by vulee
C++ primitive type wrapper
 
Does C++ have primitive type wrapper?
[10 replies] Last: I may add that the third alternative is to write a class wrapper yours... (by Bazzy)
Software Troubles. And more :/
 
Obviously, I'm a beginner. I've been contemplating, the last 7 months or so, on learning C++ and I'm...
[2 replies] Last: Thank you, thank you, thank you! (by DylnCox)
How to make a random spawn generator
 
i'm using SDL engine to make a game... and i need to know how to make my characters spawn using a ra...
[2 replies] Last: thanks man (by L E G I O N)
April 2010 Pages: 1... 1920212223... 35
  Archived months: [mar2010] [may2010]

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