UNIX/Linux Programming - August 2009 (Page 2)

Segmentation Fault in Linux
 
Hello, I am new to C++ and a little inexperienced in Linux. I coded my cpp program in Windows and it's compiling and running perfectly fine. However, when run i...
[2 replies] Last: Thanks! My program worked now. I used char name . (by qtdenise)
Template multipmap issue
 
I have a template multimap class (std::multimap<K, V>) defined and am having issues with defining iterators for the multimap type (std::multimap<K, V>::iterator...
[5 replies] Last: I actually just found that and used it and it worked. (by RDPrinty)
GTK Menus
 
i was wondering if there was a way to access and modify the titlebar menu (the one where you click the down arroe or right click on the title bar) in a gtk wind...
[no replies]
Weird case issue in #include statement
 
I am a bit new to the forum of course, but I am having a very strange problem. On linux (Ubuntu 8.04, g++ 4.2.4), I have two copies of the exact same file name...
[3 replies] Last: Unix filenames are case sensitive, you must spell the filenames correc... (by kbw)
by vijkrr
getting Stack full error
 
hi all, I've written one multithreaded application, in that i'm getting the following error. t@3 (l@3) signal ABRT (Abort) in __lwp_kill at 0xfebcaa58 0xfe...
[1 reply] : Your code has lot of memory allocation, but deletion of allocated mem... (by Biju Scaria)
void value not ignored as it ought to be
 
i am getting this error when compiling with g++ where can I find documentation on this? I've look all over google without luck.
[3 replies] Last: Not off the top of my head. I'd start here: http://gcc.gnu.org/onl... (by jsmith)
GtkEventsMotion
 
i have the following function to test a mouse motion event gboolean mouseMove(GtkWidget* widget, GdkEventMotion* event, gpointer data) { if(event) { ...
[no replies]
conversion between multi-byte and wchar_t, mbsrtowcs always fail
 
Greetings, everyone. In my program, I read an input file encoded in utf-8 and I want to convert the data into std::wstring. My working platform is 32-bit Linu...
[1 reply] : http://www.mkssoftware.com/docs/man3/mbsrtowcs.3.asp mbsrtowcs() do... (by helios)
-Wfloat-equal, template and g++-4.3.3
 
Hi, I'm using the following code: template <typename T> bool equals(T x, T y) { if (numeric_limits<T>::is_exact) { // Comparison for ...
[2 replies] Last: The right solution is to use template specialization to avoid the warn... (by jsmith)
Problem with gets()
 
I am using xCode on mac os x 10.5.4. I used gets() for a certain code but it's not working on the built-in console of xCode named gdb and it also showing an war...
[2 replies] Last: My code is given bellow: #include<stdio.h> #include<string.h> c... (by mdshaonimran)
August 2009 Pages: 12
  Archived months: [jul2009] [sep2009]

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