Beginners - April 2009 (Page 6)

by Joe101
return C++ arrays
 
I read that C++ arrays can't be returned by functions (as opposed to vectors)...anyone able to expla...
[2 replies] Last: Hy Joe101! What Disch said is corect, but remember that there is no w... (by andrei c)
by Claymz
pointers to objects
 
why do we need them? and what does this mean: Monster* checkRandomEncounter(); its lo...
[4 replies] Last: Yes you need pointers to objects. Polymorphism works thru pointers to... (by kbw)
by kishor
What's wrong with my program [ is it wrong with pointer/ logic ]
 
# include<iostream.h> # include<conio.h> void main() { char name ; char *p; int i; cout...
[3 replies] Last: Oh sorry, i ddn't realise that you wanted the '.' - if you change your... (by mcleano)
I can't make programs
 
Hi everybody, i am a beginner, and programms which i write, then i type "compile" then "run" it says...
[4 replies] Last: Hy! Is the source code containing: #include<conio.h> clrscr... (by andrei c)
by murva
arguments sent to constructor
 
Hello, I am trying to understand a code, there is a class sending to constructor the following: cl...
[5 replies] Last: Thanks, you helped me a lot (by murva)
How would you create a map?
 
So how would I go about creating a simple little map. Maybe output a simple box consiting of @ signs...
[3 replies] Last: is there a way to read it from a .txt file? (by GunnDawg09)
by Tripic
Vector Problem Debug assertion failed line779
 
ok the error says debug assertion failed vector subscript out of range line 779. Im nw to trying to ...
[2 replies] Last: std::vectors don't grow automatically. Use std::vector::resize() to..... (by helios)
by lebspy
to all c++ experts i need u
 
hi all, c++ experts. i have a project for my programming I course. the project has to be submitted ...
[5 replies] Last: Maybe you should head back into high school and re-do one of your math... (by Mythios)
Randomness
 
Hi all, I am writing a program that uses a function that generates a random boolean value using a s...
[8 replies] Last: Sweet, thanks for everything! (by SpencerC)
Getting Input in Various Forms from Complex Input File
 
Hi, I am having a problem utilizing the various input commands to get the input I desire. My inp...
[1 reply] : Place special terminators between words or check for a certain amount ... (by eker676)
Downloading Files
 
How do I download files with Dev-C++? Thanks in advance!
[1 reply] : http://curl.haxx.se/ I suggest you use the command line tool combin... (by helios)
Dynamic Array Question
 
Hi, my question to you all is how do I store values into a dynamic array?! If I have this chunk of c...
[13 replies] Last: For an introduction to vectors, refer to the c++ reference on this ver... (by guestgulkan)
Last Project
 
#include <iostream>//required to perform C++ stream I/O #include <iomanip>//required to manipulate ...
[2 replies] Last: Uninitialized variable means that you are using a variable that has no... (by eker676)
Pointer and global variable frustration
 
I'm to create an application that reads words from a given input file. The application counts the wo...
[1 reply] : Post some code with a specific question. (by eker676)
by Ek0
Printing an array and more advanced questions
 
Hello, INTRO Im new to C++ and fairly new to programming in general. I figured a good exerc...
[7 replies] Last: I revised, and then revised again. I meant to say noted....Not that it... (by closed account S6k9GNh0)
What am I missing here?
 
First off, I am very new to C++, just started a week ago. I'm running into trouble with one of my cl...
[7 replies] Last: You can also overload another constructor with no parameters but you n... (by Bazzy)
How to convert a string into hexadecimal??
 
Hello!!! I just want to make a program in C++ which can convert an input string into hexadecimal co...
[1 reply] : sprintf(string,"%02x",character); (by helios)
by JacKal
UTF-8 in DEV-C++
 
Hi everybody! I would really appreciate any help on this. I have googled for an hour without a re...
[1 reply] : Do not cross-post. (by helios)
by um0123
Triangle source code problem.
 
i went to the source code page, and downloaded the .zip file for the triangle program. its one of th...
[8 replies] Last: I can extract it using Vista just by dragging the file on another fold... (by Bazzy)
Keycodes
 
I have been using the keybd_event to make some programs and I have been able to use keys that aren...
[1 reply] : You should use the ASCII values (by Bazzy)
April 2009 Pages: 1... 45678... 28
  Archived months: [mar2009] [may2009]

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