General C++ Programming - May 2016 (Page 4)

Writing out numbers in spelled out format
 
I have to write a program that takes a number from 0 to 4 in spelled out format and converts it into...
[9 replies] Last: I did it like how Bingocat4 suggested (for the "Three" or "THREE" case... (by DragonOsman)
Determining no. coins from counting each type of coin
 
As the name says, I have to write a program that tells you how many coins there are by taking the nu...
[no replies]
by lin123
pointers
 
Assume you have the following layout of the memory. What is the output? Write your answer within the...
[5 replies] Last: Could be? Do you know what post-incrementing a pointer does? Take a lo... (by Zhuge)
Declare and Use an Array on One Line
 
So I'm lazy and want to try and make and use a small lookup array on one line. I've tried this: int...
[4 replies] Last: That's exactly what I was looking for, thanks! (by ModShop)
Help understanding classes
 
i need some help understanding how to use different classes togther. Assume that the class "Employee...
[no replies]
Calculator for Stroustrup's Book - Chapter 3 Exercise
 
I wrote this calculator code and it's working fine, but I wanted to ask if I'm doing the error-handl...
[no replies]
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)
programming
 
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)
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)
May 2016 Pages: 123456... 17
  Archived months: [apr2016] [jun2016]

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