General C++ Programming - November 2011 (Page 4)

by iPlus
Visual C++ 2008 help!
 
Can someone please give me a good link to download visual c++ 2008 because that's what I need. Thank you.
[1 reply] : Express edition I guess http://www.microsoft.com/download/en/details.a... (by DarioDigiuni)
by hma13
fibonaccis numbers
 
how would i go about Displaying Fibonacci numbers that are prime numbers up to a specific number (ex 100).?
[4 replies] Last: Random remarks on the algos involved: 1. There's a close formula for ... (by DarioDigiuni)
Monitoring and killing a process that runs too long
 
Dear all, I have a very simple question: I run a process, and want to know how long it takes in order afterwards to be able to kill it if it runs too long. ...
[1 reply] : waitpid will not return until a state change happens in the child proc... (by Peter87)
Why precompiled header needs an source file too?
 
hi, I know this question sound stupid but it's also stupid that visual studio 2010 creates an stdAfx.cpp file when selecting "precompiled header" option. he...
[3 replies] Last: thanks for clarifing this! EIDT: is it OK to put some code into stdAf... (by codekiddy)
c++
 
any one can send me link to download to new version of borland c++ software
[2 replies] Last: I've mailed it to you, Rahul. (by Gaminic)
Hi..Iwant change this program to char
 
I want to chang this program to char and the user continue to input and it is full, Display a message, "It's Full!". also Allow the user to choose an option,...
[8 replies] Last: How can i use trim function (by lo0lo0999)
Now I'am using Microsoft Visual Studio
 
Now I'am using Microsoft Visual Studio to compile this program in C++ but I have this error: 1>c:\users\user\documents\visual studio 2008\projects\c++\c++\c++...
[7 replies] Last: But where i decrement in the program I didn`t understand .. (by lo0lo0999)
by PopEye
Tips on Shortening?
 
Hello. I'm new to C++ and read several books on C++ for beginners. After indulging in some knowledge I wrote my own 'Guess the Number' game. Check it out: /...
[11 replies] Last: I use Crisco! Oh, not THAT kind of shortening ... sorry! ;) (by kooth)
Labelling arrays
 
I have a code with lots of arrays. Ideally I'd want to call these something like array1, array2, array3, etc, so that I can have loops like for i from 1 to N...
[1 reply] : If your array is too big, you should be getting a stack overflow error... (by hamsterman)
by iPlus
Programs Files
 
Can anyone tell me how to get to the program files because I'm using codeblocks for now and I need to install boost.
[no replies]
Invalid conversion
 
Why is this giving me an error? it says invalid conversion from int to int*. not sure why... :S I bolded where it says the error is, and where it is instanti...
[7 replies] Last: I think line 39 will work if he use C++11. (by Peter87)
by TV5
CAN YOU CHECK MY assignment PLZZ (1,2)
 
hello everybody ... " i am beginner" i have an assignment and i did my best but i feel there is something wrong ... here is the assignment question!! i co...
[25 replies] Last: Hmm... Try keeping the time in seconds... maybe the double type of dat... (by Caprico)
Store all data from vector into a file
 
I recently created code to show and edit data from a text file. But the problem is how to store the edited data in the existing text file. The old data has to...
[1 reply] : http://www.cplusplus.com/reference/iostream/ofstream/open/ I'd use io... (by LB)
Difficult project for C++ involving classes and modulos
 
Create a C++ console project and name the project test2. Add a class, ModuloZ, to the project. Your representation of the class must appear in two files – ...
[1 reply] : In this thread: post a homework question verbatim and don't even both... (by Disch)
simple variable typecast
 
how do you type cast int to string?
[7 replies] Last: Until c++11 is the dominant standard, it would be cool if people tagge... (by andywestken)
Massive Array list problems:(
 
Hello, I am working on Array Based Lists and cannot get rid of these errors:( been working on this for over 3 days. Any help woould be greatly apprecaited! I a...
[4 replies] Last: If you use cout you have to include <iostream>. It is also inside the ... (by Peter87)
Array to vector (1,2)
 
I was converting some arrays in my code to vectors. But I dont know how I should convert this. Could someone help me out :D? The code: Its about: " member...
[23 replies] Last: Sorry, I will try to be more clear. I declared an index-vector of i... (by MrMajestyk)
Sorting on name (with vectors)
 
Im new to vectors in c++ and i am trying to create a function to sort data from a file on name or postal code. I read something about indexing. How could i ...
[2 replies] Last: Thanks for info. Just saw it in the other thread ;) (by MrMajestyk)
Function pointers
 
Suppose I have a function A()that takes in as one of its parameters a pointer to a function B(). If I want to pass to this function A() another function, what ...
[2 replies] Last: void B(){} void (*ptr)() = B; void A(void(*f)()){} //passing B A(B)... (by codekiddy)
Multiple Output Files
 
I have this program to create science fiction planets. In it I output a file for each planet created. The problem is after all the output files are created they...
[9 replies] Last: Perfect! That was it! Thanks for all the help guys! (by James Grider)
November 2011 Pages: 123456... 47
  Archived months: [oct2011] [dec2011]

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