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

Don't close the program?
 
What code would I add to a program to make it so that the X in the top-right corner does not work, a...
[15 replies] Last: Also may i ask what does your program do cos i can't think of any oth... (by mcleano)
C++ GUI and graphics programming
 
Hi, please help me to form an understanding of C++ GUI and graphics programming. Is it true that C+...
[4 replies] Last: GTK is more C than C++ I believe GTK+ is for C and GTKmm for C++ QT... (by Bazzy)
by kako
OCV
 
I search after ocv toturials
[1 reply] : You shouldn't have any trouble finding that info if you're searching. ... (by cnoeval)
by mantu
how to get end of the line
 
hi... i hav a ASCII file in which, at the beginning there is a header lins. and then there r num...
[6 replies] Last: have a look at boost::regex have you some example data? (by bigearsbilly)
by ttx336
can't understand Bloodshed Dev C++ debugger
 
I am using Bloodshed Dev C++ 4.9.9.2 but I am having a tough time understanding how to use their deb...
[3 replies] Last: I downloaded wxDev C++ and I am checking it out now... the debugger wo... (by ttx336)
When is a declaration a reference?
 
My boss reviewed some code I wrote that used a list of structs: typedef struct {...} MY_STRUCT_T;...
[9 replies] Last: Rule #1, don't argue with the boss. Rule #2, if you do have to argue ... (by Galik)
syntax error : identifier 'cout'
 
I have the following code: #include<iostream> using namespace std; class Animal { public...
[6 replies] Last: That's OK, its a subtle difference in shape :-} (by Moooce)
Why atof(1.8) returns 1.79999
 
char str ; double retVal = atof(str); str value is "1.80 ; some_text". Why atof returns 1.79...
[2 replies] Last: Obligatory link: http://docs.sun.com/source/806-3568/ncg_goldberg.h... (by jsmith)
Squarewave signal with different sample lengths
 
I have to write a C++ program to generate a square wave with amplitude from +1 to -1 and with follow...
[19 replies] Last: thnx galik. i opened the file before the loop and entered them each ti... (by mathew086)
by jkigen
any
 
any yet
[2 replies] Last: Yes, as a matter of fact. Thanks for asking. (by helios)
Binary Tree Printing (Heap Sort)
 
I am having a ton of trouble using a heap sort to print from a binary tree. Can anyone help me? T...
[1 reply] : Heap sort is: 1) To make a heap from a set of elements. You do this i... (by melkiy)
Asking about static variable construction.
 
I want to find a way to add some codes to execute before main when any executable program link m...
[1 reply] : To have a portable solution, add a function called yourlibrary_init ... (by Bazzy)
Problem
 
There is an array A of N numbers. You have to compose an array Output such that Output will be eq...
[4 replies] Last: Yes Mr Frunze1983, You are absolutely right. I will try to give mor... (by harsh4u89)
by Jesuss
exception handling
 
I will be very grateful for any help. Write a program to enter your first name using an array of ...
[3 replies] Last: hello Jesuss you should not ask people to write code for you, you ... (by vivmen)
filestream
 
I tried to open a file in input,output and binary. However it gives me trouble.Look at the test code...
[2 replies] Last: Where do I begin? 1. Don't create a stream, then open/close it. So... (by kbw)
by NGen
End Process
 
What happens to resources in video memory when you end the process of a Direct3D or OpenGL applicati...
[7 replies] Last: [quote=NGen]I noticed that using Alt+F4... I think Alt+F4 just sends... (by m4ster r0shi)
throwing exceptions on success
 
I'm wondering if there is a way to throw and exception inside the constructor for an object while st...
[2 replies] Last: [quote=ischuldt]I'm wondering if there is a way to throw and exception... (by PanGalactic)
Malloc ; memset ; new
 
hi guys, what essentially is the difference between Malloc, Memset and new.. is it tru...
[17 replies] Last: But that doesn't overwrite the pointer. memset(&memSetGreeter,0,sizeo... (by helios)
by sgl
Function pointer list.
 
Is it possible to create an array or list of function pointers so that not all of them accept the sa...
[7 replies] Last: Which is exactly what I did... I made the derived class a template so ... (by m4ster r0shi)
How to create a simple list?
 
Hello I very much ask to help me with the decision of one problem. There is a sample of a code. ...
[4 replies] Last: void isfull(const Item & it) { if(top == MAX) cout<<"Lis... (by Kangaroux)
July 2010 Pages: 1... 910111213... 20
  Archived months: [jun2010] [aug2010]

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