General C++ Programming - July 2010 (Page 16)

mysql_real_escape_string() problem.
 
Well, it seems not to be working. If the user inputs a username with a ' in it, it gives me a sql er...
[no replies]
by ibtkm
problem in char* &
 
hi every body in this code void toPointer(char a ,char* &b ) { for(int i = 0;i < sizeof(a) / 4;...
[10 replies] Last: i need to add: "when passing as a function argument." (by everid)
by abbi
linklist
 
if we have a link list , we need to sort it then we will use which sorting technique ( insertion, bu...
[3 replies] Last: this smells like a test question. (by Seraphimsan)
by rollie
Templated Storage
 
Another user (NGen) recently asked a question here about how to implement a templated class such tha...
[2 replies] Last: There's no harm reinventing the wheel if you don't look at the blue pr... (by Seraphimsan)
"Undefined Symbol" when writing socket code???
 
Hi everyone, I have a "This should be simple!" kind of problem. I need to do a little s...
[3 replies] Last: Figured it out - a colleague explained to me how to properly read the ... (by phummon2)
Removing whitespace
 
For some odd reason, my function isn't removing any whitespace. Can anyone see why? string Manage:...
[4 replies] Last: Ahh, thank you, that did the trick! (by Fellixombc)
Objects holding Objects
 
Hello there, I'm steadilly progressing through some C++ Begineers textbooks, quite near to the end o...
[4 replies] Last: however this design is a bit dangerous because Dwarf cannot be guaran... (by LBHoward)
by JRevor
About the Struct syntax.
 
I'm doing an application that uses Linux signals. Searching through the internet, I came across the ...
[5 replies] Last: Thanks a lot!. Sorry if it took me some time to mark this as solved. (by JRevor)
by abbi
stack
 
ARE we able to make stack of variables having different data types??? if yes then how?
[11 replies] Last: The union approach doesn't quite work because on retrieval, the progra... (by jsmith)
Formatting output to a flat file
 
Hi, I am trying to format data in a flat file in a particular format. The following are the steps...
[4 replies] Last: Please mark this post as resolved. (by arupsarkar)
Cannot open include file: 'readline/readline.h'
 
Hi I have the following in my code. Except the stdlib.h none of them are getting resolved. Can so...
[2 replies] Last: Thanks very much in replying, that is correct, I was able to compile i... (by arupsarkar)
editing a binary file
 
greetings to all, is there any way to edit a pre existent binary file its really so urgent to me i...
[no replies]
auto_ptr inside map
 
#include <map> #include <memory> #include <string> using namespace std; template <typename T>...
[1 reply] : As iterator is a typename the compiler needs a hint: typename map<... (by Galik)
opaque
 
Dear all, Would anyone kindly explain to me what does "opaque" mean? here is the context: "Thi...
[4 replies] Last: thx Smith, (by abdallahijazi)
OpenGL Textures
 
Argh..I've been trying to get this to work for over two hours now, and I just can't see what the pro...
[no replies]
ARRAY
 
Hi guys I have a small issue in C++. I have an array arr = {1,2,3,4,5,6,7,8,9,10} I need to ha...
[3 replies] Last: There's actually a pretty graceful way to accomplish this with a direc... (by stravant)
Question about for_each function
 
Hello everybody. I am new to the forums, and pretty new to C++ so I have been trying to teach myself...
[3 replies] Last: There are other solutions with boost::lambda that make this a one-line... (by jsmith)
by abbi
pointers
 
what is the use of **ptr? why we use it?
[8 replies] Last: [quote=abbi]then what is the difference between *ptr and **ptr as *ptr... (by Galik)
Digital Sorting or C++ VS Pascal
 
Hello, everybody! Can anyone write how to realize this code in C++; int d[-100..100]={0...0}; ...
[4 replies] Last: Isn't -100..100 201 elements? (by moorecm)
2 simple questions about hash tables and binari trees.
 
Hallo.If someone can say me are theese states are correct/incorect i will be very thankful.10x A...
[6 replies] Last: 10x for the illustration.Now i can do this kind of question with ease.... (by mindvera)
July 2010 Pages: 1... 1415161718... 20
  Archived months: [jun2010] [aug2010]

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