General C++ Programming - May 2012 (Page 37)

Someone Please take a look And see If you can Help me find whats wrong
 
My code will not compile. How do i get the string to work correctly? I am used exactly what my profe...
[7 replies] Last: I don't see any reason why it wouldn't compile, but there are some pot... (by cire)
Program to plot Trajectory of an electron in a H-2 ion in c++?
 
Hi, I have to write a program to plot the trajectory of the electron in the Hydrogen (H2) ion. I hav...
[2 replies] Last: Nice one. Thank you so much for going through the trouble to do this. ... (by Alan Ing)
Member function pointers to static function pointers?
 
Hi, all! I was trying to take advantage of variadic template arguments introduced in C++11 . Here'...
[1 reply] : [quote=Henri Korpela] typedef Return (*function_t)(Args...); functi... (by closed account zb0S216C)
C++11
 
I'm on a MAC OS X Lion, and I've tried developing via Xcode, NetBeans, and Code::Blocks. They work q...
[no replies]
Returning an array
 
Hello, I am trying to implement a simple function to return an array and I'm not having much luck....
[1 reply] : You're returning a pointer to a float, so you should catch it with a p... (by Gaminic)
file reading
 
Hello ! i can read the file in C++ but don't know how to read it between two points to read the wh...
[no replies]
Pass by address
 
I'm confused for the two functions here b/c although both pass by address so implies uses a pointer ...
[4 replies] Last: Indeed, C-style arrays carry several scars of backwards compatibility ... (by Cubbi)
by Mannah
double scripting operator !!!
 
Overload the operator () to perform the double scripting operations. for example, in a 3-by-5 Matrix...
[3 replies] Last: Peter87 is absolutely right; I scanned over the code too quickly. Tha... (by Gaminic)
C++ overloadable operators
 
I'm often confused as to what I can and cannot do with C++ operators. Would anyone care to link me t...
[2 replies] Last: http://en.wikibooks.org/wiki/C++_Programming/Operators/Operator_Overlo... (by closed account 1yR4jE8b)
C++ programmer needed. £200 for small project
 
i am looking for a C++ programmer who can create something for me for my research. it would need to ...
[no replies]
by Baso
Qt developer
 
For all Qt developer, I wanna ask a questions am I able to develop apps with Qt for all devices th...
[2 replies] Last: Thank you "TheDestroyer" (by Baso)
2 dimensional dynamic array ascending order
 
Below is this code ive written for an assignment. The program simply takes in data for a variety of ...
[no replies]
Trouble in code
 
Actually I have to write a program that displays average, highest and lowest temperatures which disp...
[4 replies] Last: Some of your declarations and prototypes don't match up. Similarly, s... (by MrHutch)
Ambiguous Symbol error in C++
 
I have a method called RL in main class of my Ogre3D project. It gives me an error Error 7 err...
[4 replies] Last: I don't think the problem is in your prototype function since you expl... (by codekiddy)
Sorting
 
Can anyone suggest me how to check whether a given linked list is nearly sorted or totally random???...
[no replies]
by nick92
function proplem
 
hi i need help with this exercise max of 5 numbers using function
[6 replies] Last: @Peter87, I like it. (by MrHutch)
help please with program
 
Dont know whats wrong can i get some help? program wont run properly so far. #include <iostream...
[1 reply] : line 8 cout << string( 20, '\n' ); should be cout << "20\n"; li... (by codekiddy)
Is this a memory leak? vectors
 
std::vector<Pie> PtrPie; Pie* ptr1 = new Pie; PtrPie.push_back(ptr1); delete *(PtrPie.begin() + in...
[2 replies] Last: thanks, I've been using lists for too long, completely forgot I could ... (by Zephilinox)
Program wont sort, or print
 
So most of the components all work on this program, but the sort does not see to work and i can't fi...
[1 reply] : xxx.cpp:23:38: error: no match for ‘operator<<’ in ‘outfile << s... (by Shinigami)
by vasimr
Function Efficiency Question
 
Does anyone happen to know if there is a difference between the following two functions at run time?...
[3 replies] Last: Every mainstream C++ compilers has some level of support for dead code... (by JLBorges)
May 2012 Pages: 1... 3536373839... 41
  Archived months: [apr2012] [jun2012]

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