General C++ Programming - October 2013 (Page 18)

Use a non-function member into a class
 
Hello, friends I need help. I mount a function (parameter - numeric vector; returns a string)....
[6 replies] Last: I really don't understand the problem here. @OP: ¿what are the issues... (by ne555)
by Xion18
Help on Amazing Clock
 
Hello guys, I did the first part of creating a amazing clock, that allows user to input the time. An...
[3 replies] Last: Ah yes thank you, forgot to read the entire string, i was more focus o... (by Xion18)
by deleyd
C++ syntax: A* a; aclass&
 
I do C and C#. I have a few questions about C++ syntax related to classes. friend class VehS...
[2 replies] Last: Does VehState* mean variable newState is "a pointer to an instance of... (by Cubbi)
How would I modify this function...
 
My professor (for a c++ class) is using this bit of code in.get(foo, MAX_CHAR, ';'); while (!...
[4 replies] Last: Small digression: professor is a she not a he. I think I need a lit... (by Bdanielz)
by leo24
Graphs
 
The connected undirected graph without loops and multiple edges is given. You ...
[1 reply] : You could use any spanning tree algorithm, for example, Kruslal: #in... (by Cubbi)
by K13ran
Read all pixels from bitmap into one big array
 
Hi, I need to be able to take a bitmap e.g. "untitled.bmp" (bit depth: 24) and loop through every p...
[1 reply] : It might pay to research the bitmap file format (by bmw)
Friend function concept
 
am getting an error while executing this program the is as follows 1.member partition::parts is ina...
[2 replies] Last: still it is not working its saying member declared at lline 8 is inacc... (by raviraj459)
class project
 
hi , i have a project to be done in 2 days .. i understood everything except one point first this...
[2 replies] Last: I'm really sorry but can you explain more ? or Is there any other w... (by rawhaki)
by leo24
Graphs
 
Q.No.4 The oriented weighted graph is given. Find the shortest path from the vertex s to the vertex ...
[no replies]
by leo24
Graphs (depth first search)
 
Hi.here is a question I got for assignment.I am stuck in this for hours and couldnt come up with any...
[no replies]
std::fstream Logger class
 
I like to consider myself to be a decent c++ programmer, but this seems like it should be such a sim...
[1 reply] : I didn't look very close but... if (g_log = NULL) = is assignment.... (by Disch)
Difference in functions when attached to an object
 
My question is why when I attach this function to an object, it produces a different result? If I at...
[5 replies] Last: In main2.cpp, line 15 invokes div on a different object than that sp... (by cire)
Need help finishing part 1 of my school assignment with perfect numbers.
 
Find the perfect numbers between a starting value and a finishing value entered by the users. Displa...
[no replies]
Debug Assertion Fail
 
I'm am unsure where this problem is. It says line 1440, but i do not know where that is and what the...
[5 replies] Last: Please use code tags: [co de] Your code [/co de] See: http://www.cp... (by coder777)
Modified maze problem
 
There is a matrix which contains white cells(represented as 1) , black cells(represented as 0) and o...
[3 replies] Last: First of all, you should use the code format to embrace your code, so ... (by Yueeng)
control structures
 
Can anyone help me to write a program that will prompt and read 5 numbers. Then the program should p...
[1 reply] : Try to do that yourself or you'll never learn. Post some code and ask ... (by closed account S6k9GNh0)
Compiling and linking
 
Is it possible to compile two files separately and then link them to create an executable ? If yes, ...
[3 replies] Last: There are more than one way to create object files (the things contain... (by Duthomhas)
by Yueeng
problem with STL list iterator
 
Hello guys, i've been stucking on this for over an hour and i tried to use other STL like vector, bu...
[3 replies] Last: @tipaye Thanks for your reply, it turns out that the problem is that... (by Yueeng)
by razr
Including headers: base class and derived class
 
Hi, I am working on OOD in C++ and have just started to learn about classes and inheritance. So far...
[5 replies] Last: You're welcome. Yes, #pragma once is another way of doing it, if yo... (by MikeyBoy)
How can I pass a void function as a parameter
 
Hi, How can I pass a function as a parameter? I have a class that I'm trying to reuse and one...
[9 replies] Last: > structs http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/to... (by JLBorges)
October 2013 Pages: 1... 1617181920... 46
  Archived months: [sep2013] [nov2013]

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