Beginners

by admin
news Welcome -- read before posting! closed
 
Welcome to the beginner's forum in C++.com! In this forum, users can to talk about any topic rela...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-... (by admin)
question Console Closing Down closed (1,2,3,4,5,6,7)
 
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. in... (by Duoas)
post strange C syntax
 
I have come across a C syntax in which there is no return value for the functions and the arrays see...
[1 reply] : I believe some compilers will automatically make a function return 'in... (by billinares)
post Clearscreen flicker...
 
Im trying to make a roguelike game, and everytime you move it needs to clear the screen then reprint...
[5 replies] Last: No. http://en.wikipedia.org/wiki/Screen_tearing By updating only th... (by Duoas)
post first POST/ Program
 
Hey all this is my first post here and so far i love c++ i saw an example program that determines t...
[2 replies] Last: Thanks for the reply. As i looked at other source examples i saw how w... (by xandout)
post IN 2010 ROUTE 66 TE PREMIAZA!
 
Refuzi un joc în reţea cu colegii de cămin pentru că vrei să testezi dacă programul pe care l-...
[no replies]
post Question about 'using namespace'.
 
Should I use 'using namespace'? The reason I am asking is because I'm using multiple libraries with...
[14 replies] Last: My two cents: You should always feel a bit bad when using "using" - th... (by imi)
by Wolf
post Use of pointers
 
hi everybody!! I'm trying to make use of pointers in this code but it didn't work! i followed a s...
[1 reply] : I have no problem running your program. The only thing I see is that y... (by Duda)
post int main() why does this work with float?
 
#include "header.h" float mult ( float x, float y, float z ); int main() { ...
[2 replies] Last: erm... what is the question? if your question is why returning an i... (by Dacster13)
by pika
question Classes and dynamic memory
 
Hi, I've just started learning C++. Right now I'm fine with classes, and I'm fine with dynamic memo...
[10 replies] Last: Did you set up pmem as an array to begin with ? member *pme... (by guestgulkan)
post comparing 2 objects withing a class
 
In my CS class, I have to make a class Rectangle2D and this is one of the required functions: A func...
[1 reply] : Nevermind, haha. I figured it out:) in my header file I forgot an &. ... (by BradyT88)
solved gravity
 
I'm trying to compute the gravitational force of two objects. I can get it to compile but can't get...
[5 replies] Last: thanks,I didn't realize I did that the program is working great now. (by xxlt3xx)
by ToniAz
post return more than one value in a function
 
Hello everyone, I know that a c++ function could return only one value, well what if i need to re...
[4 replies] Last: http://www.cplusplus.com/forum/beginner/18489/ :-] (by Duoas)
post Can anyone lend a hand for a C++ assignment about hotels?
 
I am extremely confused and frustrated. I hate waking up to the thought that i will never be able to...
[no replies]
post How do you skip over sentances in file input
 
Ok so I want to read in a file that says this Please enter the name of the family purchasing the ...
[no replies]
by Tomdon
post Passing strings through C++
 
Using these rules below, I must make a program that takes to inputs of time on a 24 hour clock. Dep...
[no replies]
post a problem with my coding
 
So I am just starting to learn C++ and I was asked to make the following program The program is s...
[2 replies] Last: lol I feel stupid now, I knew it was something simple as declaring the... (by paulliwali)
by scokah
post class variable trouble
 
I am having some trouble on a project and its probably something simple but I cant figure it out. It...
[no replies]
post 1 dimensional array of 1000 pseudo-random integers
 
hi guys pls help me with this question; --------------------------------------------------- Write ...
[10 replies] Last: im not sure bcoz it does return 50 as most common number all the time ... (by blaze745)
question String in a Structure
 
I have a structure defined in a header file like this struct design { string name; ...
[3 replies] Last: You probably used std::string name instead of string name. (by Duda)
question Cannot get my fractal to work.
 
#include <windows.h> const int CLIENT_SIZE_X = 400; const int CLIENT_SIZE_Y = 400; const int SE...
[3 replies] Last: it works fine for me in vc 2008 express. and no it isn't a win32 conso... (by chimera)
post Multimap
 
I'm working on a project right now where my program reads a text file, and encodes the text file wit...
[9 replies] Last: Oops! haha works now thank you very much. (by workman845)
post Reading and writing binary file
 
Ok guys, I spent all of yesterday understanding a binary file and creating a binary file's and I hav...
[14 replies] Last: When I add cout's to see what the program is doing it just runs them ... (by tarheelfan08)
post Getline
 
Hello, I'm having some problems with getline function. I'm using it because I'm trying to save 2 ...
[1 reply] : On line 11 you're getting input from the user and storing it in the va... (by sammy34)
post Essay Counter question
 
My dad gave me an assignment to do and I have no idea how to do this, I am just a beginner but this ...
[1 reply] : Open the file. Read it one character at a time. If the character rea... (by jsmith)
questionsolved How to convert int to char ?
 
#include <stdio.h> #include <string> #include <iostream> using namespace std; int main()...
[2 replies] Last: So, if I understand correctly, you want to write each integer from an ... (by sammy34)
by mirad
post difference between static and dynamic allocations
 
when writing char name and allocating "toto" for example it seems like a dynamic allocation thou...
[2 replies] Last: yes thanks a lot the infos were quite interresting especially when tal... (by mirad)
post Adding a Character input error but i need assistance
 
Hello folks, i am having trouble with this one...if i am to input a character value into an integer ...
[3 replies] Last: Oh, so you can't use c++. In that case I don't think you can use the n... (by sammy34)
by sggg
post study programming
 
Hi, I've wanted to strat studying programming on my own and I'd like to recieve few books or tutori...
[2 replies] Last: The C++ Programming Language: Third Edition by Bjarne Stroustrup[/u... (by attaboy)
by vlad61
post learning c++
 
so i think i got the basics of "basic input and output" and when i move unto the other tutorials it ...
[3 replies] Last: Reading books is the best way to learn, in my opinion. (by moorecm)
post Need some info!
 
Hi, I'm actually a young boy (14 years old) who thought this might be a fun thing to learn. It's a b...
[9 replies] Last: looks like the kid just gave up.. (by blackcoder41)
post how to understand this C++ function?
 
just start to learn C++, and sort of confusing about the following section of code: 1.int *g...
[9 replies] Last: when you need to show it's value, why you are using cout<<'A'-'... (by imi)
Pages: [1] [2] [3] ... [38]   Archived months: [jan2010]

Registered users can post in this forum.