Beginners (Page 60)

by stlund
Inheritance question
Hello there fellow geek's. So Im trying to learn thw concept of inheritance and Im wrighting som ...
[3 replies] Last: Lets say I make an object shark, then it has to inherit from fish, and... (by stlund)
What does (i & 1) do?
I'm trying to understand what the below code is actually doing? I thought (i & 1) would display odd...
[4 replies] Last: @hatsack: i&0 is always 0. It wouldn't print anything. (by Disch)
by Ch1156
Can I initialize virtual functions outside a class?
I want to know if i can initialize a virtual function outside a class, the function will have a lot ...
[1 reply] : bump (by Ch1156)
Big O of a BST recusive size function.
Hey guys I'm trying to figure out what the big O of my recurisve_size function would be. For this f...
[no replies]
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)
Pages: 1... 5859606162... 105
  Archived months: [aug2014]

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