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

Checked List Box problem
 
Hello. I have a checked list box and I want to set the checked items in it. I wanted to set the item to the top index in the box. I tried: checkedListBox...
[no replies]
Benchmarking source code
 
I want to the know tools available for profiling the C++ source code and also how to interpret its results.
[2 replies] Last: I use gcc so I guess gprof works for me, thank you. I'll read it's doc... (by th3w4nd3r3r)
by Zapeth
float rounding issue
 
So I have a function like this float roundToSignificant(float num, int n) { if(num == 0.0f) return 0.0f; float magnitude = pow(10, (float)n); int shifted ...
[5 replies] Last: Thanks for the explanation and links (by Zapeth)
Social Application
 
Hi guys, I want to make a social application for our school. It will include a forum, radio, announcements section etc. but I need some more knowledge first...
[11 replies] Last: I found that: http://developer.android.com/training/index.html (by closed account 1v5E3TCk)
Storing Preferences
 
Hello. Could someone show me a simple snippet of code that stores a preference, like what a variable equals, and then uses it. THis means that when the program ...
[2 replies] Last: O.K. Thank you. I'll look on the tutorial. (by JasperBraun)
by j2013
need help
 
int num, i; i = 0; while (i < 3) { num = i+3; for (int a = 1; a < num; a++) cout << a * num << " "; cout << endl; i++; } how come the answe...
[3 replies] Last: int num, i; i = 0; while (i < 3) { num = i+3; for (int a = 1; a < n... (by Factors)
None matching arguments.
 
So, I'm quickly testing some class for a graph data-structure, and I came across a particularly annoying bug. #include <iostream> #include <vector> #include <...
[no replies]
by nep
If you can help me with an array program ?!
 
Ok i have an array with p<50. Program should delete every array with "0" in it. For example 10 20 30 40 and put the next one to it, for example it should look l...
[4 replies] Last: i have to cout << temp ?! Can you make me a full code ? Thanks ! #... (by nep)
how to ADD reference in c++?
 
Hello I have two pieces of codes. first is written in c++ as general program while second is the API of that code written in c#. How i can add dll of c# in c++...
[no replies]
C++ HELP!!!
 
Hi, all! :) HELP, I need help.. So- my task: I have to enter 5 different words in my c++ program, then define the length and THEN output those words (fr...
[2 replies] Last: Okey.. thank You! I will try to get this work. (by winsome2)
For loops; Initialization vs Reusing
 
Here is something I have been wondering about for a while. I think I know the answer, but I want to hear from some experts. It's mainly a question of efficiency...
[5 replies] Last: > both will still run just as fast as the other? In almost all normal... (by JLBorges)
by ccalis
SOS!! help for writing hw
 
Hi I'm a new comer. I couldnt find no way out. I have an homework but i cant do it. I have to do because professor said to me " you must do it otherwise you wil...
[no replies]
Overload operator with Stack that implements linked list
 
struct Node { int entry; Node *next; Node(); //1 Node(int item, Node *link = NULL); //2 }; class Stack { public: Stack(); //...
[1 reply] : Plz help me this assignment :( Try to do it yourself first :( ... (by Catfish4)
by monir
fatal error on win32_config.h of my program
 
Hi everybody, "fatal error: win32_config.h : no such file or directory" I'm try to build and run a source code (source package) which is written in c , it...
[no replies]
recursion with normal distrobution
 
I need some help with creating a unique form of binary tree. I will eventually drop 256 balls into this to see the distribution, but its creating a pascals tria...
[2 replies] Last: The recursive creation of the tree using the friended node and tree cl... (by Nicholas Haws)
by Gamytr
Age C ++ I NEED HELP
 
I Need help, Homework Pic : http://i.imgur.com/6mmsB1F.jpg?1 Implement the flowchart ??
[5 replies] Last: cout << "Enter age of attendee \n" << age <<endl; Your cout stateme... (by Scott7975)
Can an object of a class be assigned to another of a different class?
 
I fully understand that a variable of one simple data type cannot be assigned to another of a different data type in an assignment statement, except when ty...
[5 replies] Last: > if (this != &otherList) //compiler error This is he... (by JLBorges)
Convert C to TI-83 assembly source
 
I know there are ways to convert C into different forms of assembly but is there a way to convert C into the type of assembly TI-83 calculators use? I think its...
[3 replies] Last: http://lmgtfy.com/?q=z80+C+compiler Most compilers allow you to compi... (by closed account S6k9GNh0)
Concordance Problem
 
Good afternoon, I'm currently trying to solve a concordance/word count problem. To make a long story short, I don't know where to even begin with this problem. ...
[1 reply] : This may be not the most efficient algorithm, but should be easy to wr... (by JockX)
please help
 
#include <iostream> #include <string> #include <vector> using namespace std; class Person{ public: Person(); Person(string n, string a, string p, stri...
[3 replies] Last: It has to do with multiple inheritance, where it is ambiguous if Staff... (by JockX)
November 2013 Pages: 1... 3031323334... 46
  Archived months: [oct2013] [dec2013]

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