General C++ Programming - March 2008 (Page 3)

by Gregor
fstream ios_base::binary
 
Hi again #define NO_ERROR 0 #include <fstream> using namespace std; int main(int ar...
[5 replies] Last: They didn't load faster in which program? File format? ASCII text? Dep... (by Magnus)
Image Processing
 
Is there anyway that i can scan all pixels in a bitmap or any image file?
[no replies]
by maugly
Insert VS Overwrite mode
 
Hello all!! I have a little question. I use the fprintf command to input some text to a file but w...
[1 reply] : In advance, the usage of streams instead of the old C functions, that ... (by Magnus)
Password combinations
 
hiiiiz i have a question... how can i write a program that generates all possible combinations fo...
[2 replies] Last: You cannot generalize that. It depends on the underlying alphabet. If ... (by Magnus)
Calling a scheme program
 
I have a program written in scheme and I would need my c++ code to start the program and read the re...
[1 reply] : Take this as a first step: http://msdn2.microsoft.com/en-us/library/ms... (by Magnus)
by SJOO
urgent!! who can help me...
 
1. Write a program that can solve the arithmetic operations of three well-ordered arrays namely A ={...
[3 replies] Last: ya... (by SJ15264)
How to return a multidimensional array with a function?
 
Hello I would like to return a matrix with a function, can anyone help me? grtz Mike
[5 replies] Last: Actually, it's been a great day. Been out skiing in the nice weather, ... (by ropez)
multidimensional vector, how to
 
Im trying to make use of a vector container to hold my matrix. But I dont know how to configure the ...
[11 replies] Last: Thank you Sir Ropez. Indeed there are a lot of ways on how to do it... (by jdstufu)
Load Dll
 
Hi, I must load some function and an object from one Dll file ! I've not header file , there is a...
[2 replies] Last: Thank you , I've already tried , the problem is that I would to load a... (by lcolonniello)
Copy text to another txt file in binary
 
I have problems with converting text to binary. I need to convert the text in character.txt into bin...
[1 reply] : Now, by binary, do you mean ones and zeroes? despite the name, the ios... (by magicalblender)
help... Randomizing in c++?
 
hi i wrote a trivia program but i want to improve it by randomizing the questions in it. but how do ...
[1 reply] : rand() returns a random number between 0 and a number RAND_MAX, which ... (by magicalblender)
by amrcn
templates again
 
Alright, I'm working on a templates project. And man does it suck. I keep getting the error: ISO ...
[1 reply] : I assume you have some sort of class that uses a template: templat... (by Ganon11)
Loading error
 
I'm relatively new to c++. I use the DEV-c++ compiler,and for a while I've been trying to print bi...
[7 replies] Last: If you want to upgrade your code from "C style", to "C++ style" here's... (by ropez)
binary search
 
Hey guys im trying to get a binary search 2 work but i cant seem 2 get it properly this is part of m...
[1 reply] : Binary search? You're in luck, another user had that exact same proble... (by magicalblender)
how to compute binomial distribution without overflow?
 
I need to compute the value of binomial(n, k)=n!/k!(n-k)! * (1-p)^n * p^k. When n and k is very b...
[2 replies] Last: Forget about the version I posted, it doesn't work. I think your co... (by ropez)
.gch file not recognized ?!
 
Helo, using Codeblocks, when i compile my project, i get the following message: fel12.h.gch: f...
[3 replies] Last: Have you deleted the .gch file from your project folder; you should ... (by closed account z05DSL3A)
error C2011 : 'struct' type redefinition
 
Hi, I'm trying to compile someone else's code. The problem is, he used gcc to compile, but I need t...
[3 replies] Last: I don't think values.h is a standard file...but you might also want to... (by firedraco)
by Book
Why does this simple function crash?
 
Hello, I wonder if you can tell me why this simple sorting function crashes.. void Sorting (i...
[5 replies] Last: Well p is the original array to be sorted, Q is the array to hold th... (by Book)
problem with header files
 
Hi, i'm trying to learn to use header files. For this purpose, i created the following files, and...
[4 replies] Last: As I understand it, as long as "using namespace …" directives are us... (by closed account z05DSL3A)
by soyuz
DLA simulation
 
I generate a Point and make it do a random walk and stop near r< rmin. Now I generate another point ...
[2 replies] Last: thanks SteakRider! (by soyuz)
March 2008 Pages: 12345... 8
  Archived months: [feb2008] [apr2008]

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