• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
Removing from a vector of sets
Hello, I have a vector of sets in which I wish to remove a set from the vector, if it contains a cer...
[10 replies] Last: > It will however only delete one instance of propagator, > is there ... (by JLBorges)
Visual Studio
Dear c++ community, Is it possible to store multiple project files in one projects solution explo...
[no replies]
by Subo93
Read from a file
I have saved 1 subo 34 54 65 2 suvi 43 90 54 3 nana 45 87 98 4 Anshu 77 88 55 5 SUBA 90 23 ...
[2 replies] Last: Thanks..! (by Subo93)
random numbers
Hello is it possible to get such numbers as 0.125 , 0.25844 , 0.8989 double 0 to 1 but not 0.00001...
[2 replies] Last: Maybe you are right , i have to rest , enough for coding.The much you ... (by vFreeman)
Cant delete object
int NextPixel(int antIndex, int currentPixel , Ant *ant , IplImage *edgeImg) { int left = cur...
[3 replies] Last: Ty for your helping appreciated... (by vFreeman)
plss help
typedef struct ProbWays { double *probs ; int length ; }ProbWays; int main() { ProbWays...
[1 reply] : Line 8 doesn't even compile: you have to specify the size of the array... (by Fransje)
by kox
boost copy_file() undefined reference
Hello. I'm struggling to use liboost in order to copy files. In reference there is: void copy_file(...
[2 replies] Last: Thank you it works. (by kox)
Using malloc/free multiple times leaves less memory?
My application calls malloc in multiple subroutines, finally releasing all using free. This is done ...
[3 replies] Last: The memory is just allocated using malloc and freed (only with valid p... (by superfury)
PNG file loading
How to load png files and extract their rgb pixels? Library recomendations? And some tips...
[2 replies] Last: And before you start writing a wrapper: libpng++ http://www.nongnu.or... (by Lowest0ne)
string 2d array
i have a function that contain a 2d string array & i need to return the whole array to the main func...
[4 replies] Last: It isn't just problematic -- you cannot return an array from any funct... (by Duoas)
Problems using the PDcurses library VS2013
Recently, I have discovered PDcurses. However, my attempts to use it in Visual Studio 2013 have fail...
[2 replies] Last: Actually, it was previously built. I found the error, a very simple on... (by mr yogurt)
i need help with C++ program
hi im using visual basic 2010 and i made my own program and i would like to know how to make the pro...
[4 replies] Last: because vb is C++ no its not. not at all... (by Little Bobby Tables)
by Alby94
Syscall - sys/syscall.h
Where can i find this library? The compiler reports me: "Not such file or directory"... I want to ca...
[2 replies] Last: #if __linux #include <sys/syscall.h> #elif defined(_WIN32) || defined(... (by vFreeman)
Cross Platform Way To Execute A Program
System(); is bad, I get that. Is there another way, that works across platforms I can use to execut...
[2 replies] Last: look at execvp and such functions here http://publib.boulder.ibm.com/i... (by codewalker)
Database programming in C++
can i develop commercial database applications in C or C++, like foxpro, oracle etc.
[2 replies] Last: If you want to code a database system the answer is yes, but its a tal... (by codewalker)
Segmentation fault, core dumped error using Vector in CPP
I am getting error : segmentation fault (core dumped) for the below piece of code.. Can anyone ...
[3 replies] Last: Also note that I have corrected signature for "main" int main() ... (by cire)
Help prevent hackers on network game
Hi, This isn't really a c++ question but more of a network question for my online game. First of a...
[1 reply] : bump (by danielmccarthy)
How to create a simple e encryption and decryption program.
Write a program to do simple encryption and decryption. Encryption basically means to convert the ...
[1 reply] : A few things 1) Post code here using the code tag 2) your "main" sign... (by codewalker)
C++ error LNK1120 and LNK2019 unresolved externals
Hey guys, I am trying to execute method, which is in another class, from main. I got all three class...
[2 replies] Last: Thank you cire, I'll have that in mind. Appreciate your help and patie... (by marijus5012)
Pages: 123... 60
  Archived months: [feb2014]