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 How to make an MMORPG (1,2)
 
Hi im not sure if this is the right spot to post this question but anyway... I want to make an MM...
[21 replies] Last: yer but me and my friends want to make an awsome MMORPG :D[/quo... (by jRaskell)
question Microsoft Visual C++ 6.0
 
Does anybody know where to download Microsoft Visual C++ 2005 Version 6.0 Compiler for FREE??
[5 replies] Last: if you own your copy of windows then VC++ is free anyways.[/quo... (by Grey Wolf)
post how to make cheat code for socom 2
 
hello pleople i am new to c++ and i play video games a lot and what to go to collage for tech. and...
[4 replies] Last: click documentation on the left hand side of the webpage, and then cli... (by gcampton)
post Is there a way to find the average of two floats while rounding to whole number?
 
It is not necessary to round to the nearest whole value, but I need something that allows me to take...
[6 replies] Last: Instead of using floating point arithmetic, to use fixed point ... (by helios)
question need random numbers or a pause
 
I'm trying to make a game, and i;m having issues trying to get truly random number's everytime i use...
[4 replies] Last: even with the use of srand the seeding is only down to the second, rea... (by gcampton)
by JRevor
question extern const declarations. How to get them to work?
 
My code has several files. This is a part of Peli.hpp . /*===============================...
[2 replies] Last: You will receive multiple definition errors because: From the C++ spe... (by guestgulkan)
post checking entry for a valid integer
 
I have a program that checks two inputs for integer values and it works fine but the code I have now...
[no replies]
post largest element in a row and column
 
Row = 12 largest = matrix ; for (col = 1; col < 2; col ++) If (largest < matrix ) ...
[1 reply] : What is the precise purpose of the function? A handy shortcut for g... (by PanGalactic)
by ztein
questionsolved left of '->fullname' must point to... it does
 
When trying to compile, the following error appears: (34) :error C2679: binary '!=' : no o...
[3 replies] Last: R0mai: Thanks for info. Duoas: Will try it, thanks. Will need ... (by ztein)
post Cout Result
 
I would like to display as follows: Circle (4.67, 28.65, 66.75) ----------------------------...
[8 replies] Last: I think you just simply forgot to put std::cin.get(); in your codes.. ... (by nemesiscplusplus)
post trouble with classes
 
hi, ive been trying to learn classes but i cant grasp it... what do you guys recommend i learn befor...
[6 replies] Last: thanks for the reply demosthenes2k8, ill give it a shot. (by shadowvillian)
by GameOn
post its not talkin long long a=111111111111(12 1's)
 
well in one code if i assign a=12 1's its showing tht "integer constant is too large for ‘long’ ...
[1 reply] : A 32-bit signed integer's upper limit is 2,147,483,647. You're trying ... (by helios)
question while getline problems
 
Hey folks, im having a problem with the getline function, iv looked through all the other threads ab...
[1 reply] : I don't see you attempting to seek or clear the stream in the code tha... (by kempofighter)
by timHe
post Addresses of extern variables
 
Hi, I've just been trying to share some data across files, and there's something I don't understa...
[1 reply] : No, they should have the same address. Sounds like you defined two glo... (by helios)
post Need advice with I/O Streams and Data Files
 
Well we're on I/O streams dealing with reading and writing to a data file in my C++ class and im com...
[6 replies] Last: Yes, what you have done here is 1.) You open the file. 2.) You as... (by nemesiscplusplus)
solved Parse the hex digits of int?
 
Hi all, Any idea how to do the following in c++ An integer is entered ie (1320) int mynu...
[1 reply] : You can get the last byte with mynum & 0xFF , the other o... (by Bazzy)
by JRevor
questionsolved Weird syntax error
 
My lecturer wrote this code class IOBuffer { public: virtual TPointer Read(fstream&...
[6 replies] Last: EDIT :(the message this was an answer to was deleted) [/quot... (by JRevor)
post Will like to know (1,2)
 
What Compiler is best to use. I have used Visual C++ 2008 Express Edition, but all programs that i ...
[20 replies] Last: I think this discussion should stop here. (by Bazzy)
post having trouble with arrays
 
Im trying to wirte 5 functions GETDATA: that reads in the two dimensional array; average high that ...
[1 reply] : Please use [co de] tags. You are not specifying the re... (by Bazzy)
post sorting method
 
how much sorting method in c++??(5 is enough) and give the explanation please..help!
[10 replies] Last: It's a sort in place algorithm to take a heap (as an array) and turn i... (by firedraco)
post counting to the '\0' on the array of char
 
Hi I'm just about pulling my hair.. I can seem to figure out how to count to the end of the word, i...
[4 replies] Last: There are a number of ways to do this. you are making it way too comp... (by kempofighter)
solved references
 
I just got a bit confused at our last reading, i thought i understand references just fine but appar...
[2 replies] Last: ahaa.. wow, thanks a lot (by stupid idiot)
by jojojo
post loop problem!!
 
hello everyone I am anew in c++ programming and I missed my class last week it was about loop ,,I...
[14 replies] Last: #include<iostream> using namespace std; int main() { int size; ... (by Bello Abdullahi Maimaje)
post Circle
 
#include <iostream> #include <iomanip> #include <cmath> using namespace std; const...
[3 replies] Last: cout << circumference (radius); radius is a function, pas... (by Bazzy)
question Array Problems
 
Hello everyone! I am a C++ beginner(I am familiar with Database but not C++) I have been learning C...
[2 replies] Last: standard for loop for single dimensional arrays, and imbeded for loop ... (by gcampton)
post How can I avoid using 'GoTo'???
 
//Author: Brandon Jackson //Program Operation: To find Area and Perimeter #inclu...
[2 replies] Last: oooo who used to program on commodore64 (me2) :D you may want to ... (by gcampton)
post if Loops
 
I'd like some help please. I'm trying to find the maximum and minimum value in an array. The looping...
[3 replies] Last: what bazzy said ^^, looks fine to me except you have the order of assi... (by gcampton)
by bugs
question question about _stdcall
 
I am learing MFC. Here comes a question about _stdcall in MFC RTTI structure. #define PASCAL _st...
[1 reply] : 1. Because the calling convention was inherited from Pascal. I think. ... (by helios)
by Alkhfi
post whr can use setw()
 
can use setw() like this cout << name << setw(5); or cout << setw(5) << name; post i...
[2 replies] Last: call setw before the thing you want to print with that format (by Bazzy)
question Distance Formula Not Homework
 
I'm not a C++ student, I'm self taught 14, and I wanted to make a program to solve my Geometry :p, l...
[5 replies] Last: To answer your actual problem, you're not calling any of the other fun... (by demosthenes2k8)
Pages: [1] [2] [3] ... [20]   Archived months: [sep2009]

Registered users can post in this forum.