General C++ Programming - May 2010

by declan
Using SFML with C++
 
Hi everyone. I want to use SFML to make some very simple graphics (nothing remotely interactive, jus...
[1 reply] : You can of course use the library without an IDE. To tell g++ to sear... (by Athar)
dynamic array problem
 
Here I have created a class called text. Later in the new_text function I have declared a dynamic a...
[2 replies] Last: Oh my lord... thank you! Why do I always get tripped up on somethin... (by luvssdl)
Writing to a file
 
Hello, ive been writing c and c++ for many years now, though it seems that im no expert in this fiel...
[8 replies] Last: y am using Dev-C++ for some time and y never had any problem with it.... (by Mihay07)
by Kyrt
char* to UTF-8 (translating java to c++)
 
Hi, I am having trouble translating the following java code to c++: String readString(int ...
[1 reply] : http://www.cplusplus.com/forum/general/7142/#msg33079 EDIT: Alterna... (by helios)
by Ensei
Input from file (loop?)
 
I'm trying to input information from a file in the format example: EG Owner Name1 Adress1 ...
[7 replies] Last: I didn't know it skiped white space... It's at 100% now. Thanls ... (by Ensei)
by mugga
Reading a particular set of lines from a .txt file
 
Hi, I have a .txt file which contains the x, y and z co-ordinates of particles which I am trying to...
[4 replies] Last: Hey, That really helped a lot. Thanks a ton! :) (by mugga)
by mrkcc
creation spreadsheet c++
 
hello can give me an idea of how to create a spreadsheet in c + +, I have no idea how it was though...
[2 replies] Last: It depends what you mean by "spreadsheet". If you mean a file that can... (by Galik)
Unable to store value of hex encryption output
 
unsigned char S ; unsigned int i, j; void swap(unsigned char *s, unsigned int i, unsigned i...
[9 replies] Last: sprintf(); http://www.cplusplus.com/reference/clibrary/cstdio/sprintf... (by Galik)
3-dimensional dynamically allocated array
 
I am trying to make a 3-dimensional array dynamically but I got errors. This is my code. void...
[12 replies] Last: @GreyWolf Do I need to deallocate the code you posted using vector? o... (by olredixsis)
2D ARRAYS
 
Hello everyone I want to sum up rows in a 2D and put the sum at the end of the rows and also do the...
[4 replies] Last: yeah thanks Galik that was the error... I actually thought of that bef... (by shani09)
by W A
Filling login-forms
 
Hi! I've got one thing that's annoying me a lot. Login-forms that contains the tag: autocomplete="o...
[4 replies] Last: You could do it with privoxy. http://www.privoxy.org/ Its a prox... (by Galik)
by eraeya
checking file (ofstream) for read-only
 
I've written a save function that writes data into an .xml file via ofstream. I would like to check ...
[4 replies] Last: No it's probably not foolproof (few things are, right?). But in this a... (by eraeya)
XML Programming
 
Hello ! Had anyone done this yet ? How can I manipulate xml files for example , get input send ou...
[2 replies] Last: Aside from a good XML library, it might be useful to have a look at fs... (by eraeya)
what is wrong with my code
 
console application in c++ have error with that code it says illigle else without matching if pleas...
[2 replies] Last: Use code tags and post the exact error message you're getting the next... (by Athar)
How to use an object in more than one header
 
now i have a game project, i need to modify the values stored in an array in more than one header, a...
[4 replies] Last: I suggest polymorphism. (by blackcoder41)
C++ Fractions Program
 
I have a program I need to make, it must add, subtract, and multiply fractions. I get the following ...
[4 replies] Last: I am using Visual studio 2008 .When i make some of the correction in t... (by bluecoder)
Solve this problem
 
Hi All Can someone find a good (least time / space complexity) solution for this problem: Give...
[4 replies] Last: Why don't you give us more clues about your problem? What is a player'... (by m4ster r0shi)
Need H3lp with a School Programming Project
 
Can anyone help me out? I just can't seem to get this started, any help even some examples would be ...
[2 replies] Last: If you make an attempt, post your code and we will do our best to show... (by Galik)
Leap Year program
 
Ok this is what I have to do. Write a program to find if a year is a leap year. The user will input...
[7 replies] Last: [quote= filipe] If I may, whenever you need a function to return a bo... (by crazzyguy101)
Export Interface in device drivers
 
I am new to device drivers and would like to know what are export interfaces in drivers? Tried to lo...
[1 reply] : Strange, your topic is already on google: http://www.google.com/#hl=en... (by closed account S6k9GNh0)
May 2010 Pages: 123... 22
  Archived months: [apr2010] [jun2010]

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