General C++ Programming - February 2012 (Page 32)

by Tigger
Fill array
 
At first I wanted the user to input the number of elements in the array, but I couldn't get that so ...
[3 replies] Last: you can set the return value of FillArray() with the count of number r... (by Vins3Xtreme)
help with a bug in a link list
 
So I have created this link list for a class project. It seem to take all the data ok. The problem a...
[6 replies] Last: Which error code? Since you have break points, you should be able to ... (by clanmjc)
by Win32
Switch Statment Input Check Help Please
 
Hi I'm a programming student working on this sample restaurant menu. The problem im having is when ...
[3 replies] Last: Thank you so much (Functions are litteraly the lecture for tonight) so... (by Win32)
C++ template and inheritance
 
Hi, I'm not sure how to go about this one. I have a class "Grid", which has a 2D vector of "GridTil...
[1 reply] : Looks fine, but you are aware of the following? Grid<derived> has no ... (by mik2718)
by vRltwE
Unfamiliar constructor of the class.
 
Considering the following constructor of the class DadosBarraRolagem, can I substitute this Dado...
[2 replies] Last: the increase of two lines of code You can split the first code in mo... (by Peter87)
by alhanz
SDL Image Filtering
 
Hey guys I'm trying to do an image filtering program using SDL library. The problem is, I'm able to ...
[1 reply] : I don't understand what you mean by "sharpen the image". Is filter the... (by Peter87)
Loading And Saving To Files
 
I need to know how to make my program save user input to a file and reference from it in the future....
[1 reply] : http://www.cplusplus.com/doc/tutorial/files/ (by LB)
by m4wk
Child & Parent processes with getrusage()
 
Hey guys, I am working on an assignment that requires me to use getrusage() , but I can't seem to f...
[4 replies] Last: So would I call this function when I want to print it during the cout ... (by m4wk)
how to hide txt file through cpp(file is created by program)
 
good evening friends. I am creating a file from a c++ program. i want to know that can i hide it th...
[3 replies] Last: http://msdn.microsoft.com/en-us/library/system.io.file.setattributes%2... (by clanmjc)
by LB
Map which maintains order of creation
 
I once needed an unordered map where the order of insertion was the the order of iteration, and it w...
[5 replies] Last: A generalized map implementation where one can also iterate in the ord... (by JLBorges)
'X86' conflicts with target machine type 'x64'
 
Hello, im geeting the next error: LNK1112: module machine type 'X86' conflicts with target machi...
[7 replies] Last: You'd probably get better luck in a Visual Studio forum, rather than a... (by Moschops)
Cognizance presents Insomnia : The Nocturnal Coding Life
 
Hi coders, IIT Roorkee is presenting an Algorithm Intensive Online Programming Contest – INS...
[no replies]
Image to text
 
Hello. I am going to ask you a small question. Can anybody help me making a small program to conve...
[3 replies] Last: okey, you want me to explain better. I want to actually be able to see... (by Roby Sandor)
do i need threading to do this?
 
good evening friends, i am working on files in c++. i created two program working good separately b...
[1 reply] : i got it i just need to close afile stream before using it "test.txt" ... (by rajeshgoblet)
C++ Expected Primary-Expression Error
 
This is even/odd problem. This is my code: // Lab 1 - Review #include <iostream> using namespace ...
[6 replies] Last: Never mind. I just put system("pause"); before return 0; and it's work... (by dinhxuanvu)
Efficient string sorting.
 
My goal is to remove redundant strings from a list of hundreds of millions. The solution I came up ...
[17 replies] Last: Hm yeah, the GNU implementation uses a copy-on-write mechanism for str... (by Athar)
GPS
 
how can i include a gps in c. it has a .gdb file.
[no replies]
void fr(char *f, ...)
 
hello guys . my question is : how can i work with argument in body of void fr(char *f, ...) { ...
[2 replies] Last: ahura24 , do you mean something like: #include <iostream> #include... (by closed account z05DSL3A)
Random number
 
Can anyone write a function or tell the logic of how to generate a random / pseudorandom number ( pl...
[2 replies] Last: Mersenne Twisters are commonly used. Here's one: http://www.bedaux.net... (by Moschops)
Problem : Wormholes
 
The year is 2102 and today is the day of ZCO. This year there are N contests and the starting and en...
[2 replies] Last: LOL... Its not an assignment .It is an olympiad problem. There were tw... (by rambo1177)
February 2012 Pages: 1... 3031323334... 43
  Archived months: [jan2012] [mar2012]

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