General C++ Programming - March 2013 (Page 3)

by serjo
vector assignment question
I am trying to assign a list of values to a vector: vector<string> words; words = {"one", "two"...
[5 replies] Last: I need to assign the values after the declaration. words = {"one", ... (by Catfish3)
Vector whose elements have function pointer type.
I totally do not understand this exercise. "Write a declaration for a function that takes two int...
[9 replies] Last: Of course not, why would I deny more knowledge? =). Thanks for that, w... (by Olysold)
by high
(salt)Cryptographically Secure Pseudo-Random Number Generator CSPRNG
Actually I'm searching for c++/c program or software for adding (salt)Cryptographically Secure Pseud...
[1 reply] : Try this: (by rapidcoder)
To find disjoint paths in a network graph
I want to find maximum disjoint paths of a network graph and want to save all those nodes/edges.I n...
[no replies]
by vindy
Help Implementing Newton-Raphson Division
I've been working on functions which can perform arithmetic on arbitrarily large unsigned integers f...
[no replies]
please guys need help in c++ , ...
[no replies]
Calling Base Class Constructors From Derived Class
Hey Guys, I'm having some difficulties in understanding the topic which I stated above.Can anyone...
[5 replies] Last: There are two ways. Either you explicitly call a base constructor in m... (by vlad from moscow)
File is not reading properly
I have a file which I am unable to read properly. This is binary file so my code is" #includ...
[2 replies] Last: > I am missing few content from the beginning ┬┐scroll? $ ./a.out | m... (by ne555)
Selection of interesting point from long list efficiently
Hi, I have some codes which are not efficient enough in helping me to get the answer faster but I ha...
[3 replies] Last: See: And google for comple... (by tcs)
Does prototype of friend function has no value?$2 Prototype is commented.
[2 replies] Last: Friend declaration introduces an unqualified name into the scope where... (by vlad from moscow)
by tomz6
Most efficient way to read a bit from a byte?
What is the most efficient way to read a bit at a particular position in a byte?
[3 replies] Last: Here's another option: bool getBit(unsigned char byte, int position)... (by Stewbond)
translate this command.
Hello, I need a small help with a funciton that i didn't understand in an exercice it says: if (a...
[4 replies] Last: Thank you all for your answer :) problem solved :) exactly buffbill,an... (by universityqd98)
Problems when trying to change values in an array
im trying to change the values of my array which is filled first by a constructor now i need to chan...
[no replies]
TO ALL THE NETIZENS AND CODERS, Could some one please give me advice/link on a good turbo c++ ...
[3 replies] Last: Thanks for the advice guys. It really worked cod::block is awsome (by cyberdude)
help with program
I have been working on this for some time. and there is something wrong with the the get_text functi...
[1 reply] : You need to initialise length before you use it as an index for the te... (by vin)
Constructive criticism for quadratic formula calculator needed.
Hello. Please give me constructive criticism about my quadratic formula calculator. I would apprec...
[12 replies] Last: Ok, firstly: "But the user doesn't know if two roots are the same. H... (by Gerrit1)
by tomz6
Alternative to MD5 hash?
Are there any other good/reliable hashs which are smaller than MD5 and faster? (for purposes of che...
[1 reply] : (by MiiNiPaa)
enum random problem
#include<iostream> #include<ctime> #include<cstdlib> using namespace std; void help(); clas...
[1 reply] : Call srand() once at the beginning of your program instead of every ti... (by Zhuge)
strange float array issue .....
can any one tell me why my array cpts always contains 0.0,0.0,0.0,0.0,1.0 instead of 0.0,0.25,0.5,0....
[9 replies] Last: Why are you using TurboC++? It would be easier to learn C++ with a mo... (by vin)
by tomz6
How to make a (compiled) code that other programmers can use (cross-platform)?
(C++ question) I need to be able make a compiled code (like a .dll?) which other programmers can use...
[1 reply] : There is really no way to do it cross-platform, but you can create .dl... (by J4ke)
March 2013 Pages: 12345... 51
  Archived months: [feb2013] [apr2013]

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