General C++ Programming - November 2009 (Page 15)

Working with 2D arrays
 
I am working on a project using 2D arrays to display a class's individual grades, averages, and a cl...
[3 replies] Last: UPDATE: #include <iostream> #include <iomanip> #include <cmath> ... (by mattzorx)
Quadratic Equation Program
 
I have my program below (it runs and compiles as is) , but having difficulty implement these conditi...
[4 replies] Last: 1.) Check that condition and then do whatever based on it 2.) Same as... (by firedraco)
Getting confused about buffer redirection
 
I have this code that looks like this: void open_new_log(ofstream &logfile) { char buffer; ...
[1 reply] : A single char is not a buffer. You probably want something like cha... (by Duthomhas)
displaying content and adding data problem
 
hi every one,im new here, and trying to finish off my program, it a soccer league table, runs perfe...
[no replies]
Are there any issues with using namespace std ?
 
Hi everyone I always use this in my programming, my friend said I shouldn't as it could cause iss...
[5 replies] Last: even if you put the using declaration in a cpp file name conflicts can... (by kempofighter)
by vRltwE
Troubles using vector of stuct...
 
Hi, I am trying to set the property of an object. The property is a std::vector of type struct......
[5 replies] Last: Is there another thing I can post for help? Yes, a more complete ex... (by kempofighter)
Handling information in an injected DLL
 
I'm part of a development team that has created a DLL to interact with the client of an online game,...
[2 replies] Last: Is there anyway to return iCmd and let the parsing happen separately f... (by Jo3Bingham)
by tomza
setprecision call
 
Dear all, if someone can find the time i would very much appreciate help on understanding th...
[2 replies] Last: Did you read this yet? http://cplusplus.com/reference/iostream/manipu... (by kempofighter)
by JRevor
Confused about stl's set
 
http://www.cplusplus.com/reference/stl/set/ Reading in the reference. Compare: Comparison clas...
[7 replies] Last: how in the world is set going to know when two elements are equal, on... (by kempofighter)
Problem generate ID from txt file
 
I would like to get the staff id information from staff.txt file and generate the new id, but the co...
[1 reply] : There's too much faffing about with files when all you want to do is c... (by kbw)
Word Jumble
 
I'm trying to create a Word Jumble program where the user can choose a difficulty. My code is as fol...
[4 replies] Last: I was told on another forum that I really screwed up the content of th... (by Tanthialas)
Prompting a user for a valid input file
 
Hello, I'm trying to write some code that prompts the user for an input file, checks to see if th...
[9 replies] Last: Because if an error occurs on input the stream will be set to an error... (by Duthomhas)
Reading/Editing Memory of Other Programs
 
Is there a way to read and/or modify the memory that is allocated to other programs?
[13 replies] Last: @Null Here again, it depends on the operating system. There is no s... (by closed account ivMjLyTq)
by SiNT4X
Coloured output over TCP
 
First post, hopefully not my last :) So, I know I'm young, but I do know about the OLD BBS softwa...
[3 replies] Last: As firedraco says, you just send the sequences and the receiving termi... (by Zhuge)
yet another prime number problem!!!
 
Hi! I am new to this website and Ive seen many prime number questions asked but none about my speci...
[7 replies] Last: thanks for that chrisname this is what i ended up doing for my functio... (by butterflyze)
funtion swap
 
somebory can tell me how to swap two colum of the two dimentional array that with pointer
[10 replies] Last: any clue guys? (by olove05)
how to implement a class hierarchy??
 
Hy there.. i need to implement a class hierarchy to configure the structure of a building.. a buil...
[3 replies] Last: Classes containing other classes, exactly what Bazzy said (by firedraco)
Finding an int key less than or equal to
 
For a map of int, is it possible to use an STL algorithm to find a key that is less than or equal to...
[4 replies] Last: Thanks for the replies. (by DerekBaker)
zero padded string from int
 
Hi all, Trying to add zeros (eg: "000000") to the left of an integer (converted to string). I ...
[3 replies] Last: Thanks very much!! This worked perfectly. I guess I am going to hav... (by Roper724)
i/o stream + substr
 
Hi, I want to read a text file that looks something like this 54112F 540C0000 540D00 540C0000 ...
[1 reply] : You would use std::getline() to get one line from the file into a stri... (by firedraco)
November 2009 Pages: 1... 13141516
  Archived months: [oct2009] [dec2009]

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