Beginners (Page 8)

by leelee
Easy c++ program that i can't figure out.
[no replies]
classes projects c++
Can someone give me some fun ideas of projects in c++ using classes? For example some games using...
[1 reply] : The game Snake is a bit of a classic, where you have to eat the target... (by squished18)
static function template?
HI, how to make a static function template? I have this code F.h --- header file templa...
[4 replies] Last: Your compiler is allowing non-standard main definitions. It will not w... (by MiiNiPaa)
NuMetro has a special on movies for all members of the public but special discounts for students and...
[1 reply] : Let's start with what error message you are receiving. Just copy and p... (by squished18)
is pointers really important? i mean there are some people saying that it will not be useful in futu...
[4 replies] Last: Understanding them is both important and useful. The latest language ... (by keskiverto)
function with argument lists as string. Is it possible?
I want to create a function with accepts strings as arguments, but I cant seem to make it happen. Th...
[1 reply] : // #include <string> #include <vector> #incl... (by cire)
by hp16
Linked List using classes
Hello everyone, I'm creating a program that has two classes: one for the Node and another one for th...
[1 reply] : never mind, I found it. I was missing a semicolon after SLL class (by hp16)
by PKJatt
0xC0000005: Access violation reading location 0x00000014.
This is a parchment of my code which is faulty. In this case I am trying to manipulate multiple link...
[5 replies] Last: Yes, I get it now. Thank you for all your help "cire". Really apprecia... (by PKJatt)
OpenGL.exe has stopped working
I made an OpenGL program(by following youtube videos and it worked for the youtuber) and its giving ...
[no replies]
class constructor
should i only use constructor if i used set and get? because it says constructor should not have...
[2 replies] Last: Construction can be done even for classes without getters n setters (by andy1992)
by vxk
palindrome using pointers;
Q) Write a program that prints whther a given string is a palindrome or not. write one funct...
[8 replies] Last: 1) I suggest to read string in std::string and then call checkPalindr... (by MiiNiPaa)
by Jhub
please help with probability
Hi Everyone, at the end of my code you will see it outputs 0 the hold number and the hold number pl...
[no replies]
expected unqualified-id before '{' token
Hi there! Can you tell me what is "expected unqualified-id before '{' token" means? I am writing a ...
[1 reply] : void CalcIntResults( int para1, int para2, int& refsum, int& refdiffe... (by kemort)
Confused about boolean class constructor
Given a complete clock class specification, I am supposed to write an implementation and also write ...
[2 replies] Last: Thank you. I was seriously over thinking the problem. I also realized ... (by kemotoe)
Infinite loop while attempting to read char by char until end of line
//Reads in digits for an array. int getFactors (int ary , ifstream &inFile) { char k = '0'...
[11 replies] Last: Perfect. Thank you and thanks for the reference. Definitely need to do... (by jdwright)
by davez
need help here
i was able to create a program that displays the highest and lowest value of the inputted number ...
[3 replies] Last: @Sherre02 Yeah, looks to be doing the same as my pseudocode. A very ... (by kemort)
[Help] Nested for loop
Can someone please explain to me the logic of nested for loop statement? Im just a newbie. #...
[7 replies] Last: oops (by kemort)
Key Presses
How would one wait for a key press let's say "P" to do something in the program but the program mus...
[1 reply] : yes its possible , this is what you see in video games. The enemies k... (by vxk)
by a1tn
Virtual static function that differs with each derived class?
What I am trying to do is have a variable that can be accessed statically (i.e. Error::code) but eac...
[2 replies] Last: Thank you very much JLBorges (by a1tn)
by Jhub
nested loops
I am writing this program that will simulate the roll of a dice. The user inputs the number of roll...
[2 replies] Last: the results still do not seem correct? #include <iostream> #include... (by Jhub)
Pages: 1... 678910... 53
  Archived months: [aug2014]

Cannot post in this page. To post a new message, go to the first page.