Beginners - July 2014 (Page 5)

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)
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 TwilightSpectre)
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)
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]
Access text box from a .cpp file not the original .h.
 
So if I access the textBox9 from the Form1.h file I have no issue editing the contents by simply doi...
[17 replies] Last: In case anyone runs across this problem. I found the solution here. ke... (by nick050183)
by zca4
Function trouble in a string substitution program
 
Basically I'm supposed to write a program that asks for two file names, an input and an output file....
[3 replies] Last: What do you mean by having trouble? Also, you could just have return ... (by Ganado)
by weee
a little question about rvalue reference overloading
 
here's one snippet from MSDN /////////////////////////////////////////// class MemoryBlock { ...
[3 replies] Last: NOTE: Explaining rvalue-ref within few lines of comment cannot suffice... (by OxBADC0DE)
noob basic command line usage microsoft visual c++ express
 
Hi, I am a total idiot when it comes to command line interfaces. Unfortunately I was too young to...
[4 replies] Last: See: http://msdn.microsoft.com/en-us/library/f35ctcxw.aspx (by JLBorges)
findavg function in array
 
I've written this program before, but now it consists of separate functions. I'm trying to get my av...
[8 replies] Last: Glad to help, but something to think about in in the future - If each ... (by admkrk)
by Ganado
Using friendship with save file function
 
I ran into a little problem when coding some stuff. I am wondering if the following situation is a g...
[no replies]
by zionet
Generate N Perfect Numbers???
 
EXAMPLE: 1 6 2 28 3 496 4 8128 5 33550336 6 8589869056 7 137438691328 8 23058430081...
[4 replies] Last: Brute force solution is to get a table of primes, first 1000 primes fo... (by Smac89)
by Fletch
Multiple anti-closers having to be used.
 
I have looked around at that common issue beginners tend to ask a lot - "How do I stop the console c...
[6 replies] Last: Scrap that, complete numpty moment, didn't #include <limits> ... (by Fletch)
really lost
 
I'm having a really difficult time in my current c++ class. I've exhausted myself for the last coupl...
[5 replies] Last: You don't need line 4. (by mutexe)
Display Slovene letters in a string
 
Hello, I'm new here! I've just started C++ and I'm using Code:Blocks for now. I want to 'cout' the...
[4 replies] Last: Thanks for the link, i tried the code but I think I'm still restricted... (by Mike Teavee)
lifetime of variables inside namespaces?
 
hello everybody. in the code below, what would be the lifetime of integer n? #include <iostrea...
[2 replies] Last: oh i see. i'll try another approach then. thanks! (by Stauricus)
The meaning of int
 
When doing the following code I had accidentally used int instead of char and when running the code ...
[8 replies] Last: Oh sorry, I got a bit confused. Whenever I had integer trouble (with... (by closed account j1CpDjzh)
July 2014 Pages: 1... 34567... 43
  Archived months: [jun2014] [aug2014]

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