General C++ Programming - June 2012 (Page 18)

2-D Array and Pointers
 
We have a 2-D array a . we want to return it from a function. we have three ways of returning. 1...
[1 reply] : When a name of an array is used in expressions it is converted to the ... (by vlad from moscow)
by macs
about graphics.h
 
no ideas about it ....could any1 help it out....initialisations ,graphic drivers,etc
[10 replies] Last: I think you have not described the path of graphics.h header file corr... (by usersint)
Quicksort issues
 
I didn't look at the actual code, just general algorithm of variables to use from a C book, but when...
[11 replies] Last: I finally solved it myself...thanks me (by closed account 4ET0pfjN)
by Screed
Execution pausing
 
How do I pause my program before it ends it? Here is my code so you can see what I tried: #includ...
[10 replies] Last: i kind of like the idea of looping it, but i dont know, thanks everyon... (by Screed)
by Screed
Looping Program
 
How do I make my program restart from the beginning after it the user presses enter after the progra...
[4 replies] Last: oh ok (by Screed)
by S G H
FILE * Limitations
 
What are the FILE (FILE *) limitations? What's the Maximum Size allowed for Reading or Writing file...
[no replies]
Strange Problem
 
I've never run into this problem before. The routine stops in the middle of execution @ the number 1...
[4 replies] Last: The routine works perfectly after I changed long HOTPO to unsigned lon... (by ariesthechamp)
EXPECTING HELP WITH THE SEGMENTATION FAULT
 
Hi, I have been dealing with the segmentation fault of this programme for a very long time. And, I c...
[9 replies] Last: Magnitude = atof(Line.substr(0, Line.find(" ")).c_str() ); It stil... (by drogbatorres)
by J03
Removing unwanted characters
 
Hello, I've got data in a string, and I'd like to remove all spaces and newlines in the simplest ...
[1 reply] : std::remove and std:;remove_if do not remove elements from a sequence.... (by vlad from moscow)
passing a function reference outside a class
 
Hi, I'm trying to link a molecular dynamics code (LAMMPS) with an optimization library (NLopt, ht...
[7 replies] Last: Ok, thanks a lot! It works fine like this, I am now 30 algorithms ric... (by jaapkroe)
Cycling through specific class names
 
Here's an example: #include <cstdlib> #include <iostream> #include <string> using namespace...
[1 reply] : You need an array or a container class that contains a bunch of these ... (by doug4)
2D game designing books
 
Recently i've been researching some books that i can read that will help me create some cool games, ...
[6 replies] Last: That's super, cheers. I'll take a glance when I get a moment. (by MrHutch)
by iantac
Buffer Overflow
 
I'm not new to C++ programming. Just trying to review my programing skills so I tried to create a pr...
[8 replies] Last: give examples of Java I/O allowing arbitrary user-defined filtering,... (by rapidcoder)
3-D Array
 
3-D array a 0th 2-D array elements address 2 104 4 106 7 108 8 110 3 ...
[4 replies] Last: gud explain....i got it thanks a lot :) (by usersint)
by Screed
Switch Statement Accomplishment
 
I Finally learned how to use switch statements and for some reason I felt the need to post a topic a...
[10 replies] Last: The enter character is still in the input buffer after you entered a v... (by vlad from moscow)
about name lookup of friend function template
 
namespace NS { class A { public: A(){} A(int){} }; template<typename T> void foo(T); };...
[7 replies] Last: If I am not wrong it will not lead to instantiation until it will not ... (by vlad from moscow)
by iantac
integer in strcat()
 
I have a int a=10; //or let's say int=9; //and combine it to a ".txt" using strcat strcat(a,".tx...
[4 replies] Last: Okay, so I misinterpreted what you said. Then use stringstream: http... (by coder777)
Optimizing Values to Equalize Data Sets in C++
 
I have an interesting problem for you guys, it involves using C++ to optimize a few constants in a f...
[4 replies] Last: Don't think it's possible to solve analytically. The objective functio... (by Gaminic)
how to auto call button functions
 
hi, i have code as below. I will show message if i click the button. how to make it auto call so ...
[5 replies] Last: any1 can guide me ? thanks (by crazydude80)
what is the use of exceptional handing in c++
 
1. what are the exception can occur while writing a application programme in C++? 2. if we throw ex...
[3 replies] Last: thank u Cubbi and Bartoli (by techbikash)
June 2012 Pages: 1... 1617181920... 33
  Archived months: [may2012] [jul2012]

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