General C++ Programming - June 2011 (Page 2)

How create GUI program from the c -shaped
 
hy guys, I want to ask about how me so I can make a GUI program from the C -shaped, with a window of Windows, I 've learned about c from books and from websites...
[3 replies] Last: You could do, but it would be easier to use one of the many toolkits a... (by Moschops)
facing hover problem
 
Hi , I'm facing hovering problem when i trying to program a touchpad. but have no idea to eliminate it . does anyone have idea how to eliminate by adding any C+...
[no replies]
by cal651
Refer Vector::strings
 
I am in need of some assistance working with STD:Vector of strings I have a script that has 4 main parts, Read in passed csv file, Store csv in array, it...
[2 replies] Last: I tried to iterate through and setting variables when J was = 6,7 & 8... (by coder777)
template class for some types: member function already defined or declared
 
I am having an interesting problem in C++ that goes back to declarations of functions in templated classes that become identical for certain choices of template...
[8 replies] Last: However, aquazes solution is what I was looking for! Thank you all. E... (by aaichert)
understanding templets
 
I have been programming for about 3 years now (C++), and i have been well able to make programs that solve my problems without ever using a template. I am goin...
[6 replies] Last: Making every function a template function is not good solution, becaus... (by HenriK)
understanding templets
 
I have been programming for about 3 years now, and i have been well able to make programs that solve my problems without ever using a template. I am going to s...
[2 replies] Last: Sorry tried to erase the first one couldnt figure it out yet.. (by codenamejupiterx)
two base classes
 
Hi, Say I have a base classe that inherits from another base class, then I derive another class from them. What is the proper way. For example: class Ba...
[2 replies] Last: I wanted to reuse the code already done in MyTextClass without it bein... (by dfatcppf)
by rpar
undefined reference to mysql error!!!!
 
hello. everyone. my problem is pretty much well known but just trying to resolve it with below link http://www.openwebspider.org/documentation/how-to-lin...
[no replies]
overloading operator<< in a template class
 
If I define the << overload within the class definition like so: #pragma once #include<iostream> using std::ostream; template<class T> class singleList { pri...
[3 replies] Last: Thank you m4ster r0shi. That works great! @ne555 Thanks for the link.... (by closed account D80DSL3A)
Row Operations
 
This code is a functioning for most matrix inversions, but it does not work if a =0. What I think I need to do is create an else statement that reads through a...
[8 replies] Last: Yes, my original code did it that way too. Since I'm using an MCU tho... (by applestreudels)
Any small project?
 
hello! i am a c++ beginner, and i have learn the fundamentals of c++ by reading c++primer. I am looking forward to turn what i have learned into practice. Is th...
[no replies]
by LB
Since when do template get multiply defined errors?
 
I've made some templated functions for converting stuff to/from strings using stringstreams in a header file that is included in several cpp files, and my linke...
[4 replies] Last: Thanks, though I ended up making them static member functions of a tem... (by LB)
by GPP
Int variable problem
 
int subimage = 0; int maxbimage = 7; void Player::logic() { subimage+=1; if (subimage >= maxbimage) { subimage = 0; ...
[1 reply] : Post a little bit more than that; the code shown shouldn't even increa... (by Zhuge)
Any crackshot programmers out there?
 
Hey yall. Trying to teach myself C++ using the book "Programming and Problem Solving With C++" (5th ed.) by: Nell Dale and Chip Weems... and it's no cake walk. ...
[10 replies] Last: Its kind of funny.. but OP would be scared to ask anything in future a... (by writetonsharma)
Memory leak using std::string
 
Hello, I've already spent two hours to locate my memory leak and now I really don't see how I could fix it. I'm making a code parser and in this part of th...
[13 replies] Last: Boost.Spirit gets good critique. Also, something new that's come out i... (by closed account S6k9GNh0)
file io question
 
I'm trying to write an application where I ask the user for the text that goes inside their file and then what the file should be called. here so far is the cod...
[2 replies] Last: wchar_t will not work with scanf or fstream::open use char. (by Disch)
by pdcv
Telnet Sessions
 
Hi all,
[1 reply] : when you say new are you saying you cant even code in c++ (by bobbyfisher1)
by snakec
c++ with java
 
Hi can any one tell me how to use java code using c++ means i just wrote a function code : void Display() { cout<< "hi how are you"; } but when i ru...
[no replies]
by xrismf
program slower with .so lib
 
Hello, my 1st post =) I was wondering if someone here can explain to me why a program that I wrote runs significantly slower when I link parts of the code...
[4 replies] Last: .so is not static btw, it is shared. I confuse this all the time (b... (by xrismf)
by anitbp
ReadFile Crash in C++
 
Hello, I have a very weird problem. I have been using ReadFile() for reading data from a device connected to the PC over USB. As the data to be read is recei...
[1 reply] : Possibly. It could be that ReadFile attempts to write nuls into the ex... (by firedraco)
June 2011 Pages: 1234... 28
  Archived months: [may2011] [jul2011]

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