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

Can you suggest a bood free C++ IDE?
 
I tried Eclipse C++ plugin, and the experience seems to be very bad. Any good free C++ IDE to recommend? Thanks.
[8 replies] Last: you'll have to use system ("pause") command at the end of your code... (by codekiddy)
Redefining & Overriding (Non-virtual & Virtual)
 
I would like to know the difference between Redefining & Overriding (Non-virtual & Virtual) Consider 2 codes : double Sale::savings(const Sale& other...
[1 reply] : The difference is evident in objects allocated in stack (with new ). ... (by eypros)
template using declaration (c++0x / c++11)
 
Hello, I have a template declaration which I will later specialise for certain arguments: template<typename F, typename... Args> struct invoke; I th...
[no replies]
Prime help
 
This program works but needs to be reworked so that the main function is the one that initiates the program-rather the int getNumberFromUser and isPrime doing a...
[2 replies] Last: Is this something your teacher asked you to do? Either you or your tea... (by ceruleus)
by Disch
VS2010 exe statically linking to a lib built in VS2008
 
Hey all. I'm trying to find a way to statically link to a library. The problem is, the program I'm working on is being built with VS2010, whereas the lib wa...
[3 replies] Last: It sounds like you're doing the right thing, given the API uses string... (by andywestken)
Class Project
 
//All the c++ files in paste bin //////////////////////////////////////////// http://pastebin.com/AzKPcN3v http://pastebin.com/FrLpS0CV http://pastebin.com/f3k...
[no replies]
by jansen
Hi, I need little help here ^_^
 
//I am learning about how to use subroutine but I have problem in the result //I expect the result will be: b = 1 b = 2 b = 9 b = 16 b = 25 //but, t...
[9 replies] Last: Hey I have problem here ^_^ If I have int a = 10; int b = 2; int c = ... (by ledien)
by Tatipu
How to call a part of a structure within structure index?
 
Okay so, I wanted to see if my strncpy function worked correctly but I can't check it since the compiler is giving me an error that says: cout<<inv.items ; ...
[3 replies] Last: You can write the whole structure at once but you need to define how i... (by mik2718)
Prim's algorithm using 2d array
 
..
[1 reply] : .. (by navlelo)
by Tatipu
Can someone explain what cin.getline() does?
 
I've read the page on cin.getline(); in my book as well as the cplusplus references page. But someone recently fixed part of my program so I would be able to ...
[1 reply] : Can you give me an example. i don't understand . Here is your code ... (by ledien)
Endless loop when read and write
 
Dear all, I have a data file from radio astronomy observations. Unfortunately, all observations have been written to one file. The file looks like this ...
[2 replies] Last: Dear all, thanks for the string compare pointer. It got me on the rig... (by physicsg)
Finding the sum of integers in a file
 
Greetings! I've been working on this program for the past couple of hours now, and I cant seem to get it right. I'm supposed to write a program that reads in...
[6 replies] Last: #include <fstream> // class ofstream() is in fstream #include <iostre... (by bluecoder)
Reading from files in an if statement
 
Okay so im making a program which is like a rank system, i want it to read the password and username from an external .txt file, would it be as simple as ...
[no replies]
by Tatipu
Using Getline Problem.
 
Alright so I recently learned getline, from a tutorial and I looked it up for examples on this website and This is the example provided from the website: // ...
[4 replies] Last: Omg. Thank you so much! You're a life saver! :D . I don't know what ... (by Tatipu)
wstringstream doesn't output correct data
 
I was writing a program when I ran into a problem. I was trying to use wstringstream to get data from wstring. All went fine until few last variables didn't ge...
[2 replies] Last: I just realized the problem is actually in reading the file. int np... (by Boost113)
by seppel
Destructor Call Missing!
 
Hi All, I do not really understand what is going on below: Where is the object created in code-location HERE 1? Function stack? Is it a temporary object? It sho...
[2 replies] Last: Didn't know that the lifetime of temporaries can be extended! Thanks A... (by seppel)
problem with infinite loop
 
Hi everyone, I am basically trying to write my own version of strtok() but with c++ string objects. The problem I am having is that i keep getting an infinite l...
[4 replies] Last: Check out istringstream::str (http://www.cplusplus.com/reference/iostr... (by champost)
Combing C# and C++
 
Hey, I am working on this prject that is in C++ using MFC for GUI, but now we are trying to use WPF for the GUI which uses C#. With this in mind, I want to kno...
[no replies]
Combining C# with C++
 
Hey, I am working on this prject that is in C++ using MFC for GUI, but now we are trying to use WPF for the GUI which uses C#. With this in mind, I want to kno...
[no replies]
by rucafe
problem using boost
 
Hello. I am using the Boost library for my program. I am currently running Microsoft visual studio 2010. My program has been running fine for a couple months wi...
[no replies]
November 2011 Pages: 1... 424344454647
  Archived months: [oct2011] [dec2011]

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