Beginners

by admin
Welcome -- read before posting!
 
Welcome to the beginner's forum in C++.com! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (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. int c is a ... (by Duoas)
c++ win32 Adding values to ComboBox
 
SendMessage(hWndComboBox, CB_ADDSTRING, 0, reinterpret_cast<LPARAM> (_T("Item1"))); SendMessage(hW...
[1 reply] : use ComboBox_AddString instead ( http://msdn.microsoft.com/en-us/lib... (by tath)
i-- not working as update in for loop???
 
code: //Kristen Korz //CIS 22A //This program reads an input file and writes the words in rever...
[1 reply] : Your problem with the output comes from this code: for (int i = MAXSI... (by Smac89)
OpenGL color pattern help?
 
I'm trying to make a pattern in OpenGL but the first few stars are sized wrong. I don't see my mista...
[1 reply] : > glRotatef(180.0, 0, 0, 0); ┬┐what direction is that? You are mis... (by ne555)
the big 3
 
hi, i am new to c++(4months) and would like to ask about the big 3(operator assignment, destructor a...
[2 replies] Last: To add to what is above... 1. Yes, if the object is responsible for t... (by Duoas)
_strtime
 
Hi guys I have a simple question. How will I add an hour to the current time using this codes? ...
[1 reply] : I am not exactly familar with the default format of _strtime though ... (by giblit)
any help pls
 
Hi, I wrote a functions to cut a given file to any number of pieces.It's working perfectly but then ...
[9 replies] Last: so what you are basically saying is that I should add '\0' to the end ... (by cyberdude)
c++ operator overloading errors
 
Hi this is my first time at this site and i am trying to create a program that uses operator overloa...
[3 replies] Last: There're many wrong spots I saw only scan for secs. Just like, i.e. ... (by lsk)
Finding highest and lowest Score
 
Hi guys. I have a basic grade program. I need to find the highest and lowest value but dont know how...
[5 replies] Last: Program works fine, maybe cause of your compiler. (by lsk)
predefined object "models"?
 
hello everybody. I'd like some suggestions on object creation. class Styles{ int id; int right...
[2 replies] Last: class Styles >> class Style I don't much sure about the way you'r... (by lsk)
by CDavis
using rand with char
 
I'm trying to use an array of char to randomly generate but running into errors #define TRUE 1 #...
[2 replies] Last: Your code looks like C more than C++. And this is C++ board. Btw, I'll... (by lsk)
OpenGL colors won't show up?
 
I'm trying to make a shape in OpenGL and when I try to change the colors to anything like (3,5,6) or...
[2 replies] Last: Ooh, I see. That worked, thank you very much! (by VisuAlly)
by zed627
Non-global variable constants from the header file into a function
 
I'm trying to work on a project, where the main program calls on a function to compute something, bu...
[1 reply] : If you are using a constant, there are a couple of ways of doing this.... (by NT3)
Pointers to functions problem
 
I was reading a tutorial on this site about pointers to functions, and I wanted to create something ...
[3 replies] Last: Ah, that makes sense. Changing type (*function)(type) to void (*fu... (by RainbowParadise)
loops
 
hello i have spent many hours trying to figure out how this works, can someone help me understand th...
[12 replies] Last: For i=9 j=2, 2 <= 9/2 (4.5) is true. The if statement however is not. ... (by discofire)
by wharp2
Getting average problem
 
Hello, I am having a bit of a beginner problem :) In my code my average is not coming out to be righ...
[3 replies] Last: sum_of_test_scores = 0; I would do it after the average is calculate... (by admkrk)
by stlund
Need help with a Highscore program.
 
Hello, so I'm trying to code a highscore program, with 2 classes and some methods. But when I try...
[8 replies] Last: Why does HighScore inherit HSItem? Your HighScore object is NOT a HSI... (by AbstractionAnon)
by swivel
Error Message when compiling code.
 
When I try to compile the code below, I get " error: statement cannot resolve address of overloaded ...
[4 replies] Last: Thanks for the explanation. Now I see what your saying. (by swivel)
Recursive problem
 
Hi, as many others overhere I am new to C++, that's why my script is looking very amateurish. My a...
[no replies]
Pages: 123... 89
  Archived months: [may2014]