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)
by Aseel
question Building the basics of any c++ program.
 
Good morning programmers, I'm trying to put the basics of any c++ program consists of 3 files. On...
[no replies]
post gravity
 
I'm trying to compute the gravitational force of two objects. I can get it to compile but can't get...
[no replies]
by vlad61
post do while loop
 
so im starting to learn some loops... its a rocky start but in theory i think this should work im tr...
[10 replies] Last: you mean enter a character into the addition process of the pro... (by joniii247)
post console programming question
 
I am working on a console application that will open a file and read input data it has a date then a...
[no replies]
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...
[7 replies] Last: Thanks, blackcoder41. when you need to show it's value, why you are... (by winecoding)
post My time converter - trying to handle uncorrect input!
 
Well I made a simple time converter, anyways I am trying to get it to where, lets say the user types...
[6 replies] Last: Okay thanks. Yeah, I added #include <ctime> to do time stuff. Ok... (by CometJack)
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 ...
[2 replies] Last: Do you experiment with the code examples? that helps a lot (by Bazzy)
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...
[1 reply] : Hey there, Did you compile it? (by attaboy)
post reverse engineering?
 
Hello, what tool do you guys use for reverse engineering? I have not yet been able to find a tool...
[6 replies] Last: @Duoas, Well, I usually use (or would use!) reverse engineering for st... (by Bello Abdullahi Maimaje)
post 1 dimensional array of 1000 pseudo-random integers
 
hi guys pls help me with this question; --------------------------------------------------- Write ...
[4 replies] Last: could you please explain the void count i dont get it at all plssssss (by blaze745)
by LEESI
post If statements compiler problem
 
#include <iostream> #include <string.h> using namespace std; double ConvertTocelcius ...
[3 replies] Last: #include "5.01.h" #include <iostream> #include <string.h> ... (by LEESI)
post i dont know how to explain this
 
Hey! i am trying to write a program that would get all possible variants of four variables square...
[5 replies] Last: Line 13, casts the input variable to a double type and passes it in th... (by Grey Wolf)
post Calculator
 
A simple calculator that's my second code.What now? #include <iostream> #include <string> ...
[5 replies] Last: Why can't I divide by less than zero? :(. My windows calculator says '... (by sammy34)
post Multimap
 
I'm working on a project right now where my program reads a text file, and encodes the text file wit...
[7 replies] Last: Okay, I figured it out, but it's never random, it just seems to use th... (by workman845)
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...
[6 replies] Last: Here is a small program using the class you provided. I commented out... (by guestgulkan)
by noe
post C++ Beginer
 
hi all, I just learn the language of c++, I am using microsoft visual c + + 2008 express edition if...
[12 replies] Last: here you go http://www.winprog.org/tutorial/simple_window.html Not... (by Hakate)
post Class declaration and its name
 
Hello! I read on MSDN that: A class name whose declaration has not yet been encountered ...
[1 reply] : Yeah. That's also known as "forward declaring" and is a common techni... (by Disch)
post C++ rounding off to the nearest....
 
Hey everyone, i've just started studying c++ and i'm doing / STUCK ON this task which requires me to...
[13 replies] Last: +1 That many casts is pretty much a clear indication that you're us... (by Disch)
post How do I declare/define a const of a nonconst function for overloading?
 
for example: class A; A &operator (int idx); const A &operator (int idx) const; Assume the...
[1 reply] : The code you posted is right. Only it doesn't make sense for A:: ... (by Disch)
post UML diagrams question (1,2)
 
Hey, I'm new to uml diagrams. can any one help me? A church market has different branches. Cashi...
[22 replies] Last: I still don't see anything from you that indicates enough work ... (by jesusLord)
post How to empty char array
 
I ran into this problem while coding today. <<<<<<<<<<<<<<<<<<<Start of Code>>>>>>>>>>>>>>>>> //Te...
[3 replies] Last: clearing a string before you replace it with a new string is a waste o... (by Disch)
by cth90
post Im having a problem with my program
 
Im supposed to turn this function into a friend function but im having trouble doing it. I could onl...
[1 reply] : it should probably return a bool, not an int. anyway, in order for ... (by Disch)
post Class interaction
 
Okay, I have this character class and I want to know about creating a monseter class that can access...
[5 replies] Last: void agilityPotions(character& player) { int choice; do ... (by yoked88)
post Simple problem, cant seem to figure out
 
I'm trying to get the output. like a bowling pin formation ***** ...
[1 reply] : first of all, use the [ code] [ /code]-tag, so your code is more reada... (by Mathes)
post Array problem
 
Hello, Currently, i was assigned to create an array, which i have no idea what array is. The p...
[4 replies] Last: Nevermind i figured it out it should be PrintArray( array1, count) not... (by helpme1)
question Unresolved externals..
 
I've been staring at this and don't understand why I have these unresolved externals Linke...
[2 replies] Last: Yeah, I've included it in all my files.. :-/ (by mrb9337)
post HOw will i make a 5 X 5 2D array w/ diagonal sum.
 
5 X 5 Two dimensional integer array in the main function and its diagonal sum.should i use 3 pre-def...
[5 replies] Last: No, you should help people learn stuff for themselves instead of just ... (by Duoas)
by edward
post Moving to previous lines
 
Hello, I knew how to do this before but I haven't worked with C++ for a while now. How do I jump fr...
[1 reply] : nvm, found it (by edward)
by Eluar
post (khos) the title is encrypted by cesar
 
hello how r u first i want to say this is really a wonderfull site second and its the reason tha...
[2 replies] Last: can i see ur message as follow: oh hello dear do u need any help? o... (by Eluar)
solved 2 strings
 
k i want the functions to go if ans= yes or no but if i type anything it goes to the function. [cod...
[5 replies] Last: Bad examples have nothing to do with what you want. Post the code y... (by Duoas)
Pages: [1] [2] [3] ... [37]   Archived months: [jan2010]

Registered users can post in this forum.