General C++ Programming - October 2012 (Page 33)

Making a program detect your system specs...
 
Okay, everyone should know how to check your system specs through My Computer (Properties)... How wo...
[1 reply] : There is no generic solution to this problem, so you need to specify w... (by andywestken)
Binary Trees
 
Can anyone help me to write this equation in C++?
[3 replies] Last: type the equation in http://www.wolframalpha.com (by viliml)
doubling output wrong
 
#include "stdafx.h" #include <iostream> using namespace std; int main(double pay) { int d...
[4 replies] Last: ok and thank you guys it works now. (by Reaper1)
c++ program that accept employee
 
The distance between two cities is 500 miles. Let us call these cities as CityA and CityB. Employ...
[8 replies] Last: @noranata Please refer a good c++ book before start writing code yours... (by Raman009)
execution error when input matrix .using multi-level pointers
 
thank everyone!! #include<stdio.h> #include<conio.h> #include<iostream> #include<stdlib.h> usi...
[1 reply] : Main should be like this: void int main() { Matrix a,b; a.Nhap()... (by TheIdeasMan)
by nahla
Using a function to read a single input line into the string s.... much confused.
 
The function getline(cin, s) read a single input line into the string s. Write a program that uses ...
[4 replies] Last: TheIdeasMan wrote: The problem is to read from a file, not the keybo... (by TheIdeasMan)
Random Word
 
Hello I'm in the process of trying to create a hangman game. I've got everything working great, but...
[1 reply] : You need to write srand(time(0)); just once when your program starts... (by LB)
by krs
Making a "list box"
 
I want to make something like this. http://i.imgur.com/VwXwJ.jpg It is a "list box" that has 2 sc...
[no replies]
Checking whether the input is of type int
 
This is my code. void exercise1() { int number_of_lines; // Initialising variable to store the ...
[3 replies] Last: Cubbi's answer was very clear. Thank you. (by ghantauke)
Problem with variable type extern const
 
Hello again I am back, I have a homework and we were given by the professor this main program I c...
[9 replies] Last: histrungalot, I tried your approach and I used a minimum of 24 arrays... (by mendozae)
boost regex
 
I want to read in an article from a text file,no shorter than 500 words using boost regex I want to ...
[5 replies] Last: Here's what I'd do: //std::vector<std::string> list; //std::string f... (by helios)
python to C++ HELP D:
 
*************************************************************************** Hey guys! I was wond...
[3 replies] Last: guess i have to do it manually ;( oh well ..thanks anyway guys :) (by Rajiv Banga)
Redefinitions With Include Guards Too
 
Hey agian, Im working on a sfml project and I finnally decided to stop having huge, single file prog...
[14 replies] Last: Wow, I was including the .cpp in the .h Thanks for the help (by Pickle Gunner)
little help
 
need little help. I just want to count the number of comparisons used when called with a vector of s...
[no replies]
by ilker
normal distribution
 
Hi all, I have the following code for getting a double from a normal distribution. I call the fu...
[9 replies] Last: @Cubbi: And also thank you very much. With you guys' help I solved the... (by ilker)
Conversion to const TYPE * const [] problem
 
Hi guys, I can't figure this one out, I created an array of FLAC__int32 and I can't pass it to a met...
[1 reply] : I solved, the problem is that the function expects an array of pointer... (by claudiordgz)
Help For Time in and out PRogram for payroll system
 
Hi Guys I need A code that will token this string string tin = "18:30" it will seper...
[no replies]
URGENT HELP PLEASE ^^
 
ifstream read("hello.txt"); string name; const char * c = name.c_str...
[2 replies] Last: thanks man solved (by mrghaia)
Linked Lists/Pointers/Structs error, not sure which
 
Hey guys, so my problem is actually fairly simple but I'm afraid this post may be rather lengthy ...
[5 replies] Last: OK got this all fixed, it was a rather blind mistake on my part, cause... (by SquishyChs)
by zenteo
Java 200x faster exception handling
 
I've discovered that Java has a much faster exception handling system than C++, which suprised me si...
[4 replies] Last: > I've discovered that Java has a much faster exception handling syste... (by JLBorges)
October 2012 Pages: 1... 3132333435... 50
  Archived months: [sep2012] [nov2012]

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