« first day (77 days earlier)      last day (2767 days later) » 

12:41 AM
someone help me
I can't seem to make gdb work
 
2 messages moved from Lounge<C++>
 
any help?
 
 
7 hours later…
7:49 AM
@qaispak see with such a general question I can't reply you now that I've woken up
Because "I have problem with gdb" is vague enough
If only it was possible to post more information without it being lost on disconnect
...oh, wait, it's not an IRC channel
 
 
7 hours later…
3:14 PM
Line 12: no matching function for call to 'Solution::dfs(std::vector<std::vector<int> >&, __gnu_cxx::__alloc_traits<std::allocator<std::vector<int> > >::value_type&, std::vector<int>&)'
why this error
any idea pls
?
@nwp @milleniumbug
 
@jayantsingh the function has signature dfs(vector<vector<int> >, int, vector<int>), you call it with dfs(vector<vector<int> >, vector<int>, vector<int>)
I think you meant to call it with dfs(graph,graph[i][j],visited);
 
 
2 hours later…
5:55 PM
sorry for that ur right
@ratchetfreak
 
6:55 PM
Hello C++ maestros, I wanted to ask a quick question. Linked to my superuser question <https://superuser.com/questions/1128454/how-to-track-program-unresponsiveness?n‌​oredirect=1#comment1615888_1128454> I was wondering if C++ would be a suitable language to accomplish my goal of crating a program that will track program unresponsiveness.
 
1 message moved from Lounge<C++>
@BobtheBuilder next time just link. This <> crippling is making it very hard to follow a link. Also, C++ is rarely a suitable language. Especially if you have to ask
 
7:11 PM
@sehe got it. Thanks for the heads up. Can I ask why it would be an unsuitable language? (For someone who isn't knowledgeable of C++?)
 
That's the exact reason. You just need to know what you want to observe, and how you're going to achieve it. Pin point the scope and then write it in any which language that can do it.
Since I'm smelling it's going to be on Windows (I think that's one of billion constraints you didn't mention) you might as well use C#
 
@sehe Yes... its going to be on windows. C#? Ok i'll look into that.
Might I ask why Windows and C++ won't mesh well?
Nevermind. I just came across why.
I presume it is due to memory management?
I'll answer that question on me own now... much to learn I see.
my* own
 
@BobtheBuilder I never said that
@BobtheBuilder Oh
@BobtheBuilder Nothing to do with Windows.
 
"The function inputs seconds, hours, minutes and returns them as a parameter to its calling function"... huh?
 
C++ is just a hell of a lot more complicated. And you should not do that unless you need it.
 
7:22 PM
"Returns them"... "as a"... how is this a university question? This is before arrays. So what on earth are they talking about?
 
8:02 PM
Thanks again @sehe Im going to head towards those chats now.
 
user406009
@betarunex I assume they would want the student to pass in reference variables to store the result.
 
user406009
void do_my_thing(int& result) { result = 10;} or whatever.
 

« first day (77 days earlier)      last day (2767 days later) »