General C++ Programming - February 2013 (Page 32)

Linked Lists and Node data
 
Hello So im working on a linked list that instead of the traditional integer value for a data, i'm using my own class. Unfortunately when i do this, i cant see...
[1 reply] : Hi, Node* c = new Node(1,2) Here you have created a node object on h... (by omveer)
Help with array selection
 
I'm trying to make a selection process using roulette wheel selection. To do this I created two matrix, one random probabilities and one increasing probabilitie...
[6 replies] Last: Thanks a lot man! (by MirzaAdrian)
Is it possible to run Qt program from my socket program in c language?
 
Hi everyone, my question has included in the title. Is it possible to do for it? thanks
[no replies]
Console Layout Control "Windows.h" experts needed
 
Hi guys, I am working right not on a little stub program to make sure everything is working fine before delving into the actual project. I a new to the wind...
[no replies]
by souper
Badly Placed ()'s
 
Hey guys, This is my first post so bear with me... In Linux I am writing the simplest c++ program just to make sure everything can execute before writing mor...
[7 replies] Last: greenleaf800073 wrote: int nNumberofArgs, char* pszArgs Kill it wit... (by greenleaf800073)
Syntax question
 
What's going on in the bold part below? I've know that doing something like: PageIterator: page_(NULL) means you're initializing some variable but what does t...
[1 reply] : That syntax was added with C++11 to initialize STL containers (by maeriden)
by Smac89
Converting base n to base m
 
Hello guys, I was wondering if there is a standard for converting something like this: HELLO 27 to ? 3 If someone knows how, please explain. Thanks!...
[5 replies] Last: Completely wrong, reread my post. (by LB)
Dunno what my professor means...
 
I have a completed RainFall Statistics Mod program that uses a linked list (but in this case I called it RainFall). When my professor saw it, he said its wrong....
[16 replies] Last: If you wanted to do link my program. Just break it down into functions... (by greenleaf800073)
Interpreted Language
 
Wouldn't it be cool if someone made this language real? Or at least something similar. 1main 0main 1display[%48%65%6C%6C%6F%20%57%6F%72%6C%64%0D%0...
[1 reply] : Uh, are you serious? This should belong to the lounge by the way. (by maeriden)
Help reading UML documents?
 
I've just started in a Data Structures class, and it's been two years since I've done ANYTHING c++ related. I used to be very good at it, aced my classes in c++...
[8 replies] Last: Thank you everyone. (by bloodmark3)
Memory leak
 
I have been using valgrind to find memory leaks recently and I can't seem to figure out why this binary file loader is causing a memory leak. It's not a serious...
[7 replies] Last: Thanks for all the help, after a little bit of tweaking of a couple lo... (by bcthund)
Best practices on how to implement signal/slot (Event/Listener)
 
I have an application that needs to detect when a entity enters in a defined field, you can almost think of it as a collection detection. I have the applicat...
[2 replies] Last: Yeah and event system (by kevins963)
C Programming : XS file opener
 
Hi all! I don't know C very much, I've only read part of a book a year and a half ago, but still I am trying to understand the source code of the “cracksom...
[3 replies] Last: Thanks to you both! (especially you, Cubbi) (by Anthony973)
Weird Crash
 
Here is the source code for the little program I am building. Whenever I build/run (code::blocks) it runs perfectly fine inside the IDE. However whenever I comp...
[2 replies] Last: Thanks @Disch such a simple mistake can make a world of a difference x... (by xTwisteDx)
Template instantiation Issues
 
I am using library file Slist.h which has template declaration and definition.The library file is instantiated in the construtor of mypgm.c(cpp file).The comp...
[1 reply] : Your `String' class is not const-correct ptr_dead_acc_list= new SList... (by ne555)
Project near deadline please help
 
Hey guys Iam in a bit of a pickle. My deadline is near and i have taken on too hard a project atm. I have got this minesweeper program i have started its not pr...
[1 reply] : Maybe dissecting the following will help. #include <cstdlib> #includ... (by cire)
ISO C++ Ambiguous error
 
String.h has the following operator overloading function which is an user defined //declaration int operator==(char *ch) //definition int String::oper...
[7 replies] Last: vlad from moscow (3630) :thank you for looking into this..issue resolv... (by dany2704)
C++ Structure Issue
 
I'm having some issue with my program. When I select the first option (to add a song), the program crashes after the last input. I believe it's not incrementing...
[4 replies] Last: My desk at work has a Pacman stress ball that chomps on my keyboard. ... (by MrHutch)
Program comments and explanation..-.-
 
Hello all! So.. My teacher gave the class a program about GCD and LCM and he wants us to write a comment on EVERY DAMN LINE(explanation what the line does). So ...
[6 replies] Last: [quote=LB]Still though, <> should be used. Agreed. Hello, unconvent... (by MrHutch)
by kwnan
how to calculate processing time in milliseconds
 
I want to calculate processing time in milliseconds as most of function I found give me in second. I am new user to C++, the code will be running under linux. ...
[5 replies] Last: Thanks a lots,,, (by kwnan)
February 2013 Pages: 1... 3031323334... 43
  Archived months: [jan2013] [mar2013]

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