General C++ Programming (Page 4)

Start console app in background?
I've used ShowWindow() with SW_HIDE to hide my console program, but a visible window briefly pops up...
[3 replies] Last: subsystem windows entry point maincrtstartup winmain , yes yes. It won... (by Ericool)
by rain
Need help compiling crypto++
Hello I am trying to compile test.cpp which is built-in test file in crypto++ library. I have made ...
[4 replies] Last: Some things about your make file not related to your problem. # If y... (by TheIdeasMan)
by plexus
Craziest construct I've ever seen
I couldn't even believe it would work. First off: lame, ordinary definitions ... void foo(int...
[2 replies] Last: Haha, good one :)) Anyone wanna pile on, calling a function in the mo... (by plexus)
by dkaip
How can get Hard Disk Serial Number or Processor ID
Hello. How can get Hard Disk Serial Number or Processor ID with c, c++ or wxWidgets? I am looking ...
[5 replies] Last: Try using the terminal version and use pipes to get the output. See t... (by doug4)
find the least value from the vector
Hi how can I find the least value from the vector vector< list< pair<int, int> > > MST(vert...
[8 replies] Last: let me try and see..thanks (by csstudent123)
I do html, CSS, JavaScript, SQL, PHP, and XML ,c++ ,pearl,and 30 others i know .There about almost a...
[2 replies] Last: @james1402 That's not a question. It's not even bragging, because most... (by plexus)
How do you obtain perfect forward secrecy
How do you obtain perfect forward secrecy if i have the followings? Right now if the attacker is abl...
[no replies]
Dynamically allocated 2D array
Hello, I am programming this in visual studio proff. 2015 and I seem to be running into a problem. ...
[15 replies] Last: AAAAHHHHHH! Thank you so much for putting up with me! It works!!! (by slavano)
Strictest Rules Possible Flags
I am using the GNU Mingw 5.3.0 g++.exe for my compiler. I am trying to make my c++ library as reliab...
[1 reply] : Off the top of my head, -std=c++14 -Wall -Wextra -pedantic , but ther... (by LB)
Error undeclared identifier in ideone
Hi all, I am getting the following error when compiling. It does not recognize the declaration in...
[2 replies] Last: It works :) Thanks a lot! (by mastersg7)
Dereferencing operator
Hello all, Whet is the difference between 1) and 2) and what will be the values of them: 1) ...
[6 replies] Last: You're welcome! (by MikeyBoy)
by norcal
Linked Lists Help
How do I modify this program to track the numbers guessed by the user using a linked list. So basica...
[1 reply] : If you must supply your own linked list type, then the first step is p... (by cire)
image based face recognition
i have write the below code for reading two images from folder and apply fisherface training algorit...
[no replies]
by asimkh
Reading from a file into arrays then printing in another file based on book format
Hi I am new to this forum so please help me out and forgive me for writing code etc incorrectly. Ba...
[no replies]
can I convert a class to int in c++?
for example: class UserInt { ..... }; and is there a way to do this: UserInt ui = 5; int ...
[2 replies] Last: thanks a lot! (by sunsflower)
Little question about ->* and .* (pointer-to-members)
Hello. Here is a simple example for my question struct Person { int age; void print(...
[1 reply] : #include <iostream> struct A { int mf( int a ) { return m += a ;... (by JLBorges)
how to implement a c++ reference count macro?
Is there any way to add something like "ADD_REFCOUNTER" to a class and then each ctor and dtor of th...
[2 replies] Last: thanks very much! it is really useful (by sunsflower)
by kubu
Passing Variable Argument to DLL
I am working on a plugin architecture where each plugin requires a different set of input arguments....
[5 replies] Last: To me, it sounds like he's talking about either inter-process communic... (by helios)
Error C2040 varied levels of inderection
Currently i'm trying to get the date using the localtime_s function but i'm getting an error. The pr...
[4 replies] Last: This should work: #include <iostream> #include <ctime> using namesp... (by Thomas1965)
Starting out with GTest and C++ Unit Tests
Hey All, I'm just beginning with Google Test. I think I understand the premise, and want to get s...
[no replies]
Pages: 123456... 39
  Archived months: [mar2016]

Cannot post in this page. To post a new message, go to the first page.