Beginners (Page 4)

by Masada
Copy constructor and Operator overloading
 
I don't really understand how to implement these functions. I have everything else working but these...
[no replies]
How can I assign an address to a pointer that is a member of a structure?
 
I understand the concept of pointers declared as structure "variables". But I'm a little stuck when ...
[7 replies] Last: Ohh I finally understand now, thank you. (by SomeAmazingGuy)
Why is my code only putting out the last function?
 
Hi, my code is supposed to read data from a text file and make it into a linked list. There are 6 di...
[11 replies] Last: All right, i'll try spacing out those and see if that fixes it (by PATBALM)
while loop help
 
Hey I'm having trouble with figuring out while loops for my homework. I suppose to prompt a user for...
[4 replies] Last: Hey thanks man that works pretty well. Gonna work on it some more matc... (by MrBond90)
Game replays and wont quit!
 
Hi! For a class that I am taking we are supposed to make a guessing game that creates a random numbe...
[8 replies] Last: Now that I look more closely it looks like the OP wanted to check for ... (by kevinkjt2000)
how do I call my function?
 
My project has requirement for building implementation function there is one function called void f...
[1 reply] : function( h, i ); (by Esslercuffi)
Memory allocation
 
Hello i am currently learning about the heap memory or the free store, and was wondering in what sit...
[11 replies] Last: Thanks, makes more sense now, i'm gonna bookmark this page. ^^ (by srscode)
void
 
if i remove void from a function will it still work?
[4 replies] Last: You need to include void in a declaration & definition, but not when y... (by srscode)
Run-Time Check Failure #2 - Stack around the variable 'nJ' was corrupted
 
please help me.. whenever i run the program,it always shows "Run-Time Check Failure #2 - Stack arou...
[3 replies] Last: thank you very much MiiNiPaa!! it's work!! Great!! (by sarah01)
by drax
elements in vector
 
I need help with iteration of vector. How can I erase element from the vector if there is already ...
[15 replies] Last: Code Block is not a compiler, it is an IDE. The compiler included in ... (by keskiverto)
Overload operator[] function trouble
 
Hi i am having trouble writing this function: int& ArrayVector::operator (int index) It must do t...
[no replies]
Not getting my expected output
 
I'm not getting my expected output and have no idea where to begin with fixing the code. When I comp...
[4 replies] Last: Just an example how you can use inheritance properly (Uses C++14): #i... (by MiiNiPaa)
Issues Overloading Operators
 
I have been struggling with a problem that asks me to convert a day of the year (1-365) to the corre...
[5 replies] Last: Increment and decrement are working like they should. Line 2 day = 5 ... (by mobotus)
by moufou
problem with creating object
 
I'm trying to make a pack of cards but I have a problem with how to create the object (Card and Deck...
[5 replies] Last: thanks for the advice about the shuffling. Do I do this part in the d... (by moufou)
by crushr
How to plot waveform?
 
Hey guys, i have just started working on c++ and have some work to do. Lemme copy and paste the que...
[no replies]
Sum of All Pos Integers from A to B
 
Write a program to print the sum of all positive integers from a up to (and including) b where ...
[6 replies] Last: Thanks Esslercuffi! (by supernoobjake)
mytxt.dat, mytxt.bin
 
I pretty much know of text files and use them oftenly, my question is based on a file I just came ac...
[7 replies] Last: Thank you very much for that n your time too, I appreciate (by andy1992)
by rich1
Spam filter
 
Hello guys. Assume you are creating spam filter. You are given some training emails (text files...
[no replies]
by hanest
output data to txt file
 
I am using the trapezium rule to approximate an integral, i want to output the data to a txt file so...
[2 replies] Last: thanks a lot (by hanest)
Pages: 123456... 76
  Archived months: [sep2014]

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