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

by ioabo
Calculations with array
 
heeey everyone...i got one question. ok, if you have a table with 2 columns and a number of rows... ...
[1 reply] : You could use 2 arrays e.g. int a ={2,1,1,5,2,7,4,4,8,3}; ... (by buffbill)
by treyk4
libpng read from array?
 
Hey all, I'm a bit new to C. I'm currently working on a graphics rendering library for the wii, a...
[2 replies] Last: (a) This is a C++ forum. If you think that C and C++ have something i... (by treyk4)
by enet
Need for 1 function
 
Can any one help to define ??? part in my data structure project? thanks. .... ... struct Cu...
[1 reply] : If the order in the activity list doesn't matter, then you have the ch... (by mahlerfive)
How to read filenames from a vector and open them
 
Hello, I am trying to write a program that stores all of the names of textfiles in a current direct...
[2 replies] Last: Thanks!! It worked!! You are the greatest!! I have been seeing alot of... (by tnjones)
How to search for a string in a text file using wildcards(*,?)
 
Hey, I am trying to write a program that reads a textfile and displays all valid e-mail address(tj@...
[8 replies] Last: Duoas, Thanks!! I have it working somewhat!!! (by tnjones)
by Beni
2d array and scanf() problem
 
Hi! I've two source code, the difference between the codes is the 2d array size. My question is ...
[3 replies] Last: No, that is where you are mixed up. t == *(t+i) : is not an addr... (by Duthomhas)
by Gregor
File operation problem using fstream
 
Hey, I'm writing a simple program that will mask a string of bytes - a file - with another string of...
[2 replies] Last: Update! I've noticed that writing sucseeds, if I dont use truncate ... (by Gregor)
STL list <unsigned short> and ostream
 
Hi I have a following class: /////////////////Data.h class Data { public: ... frie...
[2 replies] Last: Hi exception, It (ostream) now works. Also changing the iterator ... (by shrinath)
The keyword abstract
 
I was just wondering if it would be correct for me to use the abstract keyword which seems to be spe...
[4 replies] Last: Oh dear. Another spam post... (by markwales)
by Gonen
Question about string
 
Hello , I am doing a program now , and I got a string like that. string s="123\n~~~\n456\n~~~\...
[6 replies] Last: Hi, I am Rammohan from Bangalore and working as a Technical lea... (by FindSyntax)
3rd party C++ Library for PDF conversion
 
hi guys, Can someone suggest me any 3rd pary C++ library , which will convert text files( MSWord ...
[2 replies] Last: Hi, I am Rammohan from Bangalore and working as a Technical lea... (by FindSyntax)
may i ask whats wrong with my if statement?
 
#include <iostream.h> #include <stdlib.h> main() { char name ; double sales,com; //com is...
[6 replies] Last: Oh my god, what the hack should that be? It isn't april the 1st on my ... (by exception)
by Gonen
Very weird problem about string.
 
Hello , I wrote this code #include <iostream> #include <fstream> #include <string> usi...
[3 replies] Last: thanks a lot duoas , I understand it now... I did like that in it w... (by Gonen)
by astro
Finding memory address.
 
Greetings mortals. what i am about to ask might sound a Like its been asked before, but its not....
[no replies]
Menu
 
Which section shows how to do a menu?
[3 replies] Last: Then by reading the Basic I/O you will find how to output at the conso... (by Mitsakos)
find_if + member function
 
Hi, What I'd like to do is iterate over a list of objects, checking the return value of a member ...
[8 replies] Last: Actually, I had to compile and run the example before I posted it so I... (by jsmith)
by Nobun
Question about free() and memory deallocation
 
I'm sorry for boring you about SO MANY questions of memory allocation. Assuming I have stru...
[16 replies] Last: Helios, Jsmith... at a first-eye I'm not sure I understand all you sai... (by Nobun)
How convert string to char*
 
Hi! I can't convert string to char*. This is my code. string temp; cout<<" Enter your name: "; ...
[3 replies] Last: You also need to pay some close attention to little details. You've g... (by Duthomhas)
by Alck
need assistance in oop
 
hi all, we need some assistance in our program. please advise question: A community centre ha...
[5 replies] Last: You could assign a 6 element array for each day and enter a * for each... (by buffbill)
how to reuse a previous function
 
Im not sure how to recall the last function i did in a new one. (LINE 7) double azimuth(struct ...
[2 replies] Last: call func A() from func B() then D will be available for other purpose... (by buffbill)
August 2008 Pages: 12345... 9
  Archived months: [jul2008] [sep2008]

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