Beginners - May 2010 (Page 2)

My first project (need insight from regular users)
 
Hello everybody, I'm new to these forums and also to C++. I started experimenting a bit yesterday...
[3 replies] Last: Thanks M4ster, that's a really helpful post, however I don't get what... (by crazzyguy101)
How do you find the max/min without arrays
 
Hi, this forum was very helpful earlier. hopefully you guys can help again. I have to convert the te...
[4 replies] Last: You could save the first value you read into two variables (max and mi... (by filipe)
why won't my pause function work with my getChar function?
 
Hi, I'm fairly new to c++ and programming. In my program I've written a function pausing() (see b...
[7 replies] Last: ah but basically you mean that I should check if there is anything in ... (by SirSkorpan)
reading a .txt file
 
hello, i just started learning to program and i need some help. I've tried searching but i dont unde...
[3 replies] Last: Thank you all for the quick replies!! It took me a while but I got... (by allthepeople)
Getline Skipping (1,2)
 
Hi guys, #include <cstdio> #include <cstdlib> #include <iostream> #include <string> usin...
[22 replies] Last: Thank you :) You helped me a lot. Thanks (by SirPereira)
Retriaving any data type for a method/function
 
I want to create a method that saves any data type in a char array.I already have done the casting s...
[6 replies] Last: if you are able to read the memory you are able to store it in a char ... (by sourena)
How do I fix this?
 
Hello dear cpp users and developers. I'm pretty new to C++ and made my first program. It's a simple ...
[2 replies] Last: I was able to fix it thanks to your tip, bluezor. The program works fl... (by avelqual)
"new" keyword
 
what does exactly it return? is it the same like in java? can i do this class cell{ //some at...
[8 replies] Last: The use of void* is considered evil, just as a warning. void* effectiv... (by Albatross)
Play a sound file or a simple beep from C++
 
Hello! I have read all these posts about sounds, but no one answered my questions. Please no...
[7 replies] Last: I think ignoring it is justified given that it wasn't so much a reques... (by chrisname)
by TH 113
Taking out zeros
 
Okay I am making a program and I want the user to input some data that starts with zeros, this code ...
[5 replies] Last: @R0mai THANK YOU SO MUCH! (by TH 113)
by devvit
Errors during multiple compilation
 
I was studying modular programming, and tried to compile two files: "stack.h" and "a.cpp" together. ...
[2 replies] Last: As hamsterman wrote, you need to define your Stack.h functions in a St... (by mr muscolo)
insert array
 
#include<conio.h> #include<stdio.h> double a ,b; int i,n,vtri; void size () { print...
[1 reply] : Could you please elaborate more on what you're trying to do? What do y... (by closed account Lv0f92yv)
Before I Go Any Further...
 
I am planning on making a RTS-esque game from the DOS (thinking about it, it's like a variation of p...
[1 reply] : Lines 77 thru 81 suggest a class-based implementation wouldn't hurt. C... (by closed account Lv0f92yv)
While loop with two conditions :(
 
Hi there, for some reason, this loop does not work, if any of the conditions evaluates to false, it ...
[3 replies] Last: Ok, I got it now, thank you very much :) (by rodomir)
by Adeon
Using and making custom libraries.
 
Ok, I'd consider myself on an intermediate level with the STL, and I want to move on to creating and...
[10 replies] Last: Nevermind, I figured it out. I switched from using bloodshed to MSVC, ... (by Adeon)
how to use malloc to allocate memory
 
i want to know how to allocate memory using malloc........ i created a linked list of 500 nodes and ...
[1 reply] : http://www.cplusplus.com/reference/clibrary/cstdlib/malloc/ But I w... (by magnificence7)
by ETep
Changing char array value using pointers?
 
I'm trying to understand pointers. Can someone please explain why this doesn't work. However, if y...
[no replies]
Inheritance Problem
 
I have written my code for my class and i keep getting a couple of errors. Could someone take a loo...
[1 reply] : First of all, the next time you post code, please use [ code ] [ /code... (by filipe)
have multiple codes in one project?
 
Hello! I need to know if there is some way to have multiple codes in one C++ project. As in the mai...
[9 replies] Last: Create header file and a cpp file. In your header file, declare (bu... (by Albatross)
while(*userText) stops at a whitespace
 
Hi again all. First of all I wish to apologise for posting so much on this recently - C++ for dum...
[18 replies] Last: Note: getline() and cin.getline() can take up to three parameters.... (by Albatross)
May 2010 Pages: 1234... 33
  Archived months: [apr2010] [jun2010]

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