General C++ Programming (Page 2)

getting a newbie off on the right foot ..
Good day .. new to C++ .. wondering if one could offer some insight/suggestions how I might achieve ...
[2 replies] Last: You can pass a function pointer to a function, as long as you know the... (by Shadowwolf)
how use resource files? (1,2)
i undertsand that the MAINICON it's for exe icon: #ifndef _resource_rc #define _resource_rc M...
[22 replies] Last: ok.. i fix it... but i need ask something: what is the diference betwe... (by Cambalinho)
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)
Decimal to Fraction Calculator
Hey guys, So I'm trying to write program that converts decimals to fractions but it is not worki...
[1 reply] : "/100" is a text. if you want to divide numbers use : y / 100 your i... (by Necip)
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)
Pages: 1234... 38
  Archived months: [mar2016]

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