General C++ Programming - May 2010 (Page 17)

Plotting from a C++ program?
 
Hi, I'm writing this program that does some histogram calculation. The way it is set up right now is to output into a file which is then read by matlab or g...
[2 replies] Last: You can use OpenCV library, wh¡ch also contains special functions to ... (by CarlosB)
OpenCV .....
 
Hello, I am using the computer vision libraries in OpenCV - if anybody is familiar with these then maybe you can help ;) I am trying to estimate the funda...
[1 reply] : Hello, you can try whit this code: int point_count = 20; CvMat* ... (by CarlosB)
operators
 
hi, I understand basic programming (understand classes, functions, etc.) something i don't get however is operators i know you can't create new ones but can't...
[4 replies] Last: dude, thanks! i realized what i did wrong, thanks anyway! (by sargon94)
How to convert string with double high/wide characters to normal string [VC++6]
 
My application typically recieves a string in the following format: " Item $5.69 " Some contants I always expect: - the LENGHT always 20 charac...
[9 replies] Last: Ya - inserting spaces what the sad option I was considering before pos... (by Shaitan00)
delete a non-new-initialized pointer that yet points to a new-initialized one
 
Hello all ! I'm new here and glad to share this place with all of you =) I have a question about new/delete : Suppose I create two pointers of the sam...
[2 replies] Last: Thank you very much ! (by Guillou84)
by Kuci
C2761 error
 
Hi everybody When i add new function to my project, i allways have this message: error C2761: 'void CustomFiberThread::GetWeaponTypeModel(Scripting::eWeapon)...
[3 replies] Last: Line 106 - Why is that there? That is a declaration. You (should) ... (by guestgulkan)
"type* ptr" or "type *ptr"
 
Yes, it's indeed irrelevant for compilers I know about if I choose type* ptr; // or type *ptr; type& ref = refv; //or type &ref = refv; But still ...
[10 replies] Last: It depends. For example, is a C-string a "char pointer" or a "pointer ... (by chrisname)
How to catch EXC_BAD_ACCESS?
 
I made a game(the code is huge, i can't post it) where there is an array of all pixels on the screen and I have some moving objects. Sometimes, some drawing hap...
[2 replies] Last: I am using SDL graphics library. (by kikolani)
string::append related question
 
Hi, #include <iostream> using namespace std; int main() { string a("aeiou"); string b; char c; c = a.at(2); b +=c; //b.append(c ......); cout...
[1 reply] : ahh ... i get it... #include <iostream> using namespace std; int... (by graciano)
ANSI C++ for portability
 
Hi, My questions about understanding what sould i do for c++ source code portability. - How can i isolate my sorce code from OS depended libraries and GUI...
[3 replies] Last: Yes, you can use gcc as cross compiler (by Bazzy)
Inheritance doubt
 
Hi there, I need to build a class that the user should be able to use as a Gtk::Widget (basically to put it inside of a window). Let's say that for building ...
[4 replies] Last: Well, Gtk::VBox is a vertical box which acts as a container for widget... (by denis90)
Write code about object-oriented programming
 
write programs using object-oriented programming (code) Application of vector and string classes in STL library for building statistical program text: a, O...
[9 replies] Last: Ok, seriously now, it would be good if you also posted the contents of... (by m4ster r0shi)
copy constructors
 
I've got an example code with copy constructors and would like to know if it can possibly output in some other way (on other compiler/platform): #include <i...
[1 reply] : The copy constructor will be called every time a copy is made. So a... (by Galik)
by imKEN
language translation using pointers
 
My C programming teacher gave us one last bring home assignment, but really don't have any idea on what she's giving us, can someone help me on this?: Using ...
[5 replies] Last: could you make the codes for me? I really don't have idea on C++. plea... (by imKEN)
Structures With Multiple Files
 
I am trying to figure out how to declare an object of a struct, as well as assign values to its members. The issue is that I can't manipulate or use that struc...
[6 replies] Last: So should I use pointers to the variables in the main source file if s... (by bluehailex)
folder lock theory...
 
ok so summer break is here and i have at least 3 months to spare. so i want to learn how to make an open source folder lock program in DEV C++. right now i am w...
[13 replies] Last: ok hahaha ummm... so i have one last snag i think... so, i can get ... (by kyle11778)
Enumerators
 
Hey guys quick question would this be the correct way to declare 8 variables of an enumerated type in a vector? enum Colors {green=0, orange, pink, purple, ...
[3 replies] Last: You realize this is a forum right? We don't monitor it 24/7... But... (by firedraco)
by qabil
pointer
 
hy.. i confused..,in what condition we must use pointer and..if you not busy,Would u give me an exercise just simple program that must use pointer
[11 replies] Last: incidentally, you can use pointers to 'clone' variables like so: #i... (by sargon94)
function with two constants iterated!
 
I have two constants,NUMSELLER and NUMBUYER.am trying to write a for loop with NUMSELLER iterations, which on each iteration calls getNextBid() to produce 1 sel...
[3 replies] Last: I want this loop to create one bid for every iteration of the boop, un... (by gnwillix88)
do folders have extentions...
 
do folders have extensions that can referenced?
[4 replies] Last: On most file systems a directory name can be any valid file identifier... (by Duthomhas)
May 2010 Pages: 1... 1516171819... 22
  Archived months: [apr2010] [jun2010]

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