General C++ Programming - April 2009 (Page 8)

Trouble with a car loan program
 
I am new here but have been looking over things on the site for help in my class. I have this program due later tonight. I have been trying to get it done w...
[3 replies] Last: Ok thats a good start. You are told that you will need the pow() func... (by buffbill)
writing code
 
Could I get some help writing this program. It has to follow the menu. I don't have a clue to start and the tutorials I have watched just confused me more. T...
[6 replies] Last: I am not asking you to do my homework. I am asking the same question ... (by calvin1965)
Making file of a specific size
 
Hi Guys, I am trying to create a file of a specific size. This is the code I was using: include<iostream> #include<sys/types.h> #include<sys/stat.h>...
[10 replies] Last: Hi @helios, @PanGalactic, @andre ci. Thanks for clarifying so many thi... (by kevinchkin)
how to use encryptions in c++
 
can somebody tell me how to use encryptions through this program :-d i wanna make a program that encrypt or decrypt the serial number .. the program shal termi...
[2 replies] Last: Homework question. Figure it out, OP. (by helios)
inheritance issue
 
Hi, i have create a base and derived class. when the reach method is call, will it call the base menthod or derived? i am confuse over it. thanks in advance. ...
[8 replies] Last: Well, good point. I don't know. The code OP gave originally was call... (by jsmith)
Working with XOR and linked list
 
(Im doing this project in C and so using all structs in this program) Ok so I understand how XOR works and all but what is confusing me: -I have a node co...
[7 replies] Last: Duoas, Once again thank you soo much!! My professor said no one uses ... (by hartmannr76)
by Oromis
Passing by reference
 
Hello, I'm selftaught, and sometimes I have the feeling I really missed something on my way... When I want to pass an argument by reference, I would code ...
[3 replies] Last: Thanks! I have read the whole tutorial, but forgot this because I n... (by Oromis)
by Brad T
fread() not working on second loop
 
I'm having a huge problem. I have a loop, and within the loop I use fread() multiple times. However there is one call I make that only works on the first loop. ...
[1 reply] : I am not sure what exactly you mean when you "works". I don't know wha... (by kevinchkin)
by Oromis
Running program in IDE (Dev-C++)
 
Hello, I'm writing a small game to test some SDL features. When I run this program in my IDE (Dev-C++ 4.9.9.2) by clicking on 'run' there are some strange bu...
[6 replies] Last: what I actually meant is that bugs that didn't manifest in debug code... (by Oromis)
Problem with converting a char * to string
 
Hi Guys, I have a char * array which contains integer values. I want to convert this into string so as to make use of string class functions. The code is lik...
[8 replies] Last: Please post the code using appropriate tags. int main() { int ... (by kevinchkin)
A C++ Compiler
 
I want to make a program that runs without booting on windows/linux. Does a C++ compiler communicate with the Operating System to get the work done or to the c...
[2 replies] Last: Your name isn't B Gates Junior by any chance is it? If so, then I h... (by DaveMortimer)
G++
 
hey, I want to know the best G++ compiler for windows and a link to the download please. Thanks for the help!
[5 replies] Last: codeblocks is an Ide and it also comes with mingw (if you select downl... (by csiz)
GNU vs Visual C++ compiler : Different behaviour
 
All, I'm taking up C++ again after 10 years of Java :-) As an exercise (to get rid of some of the rustyness) I developed a class template (and a specializat...
[6 replies] Last: My apologies. I've taken another look at your code and withdrawn my c... (by kbw)
Series of combinations
 
HI I have a series(sorted), which i require to create combinations. I am not getting the good code for doing this. My series should generate the following combi...
[1 reply] : Sounds like a school assignment! How far have you progressed....post ... (by buffbill)
having troubles
 
#include <string> #include <iostream> using namespace std; int main () { char menuInput; char largeEntryInput,largeEntryNumber,largeNextNumber; //...
[2 replies] Last: that wont work..it should be like this: #include <string> #incl... (by writetonsharma)
Correct or not Correct??
 
I was asked this question and my answer is:'-1" Is this correct?? if not correct is it this then: '-15111723"?? What will be the contents of a after the...
[4 replies] Last: int a ; //This allocates an array of 5 integers. LOL. I wouldn't ... (by helios)
by mrs
.Hex file
 
Hi, how to create a .hex file? to store various data. Thank's
[3 replies] Last: A .wav file is an audio file. Are you sure you don't want a normal tex... (by eker676)
loop menu program
 
#include <string> #include <iostream> using namespace std; int main () { //defining char menuInput; //menu cout << "A - Find the largest ...
[1 reply] : #include <string> #include <iostream> using namespace std; i... (by closed account S6k9GNh0)
menu program
 
*/ #include <string> #include <iostream> using namespace std; int main () { //defining char menuInput; //menu cout << "A ...
[1 reply] : There isn't a lot of context to go by in your post, so I'm going to ma... (by PanGalactic)
List of exceptions thrown by STL container and iterator function calls
 
Hello, I want to know if the clear() function from vector container can throw any exceptions. Also can anyone provide a weblink or book reference which conta...
[1 reply] : std::vector::clear() will only throw if the objects in the vector thro... (by PanGalactic)
April 2009 Pages: 1... 678910... 20
  Archived months: [mar2009] [may2009]

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